aboutsummaryrefslogtreecommitdiff
path: root/luax/components/navbar.luax
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-12 18:44:38 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-12 18:44:38 +0100
commit2294bc65825972106aff44f2ad8204c4f2af30f4 (patch)
tree516a564f54912565695fd5abc5cad1d6313cbabc /luax/components/navbar.luax
parent6c247f1e1d69f817f585995a6d6a8301470814b4 (diff)
luax: initial
Diffstat (limited to 'luax/components/navbar.luax')
-rw-r--r--luax/components/navbar.luax17
1 files changed, 17 insertions, 0 deletions
diff --git a/luax/components/navbar.luax b/luax/components/navbar.luax
new file mode 100644
index 0000000..15b782e
--- /dev/null
+++ b/luax/components/navbar.luax
@@ -0,0 +1,17 @@
+local NavbarItem = require('components.navbar-item')
+
+return function()
+ return
+ <div class="navbar-container">
+ <div class="navbar">
+ <NavbarItem name="home" href="/">[Home]</NavbarItem>
+ <NavbarItem name="games" href="/games">[Games]</NavbarItem>
+ <NavbarItem name="projects" href="/projects">[Other Projects]</NavbarItem>
+ <NavbarItem name="github" href="https://github.com/Duckonaut">[GitHub]</NavbarItem>
+ <NavbarItem name="itch" href="https://duckonaut.itch.io/">[Itch.io]</NavbarItem>
+ <NavbarItem name="twitter" href="https://twitter.com/duckonaut">[Twitter]</NavbarItem>
+ <NavbarItem name="mastodon" href="https://mastodon.gamedev.place/@duckonaut" rel="me">[Mastodon]</NavbarItem>
+ <NavbarItem name="contact" href="/contact">[Contact]</NavbarItem>
+ </div>
+ </div>
+end