Added home link to nav and footer

This commit is contained in:
r-freeman 2023-02-25 22:50:19 +00:00
parent ddf4b7afd2
commit af878efa2e
2 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ export function Footer() {
<div className="flex flex-col items-center justify-between gap-6 mt-12">
<div
className="flex flex-wrap justify-center gap-6 text-sm font-medium text-zinc-800 dark:text-zinc-200">
<NavLink href="/">Home</NavLink>
<NavLink href="/about">About</NavLink>
<NavLink href="/dashboard">Dashboard</NavLink>
<NavLink href="/writing">Writing</NavLink>

View File

@ -61,6 +61,7 @@ export function MobileNavigation(props: Props) {
</div>
<nav className="mt-6">
<ul className="-my-2 divide-y divide-zinc-100 text-base text-zinc-800 dark:divide-zinc-100/5 dark:text-zinc-300">
<MobileNavItem href="/">Home</MobileNavItem>
<MobileNavItem href="/about">About</MobileNavItem>
<MobileNavItem href="/dashboard">Dashboard</MobileNavItem>
<MobileNavItem href="/writing">Writing</MobileNavItem>
@ -104,6 +105,7 @@ export function DesktopNavigation(props: Props) {
return (
<nav {...props}>
<ul className="flex rounded-full bg-white/90 px-3 text-sm font-medium text-zinc-800 shadow-lg shadow-zinc-800/5 ring-1 ring-zinc-900/5 backdrop-blur dark:bg-zinc-800/90 dark:text-zinc-200 dark:ring-white/10">
<NavItem href="/">Home</NavItem>
<NavItem href="/about">About</NavItem>
<NavItem href="/dashboard">Dashboard</NavItem>
<NavItem href="/writing">Writing</NavItem>