Files
mailer-dev-console/htdocs/app/mail/templates/thanks-template.php

104 lines
6.8 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
$email = $ctx['email'] ?? '';
$username = $ctx['username'] ?? '';
$domain = $ctx['domain'] ?? '';
$company = $ctx['company'] ?? '';
$github = $ctx['github'] ?? '';
$website = $ctx['website'] ?? '';
$yearText = $ctx['yearText'] ?? '';
$subject = "{$domain} - Thanks For Reaching Out";
$body = <<<HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;600;700&display=swap" rel="stylesheet" />
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@300;400;600;700&display=swap');
.body-font { font-family: 'Lexend Deca', -apple-system !important; }
.heading-font { font-family: 'Lexend Deca', -apple-system !important; font-weight: 600; }
a { color: #1d4ed8; }
</style>
</head>
<body class="body-font" style="margin:0;padding:0;background-color:#ffffff;color:#0f172a;font-family:'Lexend Deca', -apple-system;">
<table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="background:#ffffff;padding:24px 12px;font-family:'Lexend Deca', -apple-system;">
<tr>
<td align="center">
<table role="presentation" cellpadding="0" cellspacing="0" width="640" style="max-width:640px;width:100%;border-collapse:collapse;text-align:left;font-family:'Lexend Deca', -apple-system;">
<tr>
<td style="padding-top:28px;padding-bottom:8px;text-align:center;">
<h1 class="heading-font" style="font-size:28px;line-height:34px;margin:0;font-weight:600;color:#0f172a;text-align:center;font-family:'Lexend Deca', -apple-system;">
Thanks For Reaching Out
</h1>
</td>
</tr>
<tr>
<td style="padding:18px 16px 8px 16px;background:#ffffff;font-family:'Lexend Deca', -apple-system;">
<p style="font-size:16px;line-height:22px;color:#475569;margin:0 0 16px 0;font-family:'Lexend Deca', -apple-system;">
Hi <strong style="color:#0f172a;">{$username}</strong>,
</p>
<p style="font-size:16px;line-height:22px;color:#475569;margin:0 0 16px 0;font-family:'Lexend Deca', -apple-system;">
<strong style="color:#0f172a;">{$domain}</strong> has received the query and our team has started reviewing the details youve shared.
We're pleased to thank you for spending your precious time with <strong style="color:#0f172a;">{$domain}</strong>
. i18n support isnt available in all regions yet, so were sorry if you experienced any issues.
</p>
<p style="font-size:16px;line-height:22px;color:#475569;margin:0 0 16px 0;font-family:'Lexend Deca', -apple-system;">
Well review your recommendation and let you know whether we can use it or not.
We're a small, quiet corner of the internet built by a few of us who still believe the
web can be yours again.
</p>
<div style="height:1px;background:#e6e9ef;margin:20px 0;"></div>
<p style="font-size:16px;line-height:22px;color:#475569;margin:0 0 16px 0;font-family:'Lexend Deca', -apple-system;">
This query was received by the email address:
<a href="mailto:{$email}" style="color:#0f172a;font-family:'Lexend Deca', -apple-system;">{$email}</a>.
</p>
<div style="height:1px;background:#e6e9ef;margin:20px 0;"></div>
<p style="font-size:14px;line-height:20px;color:#6b7280;margin:0 0 12px 0;font-family:'Lexend Deca', -apple-system;">
If you did not make this query, or believe we contacted the wrong person, kidnly ignore this email.
However, if you have any new quaries, requests, or wish to contribute, feel free to reach out to us at this email address.
</p>
<p style="font-size:16px;line-height:18px;color:#475569;margin:18px 0 0 0;font-family:'Lexend Deca', -apple-system;">
Sincerely,
</p>
<p style="font-size:16px;line-height:18px;color:#0f172a;font-weight:600;margin:6px 0 0 0;font-family:'Lexend Deca', -apple-system;">
{$domain} Support
</p>
</td>
</tr>
<tr>
<td style="padding:14px 12px 28px 12px;font-family:'Lexend Deca', -apple-system;">
<table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="background:#f8fafc;padding:12px;border-radius:6px;font-family:'Lexend Deca', -apple-system;">
<tr>
<td style="text-align:center;font-size:12px;color:#6b7280;line-height:20px;font-family:'Lexend Deca', -apple-system;">
<div style="margin-bottom:4px;font-family:'Lexend Deca', -apple-system;">
<a href="https://{$domain}.in" style="color:inherit;text-decoration:none;font-family:'Lexend Deca', -apple-system;">{$domain}</a> |
<a href="https://{$domain}.in/support" style="color:inherit;text-decoration:none;font-family:'Lexend Deca', -apple-system;">Support</a> |
<a href="https://{$domain}.in/privacy-policy" style="color:inherit;text-decoration:none;font-family:'Lexend Deca', -apple-system;">Privacy Policy</a>
</div>
<div style="font-size:12px;color:#475569;font-family:'Lexend Deca', -apple-system;">
A small community under {$company}.<br>
&copy; {$yearText} {$company}. All rights reserved.
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
HTML;
return [
'label' => "{$domain} Thanks Reaching",
'subject' => $subject,
'body' => $body,
];