WizdomWeb/resources/views/emails/newsletter_welcome.php

72 lines
2.1 KiB
PHP

<?php
/**
* File: newsletter_welcome.php
* Template Name: Newsletter Welcome
* Purpose: HTML email template shown to users after newsletter verification.
* Triggered By: EmailService::sendNewsletterWelcome()
* Project: Wizdom Networks Website
*/
/** @var string $first_name */ ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to Wizdom Networks</title>
<style>
body {
font-family: Arial, sans-serif;
color: #333;
background-color: #f9f9f9;
padding: 40px;
}
.container {
max-width: 640px;
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 6px;
padding: 30px;
margin: auto;
}
h1 {
color: #005baa;
}
.footer {
margin-top: 30px;
font-size: 0.85em;
color: #777;
}
.cta {
display: inline-block;
background-color: #005baa;
color: white;
padding: 12px 24px;
margin-top: 20px;
text-decoration: none;
border-radius: 4px;
}
.cta:hover {
background-color: #00498a;
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to Wizdom Networks<?= isset($first_name) ? ", $first_name" : '' ?>!</h1>
<p>Thanks for subscribing to the Wizdom Networks newsletter. We're glad to have you with us.</p>
<p>You can expect expert tips, behind-the-scenes insights, and smart strategies that help make technology work for your business—not the other way around.</p>
<p>If you ever want to update your preferences or tell us more about yourself, just click below.</p>
<a class="cta" href="https://wizdom.ca/preferences">Update Preferences</a>
<p class="footer">
You're receiving this email because you opted in at wizdom.ca. If this was a mistake, you can safely <a href="https://wizdom.ca/unsubscribe">unsubscribe here</a>.
</p>
</div>
</body>
</html>