// ABOUT PAGE — mobile ready function AboutPage({ lang, setPage }) { const t = lang === 'pt' ? { title: 'Sobre Nós', sub: 'A nossa história e missão', story: 'A Nossa História', storyText: 'A Dom Papança nasceu do amor pela pastelaria tradicional portuguesa. Com raízes em Torres Vedras, criamos iguarias artesanais que trazem o sabor autêntico de Portugal à sua mesa.', storyText2: 'Cada produto é feito com ingredientes cuidadosamente selecionados, seguindo receitas tradicionais passadas de geração em geração. O nosso compromisso é com a qualidade, o sabor e o carinho em cada encomenda.', mission: 'A Nossa Missão', missionText: 'Levar a alegria da pastelaria portuguesa a cada lar de Torres Vedras, com encomendas online simples e entrega ao domicílio.', values: 'Os Nossos Valores', v1: 'Artesanal', v1d: 'Tudo feito à mão com ingredientes frescos e selecionados.', v2: 'Tradicional', v2d: 'Receitas autênticas da pastelaria portuguesa.', v3: 'Local', v3d: 'Com orgulho em Torres Vedras, entregando na sua porta.', cta: 'Ver os Nossos Produtos', } : { title: 'About Us', sub: 'Our story and mission', story: 'Our Story', storyText: 'Dom Papança was born from a love of traditional Portuguese pastry. Rooted in Torres Vedras, we create artisanal delicacies that bring the authentic taste of Portugal to your table.', storyText2: 'Each product is made with carefully selected ingredients, following traditional recipes passed down through generations.', mission: 'Our Mission', missionText: 'To bring the joy of Portuguese pastry to every home in Torres Vedras, with easy online ordering and home delivery.', values: 'Our Values', v1: 'Handcrafted', v1d: 'Everything made by hand with fresh, selected ingredients.', v2: 'Traditional', v2d: 'Authentic recipes from the Portuguese pastry tradition.', v3: 'Local', v3d: 'Proudly based in Torres Vedras, delivering to your door.', cta: 'View Our Products', }; return (
{t.title}
{/* Story */}
✦ Dom Papança

{t.story}

{t.storyText}

{t.storyText2}

Dom Papança
Torres Vedras · Portugal
{/* Mission */}

{t.mission}

{t.missionText}

{/* Values */} {t.values}
{[ { icon: '🤲', title: t.v1, desc: t.v1d }, { icon: '📜', title: t.v2, desc: t.v2d }, { icon: '📍', title: t.v3, desc: t.v3d }, ].map(v => (
{v.icon}

{v.title}

{v.desc}

))}
setPage('shop')}>{t.cta}
); } // CONTACT PAGE — mobile ready function ContactPage({ lang, setPage }) { const [form, setForm] = React.useState({ name: '', email: '', message: '' }); const [sent, setSent] = React.useState(false); const set = (k, v) => setForm(f => ({ ...f, [k]: v })); const t = lang === 'pt' ? { title: 'Contacto', sub: 'Entre em contacto connosco', name: 'Nome', email: 'Email', message: 'Mensagem', send: 'Enviar Mensagem', sentMsg: 'Mensagem enviada! Obrigado.', address: 'Morada', hours: 'Horário', whatsapp: 'WhatsApp', h1: 'Seg–Sex: 8h–19h', h2: 'Sáb: 8h–14h', h3: 'Dom: Fechado', waOrder: 'Encomendar por WhatsApp' } : { title: 'Contact', sub: 'Get in touch with us', name: 'Name', email: 'Email', message: 'Message', send: 'Send Message', sentMsg: 'Message sent! Thank you.', address: 'Address', hours: 'Opening Hours', whatsapp: 'WhatsApp', h1: 'Mon–Fri: 8am–7pm', h2: 'Sat: 8am–2pm', h3: 'Sun: Closed', waOrder: 'Order via WhatsApp' }; const lbl = { display: 'block', fontFamily: 'Lato, sans-serif', color: 'var(--muted)', fontSize: 10, letterSpacing: 2, textTransform: 'uppercase', marginBottom: 6 }; return (
{t.title}
{/* Form */}
{sent ? (
✉️

{t.sentMsg}

) : (
{ e.preventDefault(); setSent(true); }}> set('name', e.target.value)} required /> set('email', e.target.value)} required />