aboutsummaryrefslogtreecommitdiff
path: root/front/src/components/navbar.tsx
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2023-08-30 18:00:11 +0200
committerStanisław Zagórowski <hasohasacz@gmail.com>2023-08-30 18:00:11 +0200
commitb7c37574f4f90fc346bc51dd06c77c8958570b33 (patch)
tree72895a18a8d72ecd35bf9b71030d6bf40ae34167 /front/src/components/navbar.tsx
parentb661407d801c8ccaa7773ae30f0fc26a1d70ffff (diff)
all: move front into its own directory
Diffstat (limited to 'front/src/components/navbar.tsx')
-rw-r--r--front/src/components/navbar.tsx20
1 files changed, 20 insertions, 0 deletions
diff --git a/front/src/components/navbar.tsx b/front/src/components/navbar.tsx
new file mode 100644
index 0000000..ba3d7d7
--- /dev/null
+++ b/front/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>
+ );
+}