apskel-pos-backend/templates/monthly_points.html

147 lines
3.4 KiB
HTML
Raw Normal View History

2025-03-08 00:35:23 +07:00
<!doctype html>
2025-03-16 11:01:58 +08:00
<html xmlns="http://www.w3.org/1999/xhtml">
2025-03-08 00:35:23 +07:00
<head>
2025-03-16 11:01:58 +08:00
<title>Points Notification</title>
2025-03-08 00:35:23 +07:00
<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">
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
2025-03-16 11:01:58 +08:00
background-color: #f5f5f5;
font-family: Arial, sans-serif;
2025-03-08 00:35:23 +07:00
}
.content {
background-color: #ffffff;
margin: 0px auto;
max-width: 600px;
2025-03-16 11:01:58 +08:00
padding: 0;
border-radius: 12px;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
2025-03-08 00:35:23 +07:00
}
.header {
2025-03-16 11:01:58 +08:00
background-color: #d90000;
padding: 25px 30px;
2025-03-08 00:35:23 +07:00
text-align: center;
}
2025-03-16 11:01:58 +08:00
.logo {
width: 120px;
margin-bottom: 15px;
}
.greeting {
color: white;
font-size: 22px;
font-weight: bold;
margin: 0;
2025-03-08 00:35:23 +07:00
}
2025-03-16 11:01:58 +08:00
.body-content {
padding: 30px;
}
.points-card {
background-color: #fff8f0;
border-radius: 10px;
padding: 20px;
margin-bottom: 25px;
border-left: 5px solid #f46f02;
}
.points-heading {
2025-03-08 00:35:23 +07:00
font-size: 16px;
2025-03-16 11:01:58 +08:00
color: #666;
margin: 0 0 5px 0;
2025-03-08 00:35:23 +07:00
}
2025-03-16 11:01:58 +08:00
.points-value {
2025-03-08 00:35:23 +07:00
font-weight: bold;
2025-03-16 11:01:58 +08:00
font-size: 28px;
color: #f46f02;
margin: 0 0 5px 0;
2025-03-08 00:35:23 +07:00
}
2025-03-16 11:01:58 +08:00
.expiry {
font-size: 14px;
color: #888;
margin: 0;
2025-03-08 00:35:23 +07:00
}
2025-03-16 11:01:58 +08:00
.total-points-card {
background-color: #f5f5f5;
border-radius: 10px;
padding: 20px;
margin-bottom: 25px;
2025-03-08 00:35:23 +07:00
}
2025-03-16 11:01:58 +08:00
.message {
font-size: 16px;
line-height: 1.5;
color: #333333;
margin-bottom: 25px;
2025-03-08 00:35:23 +07:00
}
.cta-button {
display: block;
2025-03-16 11:01:58 +08:00
width: 100%;
padding: 15px 0;
2025-03-08 00:35:23 +07:00
background-color: #d90000;
color: #ffffff !important;
font-size: 16px;
font-weight: bold;
text-align: center;
text-decoration: none;
2025-03-16 11:01:58 +08:00
border-radius: 8px;
}
.footer {
font-size: 12px;
line-height: 1.5;
text-align: center;
color: #808080;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #eeeeee;
2025-03-08 00:35:23 +07:00
}
</style>
</head>
<body>
2025-03-16 11:01:58 +08:00
<div style="padding: 40px 20px; background-color: #f5f5f5;">
2025-03-08 00:35:23 +07:00
<div class="content">
2025-03-16 11:01:58 +08:00
<div class="header">
<img src="https://res.cloudinary.com/dl0wpumax/image/upload/c_thumb,w_200,g_face/v1741363977/61747686_5_vtz0n4.png" alt="Enaklo Logo" class="logo">
<h1 class="greeting">Hai {{ .UserName }}!</h1>
2025-03-08 00:35:23 +07:00
</div>
2025-03-16 11:01:58 +08:00
<div class="body-content">
<div class="points-card">
<p class="points-heading">Kamu dapat poin</p>
<p class="points-value">{{ .NewPoints }} {{ .PointsName }}</p>
<p class="expiry">Berlaku sampai {{ .ExpiryDate }}</p>
</div>
<div class="message">
Kamu bisa pakai poinnya untuk memotong jumlah transaksimu atau ditukarkan dengan Deals. Yuk, pakai sekarang!
</div>
<a href="{{ .RedeemLink }}" class="cta-button">Pakai Sekarang</a>
<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.com" style="color: #f46f02;">support@enaklo.com</a>.
</div>
2025-03-08 00:35:23 +07:00
</div>
</div>
</div>
</body>
2025-03-16 11:01:58 +08:00
</html>