import Link from 'next/link'; import Image from 'next/image'; import FooterMenu from 'components/layout/footer-menu'; import LogoSquare from 'components/logo-square'; import GitHubIcon from 'components/icons/github'; import { getMenu } from 'lib/shopware'; import { Suspense } from 'react'; const { COMPANY_NAME, SITE_NAME } = process.env; export default async function Footer() { const currentYear = new Date().getFullYear(); const copyrightDate = 2023 + (currentYear > 2023 ? `-${currentYear}` : ''); const skeleton = 'w-full h-6 animate-pulse rounded bg-neutral-200 dark:bg-neutral-700'; const menu = await getMenu({ type: 'footer-navigation', depth: 2 }); const copyrightName = COMPANY_NAME || SITE_NAME || ''; return ( ); }