--- import { Picture } from 'astro:assets'; import poster from '../../assets/images/hero-field.png'; import { t, type Lang } from '../../i18n/ui'; interface Props { lang: Lang } const { lang } = Astro.props; const ui = t(lang); --- {ui.hero.lines.map((line, i) => ( {line} ))}