mirror of
https://codeberg.org/bunbun/bunbun.dev
synced 2025-06-07 22:09:50 -07:00
initial
This commit is contained in:
54
site/templates/error.html
Normal file
54
site/templates/error.html
Normal file
@ -0,0 +1,54 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg" />
|
||||
<title>{{code}} {{message}}</title>
|
||||
<style>
|
||||
:root {
|
||||
--foreground: #ffffff;
|
||||
--background: #000000;
|
||||
|
||||
--accent-50: #adadad;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--foreground: #000000;
|
||||
--background: #ffffff;
|
||||
|
||||
--accent-50: #525252;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 0;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
font-family: "Roboto", sans-serif;
|
||||
color: var(--foreground);
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
color: var(--accent-50);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>{{code}}</h1>
|
||||
<h3>{{message}}</h3>
|
||||
</body>
|
||||
</html>
|
34
site/templates/main.html
Normal file
34
site/templates/main.html
Normal file
@ -0,0 +1,34 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
|
||||
<link rel="stylesheet" type="text/css" href="/styles/style.css" />
|
||||
<title>bunbun.dev</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<a href="https://bunbun.dev">bunbun.dev</a>
|
||||
<nav>
|
||||
<a href="https://bunbun.dev/about">About</a>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="content">
|
||||
<main>{{content}}</main>
|
||||
</div>
|
||||
<footer>
|
||||
© 2024 Winter Hille —
|
||||
<a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en"
|
||||
>BY-NC-SA 4.0</a
|
||||
>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
<script type="module">
|
||||
import init from "./wasm/cursor/pkg/wasm_cursor.js";
|
||||
|
||||
(async () => await init())();
|
||||
</script>
|
||||
</html>
|
Reference in New Issue
Block a user