--- import Base from "../../layouts/Base.astro"; import PageHero from "../PageHero.astro"; import { prorockReleases } from "../../data/prorock-updates"; import { type Locale } from "../../i18n"; interface Props { locale: Locale; } const { locale } = Astro.props; const releases = prorockReleases[locale]; const copy = { en: { title: "Prorock updates", description: "Release history of the Prorock software", heroTitle: "Prorock updates", heroSubtitle: "Changelog of the Prorock software suite", }, ru: { title: "Обновления Prorock", description: "История обновлений ПО Prorock", heroTitle: "Обновления Prorock", heroSubtitle: "История изменений программного комплекса Prorock", }, }[locale]; ---
{releases.map((r) => (

Release {r.version}

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

{s.title}

    {s.items.map((item) => (
  • ))}
))}
))}