abiball/templates/email/order.html.twig
Constantin Simonis f11f97a9c2 add success email (#14)
Co-authored-by: Jan-Marlon Leibl <jleibl@proton.me>
Reviewed-on: #14
Reviewed-by: jank1619 <jan@kjan.email>
2025-02-13 20:14:34 +00:00

87 lines
3.9 KiB
Twig

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Abiball - Freie Waldorfschule Bremen</title>
<style type="text/css">
body {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
}
.email-container {
max-width: 600px;
margin: 0 auto;
}
img {
max-width: 100%;
height: auto;
}
@media screen and (max-width: 600px) {
.email-container {
width: 100% !important;
padding: 10px !important;
}
.content-block {
padding: 15px !important;
}
.header-image {
width: 100% !important;
max-width: 100% !important;
}
h1 {
font-size: 24px !important;
}
h2 {
font-size: 20px !important;
}
p {
font-size: 16px !important;
}
.details-box {
padding: 15px !important;
margin: 15px 0 !important;
}
.cta-button {
width: 100% !important;
box-sizing: border-box !important;
margin: 10px 0 !important;
}
}
</style>
</head>
<body style="margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: #f6f6f6; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.4; color: #333333;">
<div style="width: 100%; background-color: #f6f6f6; padding: 15px 0;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="email-container" align="center">
<tr>
<td style="background-color: #372064; padding: 15px; text-align: center; border-radius: 8px 8px 0 0;">
<img src="{{ email.image('@images/header.jpeg') }}" alt="Abiball" class="header-image" style="width: 100%; max-width: 500px; height: auto; border-radius: 4px;">
</td>
</tr>
<tr>
<td style="background-color: #ffffff; padding: 0;">
<img src="{{ email.image('@images/background.jpeg') }}" alt="Feier" style="width: 100%; height: auto; display: block;">
</td>
</tr>
<tr>
<td style="background-color: #ffffff;" class="content-block">
<div style="padding: 30px 20px; text-align: center;">
<h1 style="color: #372064; font-size: 32px; margin: 0 0 20px 0; font-weight: 600;">Du bist eingeladen!</h1>
<p style="color: #666666; font-size: 18px; line-height: 1.6; margin: 0 0 30px 0;">
Sei dabei bei einem Abend voller Feierlichkeiten, Tanz und unvergesslicher Momente beim Abiball der Freien Waldorfschule Bremen
</p>
<div class="details-box" style="background-color: #f8f9fa; border-radius: 8px; padding: 25px 20px; margin: 0 0 25px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.05);">
<h2 style="color: #372064; font-size: 24px; margin: 0 0 20px 0; font-weight: 500;">Veranstaltungsdetails</h2>
<p style="color: #666666; margin: 10px 0; font-size: 16px;">Datum: [Datum]</p>
<p style="color: #666666; margin: 10px 0; font-size: 16px;">Uhrzeit: [Uhrzeit]</p>
<p style="color: #666666; margin: 10px 0; font-size: 16px;">Adresse: [Adresse]</p>
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>