From 59dff13e22b8181a303371a32118ac8647d579f6 Mon Sep 17 00:00:00 2001 From: "Adriano (goldrake)" Date: Wed, 30 Sep 2026 05:19:40 +0000 Subject: [PATCH] Consulenza: bottone nel menu in alto su ogni pagina, voce nel menu mobile (#22) Co-Authored-By: Claude Opus 5.5 (1M context) --- src/components/Header.astro | 14 ++++++++++++++ src/data/content-seed.ts | 1 + 2 files changed, 15 insertions(+) diff --git a/src/components/Header.astro b/src/components/Header.astro index d3e5ced..7109dd2 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -2,6 +2,7 @@ import { site } from '../data/site'; import { t, contentImageUrl } from '../lib/content'; import { landingFor } from '../lib/auth'; +import { linkConsulenza } from '../data/consulenza'; interface Props { user: { username: string; role: string } | null; showTags: boolean; @@ -17,6 +18,8 @@ const path = Astro.url.pathname; // si cambia una riga — ed e' l'unico posto del sito che nomina l'area riservata. const AREA_RISERVATA = 'https://piattaforme.tielogic.xyz'; const areaHref = user ? landingFor(user.role) : '/admin'; +// Consulenza con Nicola su ogni pagina, non solo sulla Reformer Class (Adriano 30/09, #22). +const consulenzaHref = linkConsulenza(t('global.consulenza.url')); ---