import Link from "@scandic-hotels/design-system/OldDSLink" import SkeletonShimmer from "@scandic-hotels/design-system/SkeletonShimmer" import { Typography } from "@scandic-hotels/design-system/Typography" import { getFooter } from "@/lib/trpc/memoizedRequests" import LanguageSwitcher from "@/components/LanguageSwitcher" import { getIntl } from "@/i18n" import { LogoLink } from "../../LogoLink" import SocialLink from "./SocialLink" import styles from "./details.module.css" export default async function FooterDetails() { const intl = await getIntl() const footer = await getFooter() const currentYear = new Date().getFullYear() return (

{intl.formatMessage( { id: "footer.copyright", defaultMessage: "© {currentYear} Scandic Hotels all rights reserved", }, { currentYear } )}

) } export async function FooterDetailsSkeleton() { const intl = await getIntl() const currentYear = new Date().getFullYear() return (

{intl.formatMessage( { id: "footer.copyright", defaultMessage: "© {currentYear} Scandic Hotels all rights reserved", }, { currentYear } )}

) }