--- import SubpageLayout from '../layouts/SubpageLayout.astro'; import type { SupportedLocale } from '../data/home/navigation'; import { getAbout } from '../data/about'; const path = Astro.url.pathname; const localeMatch = path.match(/^\/(en|th)(\/|$)/); const currentLocale = (localeMatch?.[1] ?? 'it') as SupportedLocale; const about = getAbout(currentLocale); const { page, intro, sections } = about; ---

{intro}

{ sections.map((s) => ( <>

{s.title}

{s.paragraphs?.map((p) => (

{p}

))} {s.bullets && s.bullets.length > 0 ? ( ) : null} )) }