WizdomWeb/resources/views/emails/verify_newsletter.php

44 lines
1.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* File: verify_newsletter.php
* Path: /resources/views/emails/verify_newsletter.php
* Template Name: Verify Newsletter
* Purpose: Email template for newsletter opt-in verification (double opt-in).
* Triggered By: EmailService::sendVerificationEmail(..., 'verify_newsletter')
* Project: Wizdom Networks Website
*/
/** @var string $first_name */
/** @var string $verification_link */
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Confirm Your Subscription</title>
<style>
body { font-family: Arial, sans-serif; background: #f9f9f9; color: #333; padding: 30px; }
.container { background: #fff; border: 1px solid #ddd; padding: 25px; max-width: 640px; margin: auto; border-radius: 6px; }
h1 { color: #005baa; }
.cta { display: inline-block; background: #005baa; color: white; padding: 12px 24px; margin-top: 20px; text-decoration: none; border-radius: 4px; }
.cta:hover { background: #004a91; }
.footer { font-size: 0.85em; color: #777; margin-top: 40px; }
</style>
</head>
<body>
<div class="container">
<h1>Welcome to Wizdom<?= isset($first_name) ? ", $first_name" : '' ?>!</h1>
<p>You're almost done! Please confirm your subscription to the Wizdom Networks newsletter by verifying your email address.</p>
<p><a class="cta" href="<?= htmlspecialchars($verification_link) ?>">Confirm My Subscription</a></p>
<p class="footer">
If you didnt request to join our newsletter, you can safely ignore this email.
</p>
</div>
</body>
</html>