aboutsummaryrefslogtreecommitdiff
path: root/src/components/navbar.tsx
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2023-08-17 13:43:00 +0200
committerStanisław Zagórowski <hasohasacz@gmail.com>2023-08-17 13:43:00 +0200
commitb7de2208ae48d49b05e13ee848b40308c72a1d77 (patch)
treefffdde316e080b9b87374e480c0efe90c9724df3 /src/components/navbar.tsx
Initial commit
Diffstat (limited to 'src/components/navbar.tsx')
-rw-r--r--src/components/navbar.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx
new file mode 100644
index 0000000..ba3d7d7
--- /dev/null
+++ b/src/components/navbar.tsx
@@ -0,0 +1,20 @@
+import './navbar.css';
+
+import { NavbarItem } from './navbar-item';
+
+export function Navbar() {
+ 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>
+ );
+}