diff --git a/cyperpunk.de/src/components/Sidebar.astro b/cyperpunk.de/src/components/Sidebar.astro new file mode 100644 index 0000000..1318af6 --- /dev/null +++ b/cyperpunk.de/src/components/Sidebar.astro @@ -0,0 +1,25 @@ +--- +--- + + diff --git a/cyperpunk.de/src/components/Topbar.astro b/cyperpunk.de/src/components/Topbar.astro new file mode 100644 index 0000000..8cd2bb9 --- /dev/null +++ b/cyperpunk.de/src/components/Topbar.astro @@ -0,0 +1,24 @@ +--- +const navItems = [ + { label: "home", href: "/" }, + { label: "writing", href: "/writing" }, + { label: "talks", href: "/talks" }, + { label: "about", href: "/about" }, +]; + +const currentPath = Astro.url.pathname; +--- + +
+ + +
diff --git a/cyperpunk.de/src/layouts/Base.astro b/cyperpunk.de/src/layouts/Base.astro new file mode 100644 index 0000000..f21c745 --- /dev/null +++ b/cyperpunk.de/src/layouts/Base.astro @@ -0,0 +1,28 @@ +--- +interface Props { + title: string; +} +const { title } = Astro.props; +--- + + + + + + {title} + + + + +
+
+ +
+ +
+ +