fix review finale: card programmi home taggate, README gestione contenuti, import type e commento seed

This commit is contained in:
2026-07-05 17:45:31 +02:00
parent 8495d9edd4
commit c975dcac12
4 changed files with 12 additions and 4 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ import T from '../content/T.astro';
{programs.map((p, i) => (
<a class="pgrid__item" href={`/programs/${p.slug}`} data-reveal style={`--reveal-delay:${(i % 3) * 0.15}s`}>
<svg viewBox="0 0 24 24" fill="none" stroke="var(--c-accent-dark)" stroke-width="1.4" width="52" height="52" aria-hidden="true"><path d={icons[p.slug]} /></svg>
<h3>{p.title}</h3>
<p>{p.subtitle}</p>
<T tag={`program.${p.slug}.title`} as="h3" />
<T tag={`program.${p.slug}.subtitle`} as="p" />
</a>
))}
</div>
-1
View File
@@ -300,7 +300,6 @@ export const contentSeed: SeedEntry[] = [
T('notfound.body', 'La pagina che cerchi non esiste o è stata spostata.'),
T('notfound.cta', 'Torna alla home', []),
// I task di estrazione aggiungono qui le entry di header/footer/pagine/data file.
];
export const seedByTag = new Map(contentSeed.map((e) => [e.tag, e]));
+1
View File
@@ -1,4 +1,5 @@
---
import type { ImageMetadata } from 'astro';
import Base from '../layouts/Base.astro';
import PageHero from '../components/PageHero.astro';
import Timeline from '../components/about/Timeline.astro';