import Copyright, { type CopyrightProps, } from '@components/atoms/layout/copyright'; import BackToTop from '@components/molecules/buttons/back-to-top'; import Nav, { type NavItem } from '@components/molecules/nav/nav'; import { FC } from 'react'; import { useIntl } from 'react-intl'; import styles from './footer.module.scss'; export type FooterProps = { /** * Set additional classnames to the footer element. */ className?: string; /** * Set the copyright information. */ copyright: CopyrightProps; /** * The footer nav items. */ navItems?: NavItem[]; /** * An element id (without hashtag) used as anchor for back to top button. */ topId: string; }; /** * Footer component * * Renders a footer with copyright and nav; */ const Footer: FC = ({ className, copyright, navItems, topId }) => { const intl = useIntl(); const ariaLabel = intl.formatMessage({ defaultMessage: 'Footer', description: 'Footer: an accessible name for footer nav', id: 'd4N8nD', }); return ( ); }; export default Footer;