summaryrefslogtreecommitdiff
path: root/src/_components/nav.vto
diff options
context:
space:
mode:
Diffstat (limited to 'src/_components/nav.vto')
-rw-r--r--src/_components/nav.vto13
1 files changed, 13 insertions, 0 deletions
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>