From d0ad2e5d16f62c9a45dafc3eacc814a3b9013d08 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 20 May 2023 02:33:17 -0400 Subject: rewrite everything in typescript --- src/components/Nav.astro | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/Nav.astro b/src/components/Nav.astro index b3baf19..70f07ea 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -1,5 +1,13 @@ --- -const links = { +interface Links { + home: string, + blog: string, + forgejo: string, + grafana: string, + github: string, +}; + +const links: Links = { home: "/", blog: "/blog", forgejo: "https://git.mydadleft.me", -- cgit v1.2.3