// Blast Events — Contatti page
const { useEffect, useState } = React;
const { TR, Nav, MobileMenu, Footer,
useCursor, useReveal, useNavScroll, submitContactForm } = window;
const ADDRESS_LINE1 = 'Via Sigi Lechner, 28';
const ADDRESS_LINE2 = '32100 Belluno (BL) · Italia';
const MAPS_QUERY = 'Via+Sigi+Lechner+28+Belluno';
const PHONE_1 = '+39 340 262 2355';
const PHONE_1_TEL = '+393402622355';
const PHONE_2 = '+39 349 118 6039';
const PHONE_2_TEL = '+393491186039';
// WhatsApp sul primo numero — confermare con il cliente quale ha WhatsApp
const WHATSAPP_NUMBER = '393402622355';
const WHATSAPP_HREF = `https://wa.me/${WHATSAPP_NUMBER}?text=${encodeURIComponent('Ciao Blast Events, vorrei informazioni su un evento.')}`;
// ============ Page Hero ============
function ContattiHero() {
return (
(CONTATTI) · GET IN TOUCH
BL · BELLUNO · IT
EST. 2019
Contatta
il team.
Raccontaci il tuo evento. Rispondiamo entro 24h, da lunedì a venerdì. Per richieste urgenti, scrivici direttamente via email.
);
}
// ============ Contact form + info ============
function ContactForm() {
const [sent, setSent] = useState(false);
const [busy, setBusy] = useState(false);
const [err, setErr] = useState(false);
return (
);
}
function ContactSection() {
return (
);
}
// ============ Maps band ============
function MapsBand() {
const mapsSrc = `https://www.google.com/maps?q=${MAPS_QUERY}&output=embed&z=16`;
const directionsHref = `https://www.google.com/maps/dir/?api=1&destination=${MAPS_QUERY}`;
return (
(02) Dove siamo
Vienici a trovare.
● Sede operativa
{ADDRESS_LINE1}
{ADDRESS_LINE2}
);
}
// ============ FAQ ============
const FAQ_SLOTS = [
{ n: '01' },
{ n: '02' },
{ n: '03' },
{ n: '04' },
{ n: '05' },
{ n: '06' }];
function FaqSlot({ n }) {
return (
);
}
function FaqSection() {
return (
(03) Domande frequenti
Domande
frequenti.
{FAQ_SLOTS.map((f) => )}
);
}
// ============ Root ============
function ContattiApp({ tweaks }) {
useCursor();
useReveal();
useNavScroll();
const [menu, setMenu] = useState(false);
useEffect(() => {
const r = document.documentElement.style;
r.setProperty('--accent', tweaks.accent);
r.setProperty('--display', tweaks.display);
r.setProperty('--density', tweaks.density);
if (tweaks.theme === 'light') {
r.setProperty('--bg', '#f4f1ea');r.setProperty('--bg-2', '#ebe7dd');
r.setProperty('--fg', '#0a0a0a');r.setProperty('--fg-dim', '#666');
r.setProperty('--line', '#dcd6c8');r.setProperty('--line-2', '#c8c1b0');
r.setProperty('--accent-ink', '#f4f1ea');
} else {
r.setProperty('--bg', '#000');r.setProperty('--bg-2', '#0a0a0a');
r.setProperty('--fg', '#ffffff');r.setProperty('--fg-dim', '#8a8a8a');
r.setProperty('--line', '#1a1a1a');r.setProperty('--line-2', '#2a2a2a');
r.setProperty('--accent-ink', '#000');
}
}, [tweaks]);
return (
<>