From ae86f863390209318c0dbfa3e193e9be74cb262f Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sat, 7 Dec 2024 16:11:48 -0500 Subject: [PATCH] fixed header links, adjusted anchor tag --- frontend/components/Header.tsx | 55 +++++++++++++++------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/frontend/components/Header.tsx b/frontend/components/Header.tsx index 927c7c5..e29e60f 100644 --- a/frontend/components/Header.tsx +++ b/frontend/components/Header.tsx @@ -11,54 +11,47 @@ interface HeaderLink { const headerLinks: Array = [ { name: "Home", - linkTo: "/", + linkTo: `${Deno.env.get("BASE_URI_WEB")}/`, icon: , }, { name: "Blog", - linkTo: "posts/", + linkTo: `${Deno.env.get("BASE_URI_WEB")}/posts`, icon: , }, { name: "Projects", - linkTo: "projects/", + linkTo: `${Deno.env.get("BASE_URI_WEB")}/projects`, icon: , }, { name: "Contact", - linkTo: "contact/", + linkTo: `${Deno.env.get("BASE_URI_WEB")}/contact`, icon: , }, ]; export default function Header() { return ( - +
+ +
); }