--- import { LOCALE_CODES } from '../../config/locales'; import { getContent } from '../../i18n/content'; import { amenitizUrl } from '../../lib/urls'; import Base from '../../layouts/Base.astro'; import BookingCta from '../../components/BookingCta.astro'; import SectionDivider from '../../components/SectionDivider.astro'; import ScrollReveal from '../../components/ScrollReveal.astro'; export function getStaticPaths() { return LOCALE_CODES.map((lang) => ({ params: { lang } })); } const { lang } = Astro.params as { lang: string }; const c = getContent(lang).cookie; const home = getContent(lang); const booking = amenitizUrl(lang); --- {c.eyebrow} {c.title} {c.lastUpdated} {c.sections.map((sec) => ( {sec.heading} {sec.body.split('\n').map((line) => line.trim() ? {line} : null )} ))}
{c.eyebrow}
{c.lastUpdated}
{line}