eratic / sites / fav / src / pages / 404.astro
117 words
 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
---
import Base from '@eratic/core/layouts/Base.astro';
import { SITES } from '@eratic/core';

const site = 'fav' as const;
---

<Base site={site} title="Not found" description="There is nothing at this address." path="/404/">
	<div class="notfound">
		<p class="eyebrow">404</p>
		<h1>There is nothing here.</h1>
		<p class="notfound__text">
			The address is wrong, or whatever used to be here has moved. Neither is
			your fault.
		</p>
		<p class="notfound__links">
			<a href="/">Everything in {SITES[site].label}</a> · <a href={SITES.home.url}>eratic</a>
		</p>
	</div>
</Base>

<style>
	.notfound {
		margin-block: var(--space-3xl);
		display: flex;
		flex-direction: column;
		gap: var(--space-2xs);
	}

	.notfound h1 {
		font-family: var(--font-prose);
		font-size: var(--step-3);
		font-weight: 600;
		line-height: var(--leading-tight);
		letter-spacing: -0.02em;
		font-optical-sizing: auto;
	}

	.notfound__text {
		font-family: var(--font-prose);
		font-size: var(--step-1);
		color: var(--ink-muted);
		text-wrap: pretty;
	}

	.notfound__links {
		margin-block-start: var(--space-m);
		font-family: var(--font-ui);
		font-size: var(--step--1);
	}
</style>

static mirror of HEAD · about · clone: git clone https://git.makefuture.ro/eratic.git