diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index 927e08d..c3435d8 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -1,12 +1,13 @@ --- -import ThemeIcon from "../components/ThemeIcon.astro"; +import ThemeIcon from "./ThemeIcon.astro"; +import NavLink from "./ui/links/NavLink.astro"; ---
@@ -239,4 +258,4 @@ import ThemeIcon from "../components/ThemeIcon.astro"; }); }); }); - \ No newline at end of file + diff --git a/src/components/ui/links/NavLink.astro b/src/components/ui/links/NavLink.astro new file mode 100644 index 0000000..ca76e07 --- /dev/null +++ b/src/components/ui/links/NavLink.astro @@ -0,0 +1,40 @@ +--- +const { url, name } = Astro.props; + +interface Props { + url: string; + name: string; +} +--- + + + {name} + + +