freealberta/influence/app/templates/email/representative-contact.html

115 lines
3.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Message from Constituent</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
.container {
background-color: #f9f9f9;
border-radius: 8px;
padding: 30px;
border: 1px solid #e0e0e0;
}
.header {
text-align: center;
margin-bottom: 30px;
border-bottom: 2px solid #3498db;
padding-bottom: 20px;
}
.logo {
color: #3498db;
font-size: 24px;
font-weight: bold;
}
.content {
background-color: white;
padding: 25px;
border-radius: 6px;
margin-bottom: 20px;
border-left: 4px solid #3498db;
}
.message-body {
font-size: 16px;
line-height: 1.7;
margin: 20px 0;
color: #2c3e50;
}
.sender-info {
background-color: #f8f9fa;
padding: 15px;
border-radius: 4px;
margin: 20px 0;
border: 1px solid #e9ecef;
}
.info-item {
margin: 8px 0;
display: flex;
align-items: center;
}
.info-label {
font-weight: bold;
display: inline-block;
width: 120px;
color: #495057;
}
.info-value {
color: #2c3e50;
}
.footer {
text-align: center;
font-size: 12px;
color: #6c757d;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #e9ecef;
}
.app-branding {
color: #3498db;
font-weight: bold;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo">{{APP_NAME}}</div>
<p style="margin: 5px 0 0 0; color: #6c757d;">Constituent Communication Platform</p>
</div>
<div class="content">
<div class="message-body">
{{MESSAGE}}
</div>
<div class="sender-info">
<h4 style="margin: 0 0 10px 0; color: #495057;">Constituent Information:</h4>
<div class="info-item">
<span class="info-label">Name:</span>
<span class="info-value">{{SENDER_NAME}}</span>
</div>
<div class="info-item">
<span class="info-label">Email:</span>
<span class="info-value">{{SENDER_EMAIL}}</span>
</div>
<div class="info-item">
<span class="info-label">Postal Code:</span>
<span class="info-value">{{POSTAL_CODE}}</span>
</div>
</div>
</div>
<div class="footer">
<p>This message was sent via the <span class="app-branding">{{APP_NAME}}</span> at {{TIMESTAMP}}</p>
<p>This platform enables constituents to communicate directly with their elected representatives.</p>
</div>
</div>
</body>
</html>