refactor: simplify navigation items and remove unused node IDs
Some checks failed
/ print-content (push) Failing after 1m38s
Some checks failed
/ print-content (push) Failing after 1m38s
This commit is contained in:
parent
e33f173101
commit
c015b7d49f
2 changed files with 19 additions and 57 deletions
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
const navigationItems = [
|
||||
{ label: "Home", href: "#home", nodeId: "43:29" },
|
||||
{ label: "About", href: "#about", nodeId: "43:30" },
|
||||
{ label: "Projects", href: "#projects", nodeId: "43:32" },
|
||||
{ label: "Timeline", href: "#timeline", nodeId: "43:36" },
|
||||
{ label: "Home", href: "#home" },
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Projects", href: "#projects" },
|
||||
{ label: "Timeline", href: "#timeline" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
] as const;
|
||||
|
||||
const desktopLinkClass =
|
||||
|
|
@ -33,7 +34,6 @@ const mobileLinkClass =
|
|||
<a
|
||||
class={desktopLinkClass}
|
||||
href={item.href}
|
||||
data-node-id={item.nodeId}
|
||||
>
|
||||
{item.label}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Reference in a new issue