Skip to content

Commit a802560

Browse files
committed
Fix nav links
1 parent 8136405 commit a802560

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/components/Footer.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const navigation = [
1010
{
1111
title: 'About Us',
1212
links: [
13-
{ title: 'Our Expertise', href: '#our-expertise' },
14-
{ title: 'Our Clients', href: '#our-clients' },
15-
{ title: 'Our Team', href: '#our-team' },
16-
{ title: 'Our Services', href: '#our-services' },
13+
{ title: 'Our Expertise', href: '/#our-expertise' },
14+
{ title: 'Our Clients', href: '/#our-clients' },
15+
{ title: 'Our Team', href: '/#our-team' },
16+
{ title: 'Our Services', href: '/#our-services' },
1717
],
1818
},
1919
{

src/components/RootLayout.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function Header({
7878
</span>
7979
</Link>
8080
<div className="flex items-center gap-x-8">
81-
<Button href="#contact-us" invert={invert}>
81+
<Button href="/#contact-us" invert={invert}>
8282
Contact us
8383
</Button>
8484
<button
@@ -140,12 +140,12 @@ function Navigation() {
140140
return (
141141
<nav className="mt-px font-display text-5xl font-medium tracking-tight text-white">
142142
<NavigationRow>
143-
<NavigationItem href="#our-expertise">Our Expertise</NavigationItem>
144-
<NavigationItem href="#our-clients">Our Clients</NavigationItem>
143+
<NavigationItem href="/#our-expertise">Our Expertise</NavigationItem>
144+
<NavigationItem href="/#our-clients">Our Clients</NavigationItem>
145145
</NavigationRow>
146146
<NavigationRow>
147-
<NavigationItem href="#our-team">Our Team</NavigationItem>
148-
<NavigationItem href="#our-services">Our Services</NavigationItem>
147+
<NavigationItem href="/#our-team">Our Team</NavigationItem>
148+
<NavigationItem href="/#our-services">Our Services</NavigationItem>
149149
</NavigationRow>
150150
</nav>
151151
)

0 commit comments

Comments
 (0)