Files
web/components/Current/Footer/Navigation.tsx
2024-02-22 16:33:00 +01:00

25 lines
776 B
TypeScript

import type { FooterNavigationProps } from "@/types/components/current/footer"
export default function Navigation({ linkGroups }: FooterNavigationProps) {
return (
<ul className="l-footer-sections global-footer__content__sections">
{linkGroups.map((group) => (
<li className="global-footer-section" key={group.title}>
<div className="link-list">
<h3 className="link-list-header">{group.title}</h3>
<ul className="list-footer-pages">
{group.links.map(link => (
<li key={link.href}>
<a href={link.href}>
{link.title}
</a>
</li>
))}
</ul>
</div>
</li>
))}
</ul>
)
}