Skip to content

Commit 6a47f0e

Browse files
committed
Keep main navigation anchored to landing page sections
1 parent 2319142 commit 6a47f0e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎web/app/site-header.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assetPath, homePath } from '../lib/site-path';
2-
import Link from 'next/link';
32
import { Github, ArrowUpRight } from 'lucide-react';
43
export default function SiteHeader() {
54
return (
@@ -11,8 +10,8 @@ export default function SiteHeader() {
1110
</span>
1211
</a>
1312
<nav aria-label="Main navigation">
14-
<Link href="/publicacoes/">Publications</Link>
15-
<Link href="/papers/">Papers</Link>
13+
<a href={homePath('#novidades')}>Publications</a>
14+
<a href={homePath('#artigos')}>Papers</a>
1615
<a href={homePath('#projetos')}>Projects</a>
1716
<a href={homePath('#pessoas')}>Team</a>
1817
</nav>

0 commit comments

Comments
 (0)