aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header.astro
blob: 52c0ca87fc2cbd789235ede53c94c8ea3d02ad70 (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
<style lang="scss">
	@use "../scss/variables" as *;

	header {
		padding-bottom: 1rem;
		position: relative;
	}

	.site-title {
		color: $colorText;
		font-weight: bold;
		left: 0;
		position: absolute;
		text-decoration: none;
		top: 0;
	}

	.nav-links {
		text-align: right;
	}

	a {
		margin-right: 1.5rem;
		text-decoration: none;

		&:last-child {
			margin-right: 0;
		}
	}
</style>

<header>
	<a class="site-title" href="/">{import.meta.env.DEFAULT_TITLE}</a>
	<div class="nav-links">
		<a href="/">Home</a>
		<a href="/blog/">Blog</a>
	</div>
</header>