jillo-bot/views/home.handlebars

42 lines
1.5 KiB
Handlebars
Raw Normal View History

2023-11-17 21:11:50 +01:00
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>jillo</title>
<meta name="theme-color" content="light dark">
<link href="/style.css" rel="stylesheet">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap" rel="stylesheet">
2023-11-18 13:49:50 +01:00
<script src="/script.js"></script>
2023-11-17 21:11:50 +01:00
</head>
<body>
2023-11-19 22:11:55 +01:00
<div id="login" onclick="window.location = '/profile'">
{{#if signedIn}}
2023-11-20 16:20:12 +01:00
<div class="username">{{user.global_name}}</div>
2023-11-19 22:11:55 +01:00
{{else}}
<div class="username logged-out">log in</div>
2023-11-20 02:58:22 +01:00
{{/if}}
2023-11-20 16:20:12 +01:00
<img class="avatar" src="{{avatar user.id user.avatar}}" width="128" height="128">
2023-11-19 22:11:55 +01:00
</div>
2023-11-17 21:11:50 +01:00
<div id="main">
2023-11-27 17:21:22 +01:00
<img class="jillo" src="/assets/jillo.png" width="150" height="200">
2023-11-17 21:11:50 +01:00
<h1>jillo!</h1>
<div>
<a href="https://discord.com/oauth2/authorize?client_id=898850107892596776&scope=bot" target="_blank" rel="noopener">invite</a>
&middot;
<a href="https://git.oat.zone/dark-firepit/jillo-bot" target="_blank" rel="noopener">repo</a>
2023-11-27 17:21:22 +01:00
&middot;
<a href="/docs/introduction">what</a>
2023-11-17 21:11:50 +01:00
</div>
2023-11-18 13:49:50 +01:00
<div id="status">
&middot;&middot;&middot;
</div>
2023-11-17 21:11:50 +01:00
</div>
</body>
</html>