Refactor email Base component: update container styles and clean up commented code

This commit is contained in:
Marco Pedone 2025-08-19 15:53:43 +02:00
parent df9313b3b4
commit 7207e9ffd0

View file

@ -39,17 +39,13 @@ const Base = ({
<Head /> <Head />
<Preview>{preview}</Preview> <Preview>{preview}</Preview>
<Body className="bg-neutral-50 py-2 text-center font-sans text-base text-neutral-700"> <Body className="py-2 text-center font-sans text-base text-neutral-700">
<Container className="max-w-xl bg-white pt-2 pb-10"> <Container className="max-w-xl rounded-lg border border-solid border-[#eaeaea] pt-2 pb-10">
<Img <Img
referrerPolicy="no-referrer" referrerPolicy="no-referrer"
width={230.5} width={230.5}
height={44.25} height={44.25}
// src={ // src="https://lh3.google.com/u/0/d/1nEurjVWPiz0F8QRLhKcT4ZSujeFRChBs"
// process.env.NEXT_PUBLIC_BASE_URL?.includes("localhost")
// ? "https://lh3.google.com/u/0/d/1nEurjVWPiz0F8QRLhKcT4ZSujeFRChBs"
// : process.env.NEXT_PUBLIC_BASE_URL + "/Infoalloggi.png"
// }
src="cid:logo" src="cid:logo"
alt="Infoalloggi.it" alt="Infoalloggi.it"
className="mx-auto my-2 scale-80" className="mx-auto my-2 scale-80"