summaryrefslogtreecommitdiff
path: root/src/_components
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-20 20:27:18 -0500
committerseth <[email protected]>2023-12-21 02:34:37 +0000
commit5aa2e6c0c6e4c73d93307e9f70803237006afb28 (patch)
treef26a67452e2d4a4ed30506e533ac17cc95184fac /src/_components
parent2a6f22fc1f1939b102fb8925bf04914a4b553e17 (diff)
go back to lume
Diffstat (limited to 'src/_components')
-rw-r--r--src/_components/footer.vto9
-rw-r--r--src/_components/head.vto9
-rw-r--r--src/_components/nav.vto13
3 files changed, 31 insertions, 0 deletions
diff --git a/src/_components/footer.vto b/src/_components/footer.vto
new file mode 100644
index 0000000..6c262f1
--- /dev/null
+++ b/src/_components/footer.vto
@@ -0,0 +1,9 @@
+<div class="flex">
+ <div class="flex flex-col items-center gap-1 p-3 mx-auto">
+ <a
+ class="text-text text-xs"
+ href="https://github.com/getchoo/website">source</a
+ >
+ <p class="text-text text-xs">commit: {{ gitCommit }}</p>
+ </div>
+</div>
diff --git a/src/_components/head.vto b/src/_components/head.vto
new file mode 100644
index 0000000..50af97a
--- /dev/null
+++ b/src/_components/head.vto
@@ -0,0 +1,9 @@
+<head>
+ <meta charset="utf-8" />
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <title>{{ title }}</title>
+ <meta name="description" content={{ description }} />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="/global.css" />
+ <link rel="sitemap" href="/sitemap.xml" />
+</head>
diff --git a/src/_components/nav.vto b/src/_components/nav.vto
new file mode 100644
index 0000000..f1d935a
--- /dev/null
+++ b/src/_components/nav.vto
@@ -0,0 +1,13 @@
+<nav>
+ <div class="flex flex-column justify-center mx-auto p-7">
+ <ul class="inline">
+ {{ for item of links }}
+ <li class="inline text-base p-2">
+ <a class="rounded-xl bg-yellow p-2" href={{ item.url }}>
+ {{ item.name }}
+ </a>
+ </li>
+ {{ /for }}
+ </ul>
+ </div>
+</nav>