mirror of
https://github.com/Rohithgilla12/data-peek
synced 2026-05-24 09:58:26 +00:00
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:
parent
d3d2d7716d
commit
631643f5b9
2 changed files with 7 additions and 7 deletions
|
|
@ -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' },
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue