Files
PowderCoatingLogix/src/PowderCoating.Web/Views/Unsubscribe/EmailConfirm.cshtml
T
2026-04-23 21:38:24 -04:00

52 lines
1.8 KiB
Plaintext

@{
ViewData["Title"] = "Email Preferences Updated";
Layout = null; // Standalone page — no sidebar, no nav
var alreadyDone = (bool)(ViewBag.AlreadyUnsubscribed ?? false);
var name = (string?)ViewBag.CustomerName;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"]</title>
<link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/lib/bootstrap-icons/font/bootstrap-icons.css" />
<style>
body { background: #f8f9fa; }
.card { max-width: 540px; }
</style>
</head>
<body class="d-flex align-items-center justify-content-center min-vh-100">
<div class="card border-0 shadow-sm mx-auto p-4 text-center">
<div class="mb-3">
<i class="bi bi-envelope-x text-success" style="font-size: 3rem;"></i>
</div>
<h2 class="h4 mb-3">
@(alreadyDone ? "Already Unsubscribed" : "You've Been Unsubscribed")
</h2>
@if (!string.IsNullOrWhiteSpace(name))
{
<p class="text-muted">Hi <strong>@name</strong>,</p>
}
@if (alreadyDone)
{
<p class="text-muted">
Your email address is already opted out of notifications.
No further action is needed.
</p>
}
else
{
<p class="text-muted">
You've been successfully removed from our email notification list.
You will no longer receive job status updates or quote notifications by email.
</p>
<p class="text-muted small">
If you change your mind, contact us and we'll re-enable email notifications for you.
</p>
}
</div>
</body>
</html>