aboutsummaryrefslogtreecommitdiff
path: root/web/src/pages/index.astro
blob: b5c607d5058b2242cc30353b701d25c8f07ed4a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
import Layout from '../layouts/Layout.astro';
import { PendingQuotes } from '../components/Quotes';

const version = await fetch('http://localhost:3000/api/version').then(res => res.json());
---

<Layout>
	<div class="container">
		<h1>AleeBot {version}</h1>
		<PendingQuotes client:load />
	</div>
</Layout>

<style>
	@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');
	html,
	body {
		margin: 0;
		width: 100%;
		height: 100%;
		font-family: "Exo 2", sans-serif;
	}

	.container {
		margin: 2em;
	}

</style>