summaryrefslogtreecommitdiff
path: root/src/components/Nav.astro
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-20 02:33:17 -0400
committerseth <[email protected]>2023-05-20 02:33:58 -0400
commitd0ad2e5d16f62c9a45dafc3eacc814a3b9013d08 (patch)
tree9f28500ce0407126597e987db44c681cabe7abe9 /src/components/Nav.astro
parent63c4f174c849a41eb0c2b5fc7470151dd1f0277c (diff)
rewrite everything in typescript
Diffstat (limited to 'src/components/Nav.astro')
-rw-r--r--src/components/Nav.astro10
1 files changed, 9 insertions, 1 deletions
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",