apskel-pos-backend/templates/welcome_member.html

331 lines
10 KiB
HTML
Raw Normal View History

2025-03-15 15:51:18 +08:00
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>Selamat Datang di Enaklo Membership</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
/* CLIENT-SPECIFIC STYLES */
body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
img { -ms-interpolation-mode: bicubic; }
/* RESET STYLES */
img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
table { border-collapse: collapse !important; }
body { height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important; }
/* GENERAL STYLES */
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f1f0f7;
}
.wrapper {
padding: 20px;
background-color: #f1f0f7;
max-width: 600px;
margin: 0 auto;
}
.content {
background-color: #ffffff;
padding: 30px;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.logo {
display: block;
margin: 0 auto 25px;
width: 150px;
}
.title {
font-size: 22px;
line-height: 26px;
color: #000000;
text-align: center;
margin-bottom: 20px;
font-weight: bold;
}
.text {
font-size: 16px;
line-height: 24px;
color: #333333;
text-align: center;
margin-bottom: 20px;
}
/* MEMBER CARD STYLES */
.member-card {
background: linear-gradient(135deg, #dc0404 0%, #d90000 100%);
padding: 20px;
border-radius: 10px;
color: white !important;
margin: 20px auto;
width: 80%;
max-width: 300px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.member-name {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
color: white !important;
}
.member-id {
font-size: 14px;
margin-bottom: 15px;
opacity: 0.9;
color: white !important;
}
.member-since {
font-size: 12px;
margin-top: 15px;
text-align: right;
color: white !important;
}
.member-name {
font-size: 18px;
font-weight: bold;
margin-bottom: 5px;
}
.member-id {
font-size: 14px;
margin-bottom: 15px;
opacity: 0.9;
}
.card-divider {
border-top: solid 1px rgba(255,255,255,0.3);
margin: 10px 0;
width: 100%;
}
.member-since {
font-size: 12px;
margin-top: 15px;
text-align: right;
}
/* BENEFITS SECTION STYLES */
.benefits-container {
background-color: #f9f9f9;
border-radius: 8px;
padding: 20px;
margin: 20px 0;
}
.benefit-item {
display: block;
margin: 15px 0;
text-align: left;
overflow: hidden;
}
.number-circle {
background-color: #dc0404;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
text-align: center;
line-height: 30px;
font-weight: bold;
float: left;
margin-right: 15px;
margin-top: 3px;
}
.benefit-content {
display: block;
margin-left: 45px;
}
.benefit-title {
font-weight: bold;
display: block;
margin-bottom: 5px;
}
.benefit-description {
font-size: 14px;
color: #333333;
line-height: 1.5;
}
/* BUTTON STYLES */
.cta-button {
display: block;
width: 200px;
margin: 25px auto;
padding: 12px 24px;
background-color: #dc0404;
color: #ffffff;
font-size: 16px;
font-weight: bold;
text-align: center;
text-decoration: none;
border-radius: 5px;
}
.divider {
border-top: solid 1px #e0e0e0;
margin: 25px auto;
width: 100%;
}
.footer {
font-size: 12px;
line-height: 18px;
text-align: center;
color: #808080;
margin-top: 30px;
}
/* FOR MOBILE */
@media screen and (max-width: 600px) {
.wrapper {
padding: 10px !important;
}
.content {
padding: 20px !important;
}
.member-card {
width: 90% !important;
}
}
</style>
</head>
<body>
<div class="wrapper">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<div class="content">
<!-- Logo -->
<img src="https://res.cloudinary.com/dl0wpumax/image/upload/c_thumb,w_200,g_face/v1741363977/61747686_5_vtz0n4.png" width="80" alt="Enaklo Logo" class="logo">
<!-- Title -->
<div class="title">Selamat Datang di Program Membership Enaklo!</div>
<!-- Greeting -->
<div class="text">
Halo {{ .UserName }},<br><br>
Terima kasih telah bergabung dengan program membership Enaklo. Kami senang Anda menjadi bagian dari keluarga kami!
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center">
<table class="member-card" width="300" cellpadding="0" cellspacing="0" border="0" style="background: linear-gradient(135deg, #dc0404 0%, #d90000 100%); border-radius: 10px; color: white !important;">
<tr>
<td style="padding: 20px;">
<div class="member-name" style="font-size: 18px; font-weight: bold; margin-bottom: 5px; color: white !important;">{{ .UserName }}</div>
<div class="member-id" style="font-size: 14px; margin-bottom: 15px; opacity: 0.9; color: white !important;">ID Member: {{ .MemberID }}</div>
<div class="card-divider" style="border-top: solid 1px rgba(255,255,255,0.3); margin: 10px 0; width: 100%;"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<div style="font-size: 12px; opacity: 0.9; color: white !important;">{{ .PointsName }}</div>
<div style="font-size: 22px; font-weight: bold; color: white !important;">{{ .PointsBalance }}</div>
</td>
<td align="right">
<img src="https://res.cloudinary.com/dl0wpumax/image/upload/c_thumb,w_200,g_face/v1741363977/61747686_5_vtz0n4.png" width="40" alt="Logo">
</td>
</tr>
</table>
<div class="member-since" style="font-size: 12px; margin-top: 15px; text-align: right; color: white !important;">Member sejak {{ .CurrentDate }}</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div class="text">
Sebagai member Enaklo, Anda berhak mendapatkan berbagai keuntungan eksklusif.
</div>
<!-- Benefits Section with Fixed Numbered Circles -->
<div class="benefits-container">
<!-- Benefit 1 -->
<div class="benefit-item">
<div class="number-circle">1</div>
<div class="benefit-content">
<span class="benefit-title">Kumpulkan {{ .PointsName }}</span>
<span class="benefit-description">Dapatkan {{ .PointsName }} setiap kali Anda bertransaksi di Enaklo. Setiap Rp 1.000 = 1 {{ .PointsName }}.</span>
</div>
</div>
<!-- Benefit 2 -->
<div class="benefit-item">
<div class="number-circle">2</div>
<div class="benefit-content">
<span class="benefit-title">Tukarkan dengan Reward Menarik</span>
<span class="benefit-description">{{ .PointsName }} Anda dapat ditukarkan dengan berbagai menu favorit atau diskon khusus.</span>
</div>
</div>
<!-- Benefit 3 -->
<div class="benefit-item">
<div class="number-circle">3</div>
<div class="benefit-content">
<span class="benefit-title">Penawaran Eksklusif</span>
<span class="benefit-description">Dapatkan akses ke penawaran dan promosi khusus yang hanya tersedia untuk member.</span>
</div>
</div>
<!-- Benefit 4 -->
<div class="benefit-item">
<div class="number-circle">4</div>
<div class="benefit-content">
<span class="benefit-title">Kejutan di Hari Spesial</span>
<span class="benefit-description">Dapatkan hadiah spesial di hari ulang tahun Anda dan acara spesial lainnya.</span>
</div>
</div>
</div>
<div class="text">
Untuk melihat {{ .PointsName }} Anda dan menukarkan hadiah, kunjungi halaman rewards kami.
</div>
<!-- CTA Button - Center aligned and proper width -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center">
<a href="{{ .RedeemLink }}" class="cta-button" style="display: inline-block; color: #ffffff; text-decoration: none;">Lihat Rewards</a>
</td>
</tr>
</table>
<div class="divider"></div>
<div class="text" style="font-size: 14px; color: #666666;">
Tunjukkan kartu member digital Anda (di email ini) atau sebutkan nomor telepon Anda saat bertransaksi di Enaklo untuk mengumpulkan {{ .PointsName }}.
</div>
<div class="footer">
Email ini dikirim secara otomatis. Mohon jangan membalas email ini. <br>
Butuh bantuan? Hubungi tim support kami di <a href="mailto:support@enaklo.co.id" style="color: #d90000; text-decoration: none;">support@enaklo.co.id</a>.
<br><br>
&copy; 2025 Enaklo. All rights reserved.
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>