aboutsummaryrefslogtreecommitdiff
path: root/src/pages/index.astro
blob: e47d9a12b8d86328916d1551c82007e81b84e1a2 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
import Layout from '../layouts/Layout.astro';
import sites from '../components/sites.json';

// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
---

<Layout>
	<div class="container">
		<h1>bits & Bytes Minecraft</h1>
		<p>IP: mc.bnbmc.net</p>
		<i>Must be an active member of the bits & Bytes Discord to join.</i>
		<div class="flex">
			{sites.map((site) => (
				<div class="site">
					<a href={site.website}>{site.name}</a>
				</div>
			))}
		</div>
	</div>
</Layout>

<style>
	a {
		font-size: 1.2em;
		color: #22b7f1;
		text-decoration: none;
	}

	a:hover {
		color: #4198bc;
		text-decoration: none;
	}

	a:active {
		color: #3f7a91;
	}

	.container {
		padding-top: 2em;
		padding-left: 6em;
		padding-right: 6em;
	}

	.flex {
		display: flex;
		flex-direction: column;
	}
	.site {
		background-color: #394049;
		padding: 2em;
		margin-top: .5em;
		margin-bottom: .5em;
	}
</style>