--- import release from '../data/release.json'; interface Props { // Show the beta ISOs under the stable ones. showBeta?: boolean; } const { showBeta = true } = Astro.props; const gb = (bytes: number) => `${(bytes / 1024 ** 3).toFixed(1)} GB`; const fmtDate = (d: string) => new Date(`${d}T12:00:00Z`).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }); const sections = [ { heading: `ViciBox v.${release.stable.version}`, note: `Current stable release, ${fmtDate(release.stable.date)}`, rel: release.stable, beta: false }, ...(showBeta ? [{ heading: `ViciBox v.${release.beta.version}`, note: release.beta.releaseCandidate ? `Release candidate, ${fmtDate(release.beta.date)} — planned to become the official release on ${fmtDate(release.beta.plannedRelease)}` : `Beta, ${fmtDate(release.beta.date)} — for testing only, not for production`, rel: release.beta, beta: true }] : []), ]; ---
{sections.map((s) => (

{s.heading}

{s.note}

{s.rel.isos.map((iso) => ( ))}
InstallerSizeMD5
{iso.label}
{iso.file}
{gb(iso.size)} {iso.md5}
))}

Older releases are in the download archive. See the Installation Manual before installing.