|
- // Feature flags compilati nel bundle. Modifica e ricostruisci (npm run build) per applicare.
-
- export const EXTERNAL_LINK_ENABLED = true;
-
- // Font di default se il portale non ne ha impostato uno.
- // Lascia stringa vuota per usare il font di sistema (Arial).
- // Per usare un font, scrivi il nome esatto del file presente in data/fonts/ (es. "Geist-Variable.woff2").
- export const DEFAULT_FONT = '';
-
- // Limiti caratteri per tutti i campi testuali compilabili dall'admin.
- // Validati lato server (app/api/cards/route.ts, app/api/portals/route.ts) e
- // usati lato client come maxLength + contatore (app/admin/page.tsx).
- export const TEXT_LIMITS = {
- card: {
- title: 200,
- shortDescription: 500,
- fullContent: 20_000,
- actionUrl: 2000,
- },
- portal: {
- title: 200,
- welcomeText: 1000,
- },
- } as const;
|