feat(WEB-112): adjust current-blocks-page to new model
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// import Desktop from "../LanguageSwitcher/Desktop"
|
||||
import Link from "next/link"
|
||||
|
||||
import styles from "./topMenu.module.css"
|
||||
|
||||
@@ -13,12 +12,12 @@ export default function TopMenu({ frontpageLinkText, homeHref, links }: TopMenuP
|
||||
return (
|
||||
<div className={styles.topMenu}>
|
||||
<div className={styles.container}>
|
||||
<Link
|
||||
<a
|
||||
className={styles.homeLink}
|
||||
href={homeHref}
|
||||
>
|
||||
{frontpageLinkText}
|
||||
</Link>
|
||||
</a>
|
||||
|
||||
<ul className={styles.list}>
|
||||
{/* <li className="nav-secondary__item hidden-xxsmall hidden-xsmall hidden-small">
|
||||
@@ -26,12 +25,12 @@ export default function TopMenu({ frontpageLinkText, homeHref, links }: TopMenuP
|
||||
</li> */}
|
||||
{links.map(({ link }) => (
|
||||
<li key={link.href}>
|
||||
<Link
|
||||
<a
|
||||
className={styles.link}
|
||||
href={link.href}
|
||||
>
|
||||
{link.title}
|
||||
</Link>
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user