--- // Impostazioni: profilo, notifiche, account. I campi sono ancora un modulo dimostrativo — // non c'è un endpoint di salvataggio — ma la struttura è quella definitiva. import StressIndex from '../../../layouts/StressIndex.astro'; import Card from '../../../components/stress-index/Card.astro'; import { professional } from '../../../lib/stress-index/data'; export const prerender = false; const [nome = '', cognome = ''] = professional.name.replace(/^Dr\.?\s*/i, '').split(' '); const GIORNI = ['Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato', 'Domenica']; const ORE = ['07:00', '08:00', '09:00', '18:00', '19:00', '20:00']; const TABS = [ { key: 'profilo', label: 'Profilo' }, { key: 'notifiche', label: 'Notifiche' }, { key: 'account', label: 'Account' }, ]; ---

Impostazioni

Profilo, notifiche e account

{TABS.map((t, i) => ( ))}