import MaxWidth from "@/components/MaxWidth"

import { navigationData } from "../mockedData"
import FooterMainNav from "./MainNav"
import FooterSecondaryNav from "./SecondaryNav"

import styles from "./navigation.module.css"

export default async function FooterNavigation() {
  const { mainLinks, secondaryLinks } = navigationData
  return (
    <section className={styles.section}>
      <MaxWidth tag="div" className={styles.maxWidth}>
        <FooterMainNav mainLinks={mainLinks} />
        <FooterSecondaryNav secondaryLinks={secondaryLinks} />
      </MaxWidth>
    </section>
  )
}
