summaryrefslogtreecommitdiff
path: root/examples/hackernews/src/layouts/Layout.astro
blob: 47bc1ab1a4b9b13ea5808251895c915d44cfc395 (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
---
import Nav from '../components/Nav.astro';
---

<html lang="en">
	<head>
		<meta charset="utf-8" />
		<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta name="generator" content={Astro.generator} />
		<title>Astro - Hacker News</title>
		<meta name="description" content="Hacker News Clone built with Astro" />
	</head>
	<body>
		<Nav />
		<slot />
		<style is:global>
			body {
				font-family:
					-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
					'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
				font-size: 15px;
				background-color: rgb(226 232 240);
				margin: 0;
				padding-top: 55px;
				color: rgb(15 23 42);
				overflow-y: scroll;
			}

			a {
				color: rgb(15 23 42);
				text-decoration: none;
			}
		</style>
	</body>
</html>