import Link from 'next/link'; import FooterMenu from 'components/layout/footer-menu'; import LogoSquare from 'components/logo-square'; import { getMenu } from 'lib/shopify'; 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('next-js-frontend-footer-menu'); const copyrightName = COMPANY_NAME || SITE_NAME || ''; return ( ); }