feat(domains) implement domain routing; Logger

This commit is contained in:
gh0sTedBuddy
2024-03-20 03:43:27 +00:00
parent f303b67409
commit b5e8ce3144
15 changed files with 907 additions and 187 deletions

29
examples/views/index.html Normal file
View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width,initial-scale=1.0'>
<link rel='stylesheet' href='app.css'>
<title>{{ title }}</title>
</head>
<body>
<header>
<div class="logo">
<a href="/">layc</a>
</div>
<nav class="nav">
<a href="/features">features</a>
<a href="/blog">Blog</a>
</nav>
</header>
<main>
{{ content }}
</main>
<footer>
<nav class="nav">
<a href="/imprint">Imprint</a>
<a href="/tos">Terms</a>
</nav>
</footer>
</body>
</html>