From 1db44ec4133547e9cc2f351b56b1d59fafbc5002 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 10 Apr 2024 07:32:28 -0400 Subject: factor out components --- src/components/Nav.astro | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/components/Nav.astro (limited to 'src/components/Nav.astro') diff --git a/src/components/Nav.astro b/src/components/Nav.astro new file mode 100644 index 0000000..98f47ce --- /dev/null +++ b/src/components/Nav.astro @@ -0,0 +1,22 @@ +--- +interface NavLink { + name: string; + url: string; +} + +const links: NavLink[] = [ + { name: "home", url: "/" }, + { + name: "github", + url: "https://github.com/getchoo", + }, +]; +--- + + -- cgit v1.2.3