Update navigation links to include leading slashes (#23)

* Update navigation links to include leading slashes

Update navigation links to include leading slashes for links that points to a section on the home page

* Update footer links to include leading slashes

Update footer links to include leading slashes for links that points to a section on the home page
This commit is contained in:
Ekikere-Abasi Michael 2025-12-03 12:03:32 +01:00 committed by GitHub
parent d3d2d7716d
commit 631643f5b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -3,14 +3,14 @@ import { Database, Github, Twitter } from 'lucide-react'
const footerLinks = {
Product: [
{ label: 'Features', href: '#features' },
{ label: 'Pricing', href: '#pricing' },
{ label: 'Features', href: '/#features' },
{ label: 'Pricing', href: '/#pricing' },
{ label: 'Download', href: '/download' },
{ label: 'Changelog', href: '/changelog' },
],
Resources: [
{ label: 'Documentation', href: '/docs' },
{ label: 'FAQ', href: '#faq' },
{ label: 'FAQ', href: '/#faq' },
{ label: 'Blog', href: '/blog' },
{ label: 'Support', href: '/support' },
],

View file

@ -6,9 +6,9 @@ import { Button } from '@/components/ui/button'
import { Database, Menu, X, Github, Star } from 'lucide-react'
const navLinks = [
{ href: '#features', label: 'Features' },
{ href: '#pricing', label: 'Pricing' },
{ href: '#faq', label: 'FAQ' },
{ href: '/#features', label: 'Features' },
{ href: '/#pricing', label: 'Pricing' },
{ href: '/#faq', label: 'FAQ' },
]
export function Header() {
@ -123,7 +123,7 @@ export function Header() {
<Link href="/download">Download</Link>
</Button>
<Button size="sm" asChild>
<Link href="#pricing">Get Pro $29</Link>
<Link href="/#pricing">Get Pro $29</Link>
</Button>
</div>
</div>