aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/Default.astro
blob: b54dc356da891e5b33900bbf90bbbd085fdf40f1 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
interface Props {
	title: string;
}

const { title } = Astro.props;
import Navbar from '../components/Navbar.astro';
---

<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="description" content="Andrew Lee Website" />
		<meta name="viewport" content="width=device-width" />
		<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=Exo+2:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<meta name="generator" content={Astro.generator} />
		<title>{title}</title>
	</head>
	<body>
	<Navbar />
		<slot />
	<footer>
		<p>Copyright &copy; 2024 Andrew Lee</p>
	</footer>
	</body>
</html>
<style is:global>
	html {
		margin: 0;
		padding: 0;
		font-family: "Exo 2", system-ui, sans-serif;
		background: #1B291F;
		color: #FFFFFF;
	}

	footer {
		text-align: center;
		font-size: 2.4vh;
		padding: 1.3vh;
	}

	a {
		text-decoration: none;
		color: #d7fcc9;
	}

	a:hover {
		color: #9ECD9D;
		transition: ease-in-out 0.2s;
	}

	a:active {
		color: #609460;
	}

	code {
		font-family:
			Menlo,
			Monaco,
			Lucida Console,
			Liberation Mono,
			DejaVu Sans Mono,
			Bitstream Vera Sans Mono,
			Courier New,
			monospace;
	}
</style>