--- import SubpageLayout from '../layouts/SubpageLayout.astro'; import { getModelloOrganizzativo } from '../data/modello-organizzativo'; const path = Astro.url.pathname; const localeMatch = path.match(/^\/(en|th)(\/|$)/); const currentLocale = (localeMatch?.[1] ?? 'it') as 'it' | 'en' | 'th'; const m = getModelloOrganizzativo(currentLocale); const { page } = m; const localize = (href: string) => { if (currentLocale === 'it') return href; if (href.startsWith(`/${currentLocale}`)) return href; if (href.startsWith('/#')) return `/${currentLocale}${href}`; if (href.startsWith('/')) return `/${currentLocale}${href}`; return href; }; const link = 'text-sky-400/90 underline-offset-2 hover:text-sky-300 hover:underline'; const tbl = 'min-w-[22rem] w-full border-collapse text-left text-sm'; const th = 'border border-nx-border bg-nx-surface/60 px-3 py-2 font-semibold text-nx-fg'; const td = 'border border-nx-border px-3 py-2 align-top text-nx-muted'; const tableWrap = 'mt-2 overflow-x-auto'; const mark = (on?: boolean) => (on ? '●' : ''); ---

{m.introBox}

{m.perimetro}

{page.indexTitle}

    { page.index.map((item) => (
  1. {item.label}
  2. )) }

{page.sectionTitles.ruoli}

{page.ruoliIntroBefore}{' '} {page.codiceEticoLabel} {' '} {page.ruoliIntroAfter}

{page.sectionTitles.governance}

{page.sectionTitles.responsabilita}

{page.sectionTitles.raci}

{page.raciLegendBefore} {page.raciLegend}

{ m.raci.map((matrix) => ( <>

{matrix.title}

{'note' in matrix && matrix.note ? (

{matrix.note}{' '} {matrix.noteLinkLabel} {'noteAfter' in matrix ? matrix.noteAfter : null}

) : null}
{matrix.rows.map((row) => ( ))}
{page.roleCol} R A C I
{row.role} {mark(row.r)} {mark(row.a)} {mark(row.c)} {mark(row.i)}
)) }

{page.sectionTitles.flussi}

{page.sectionTitles.controlli}

{page.sectionTitles.kpi}

{page.sectionTitles.documentazione}

{page.sectionTitles.piano30}

    { m.piano30.map((p) => (
  1. {p.quando}: {p.testo}
  2. )) }

{page.sectionTitles.outsourcing}

{page.sectionTitles.note}