235 lines
No EOL
6.3 KiB
PHP
235 lines
No EOL
6.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Demande pour rejoindre le collectif</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
color: #495057;
|
|
background-color: #f5f7fa;
|
|
}
|
|
|
|
.wrapper {
|
|
background-color: #f5f7fa;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
background-color: #fff;
|
|
border-radius: 4px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header {
|
|
background: #312783;
|
|
padding: 40px 20px;
|
|
text-align: center;
|
|
color: #ffffff;
|
|
border-bottom: 4px solid #E00A1E;
|
|
}
|
|
|
|
.header img {
|
|
max-width: auto;
|
|
height: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 24px;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
letter-spacing: -0.5px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.content {
|
|
padding: 40px 30px;
|
|
}
|
|
|
|
.content p {
|
|
margin-bottom: 16px;
|
|
color: #495057;
|
|
}
|
|
|
|
.content p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info-section {
|
|
background-color: #f8f9fa;
|
|
border-left: 4px solid #312783;
|
|
padding: 20px;
|
|
margin: 25px 0;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.info-row {
|
|
display: flex;
|
|
margin-bottom: 12px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.info-row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.info-label {
|
|
font-weight: 600;
|
|
color: #312783;
|
|
min-width: 140px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.info-value {
|
|
color: #495057;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.info-value a {
|
|
color: #E00A1E;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.info-value a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.message-section {
|
|
margin: 25px 0;
|
|
}
|
|
|
|
.message-section h3 {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #312783;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.message-box {
|
|
background-color: #f8f9fa;
|
|
border-left: 4px solid #E00A1E;
|
|
padding: 20px;
|
|
border-radius: 4px;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
color: #495057;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.footer {
|
|
background-color: #f8f9fa;
|
|
padding: 25px 30px;
|
|
text-align: center;
|
|
border-top: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.footer p {
|
|
font-size: 13px;
|
|
color: #718096;
|
|
margin: 0;
|
|
}
|
|
|
|
.footer a {
|
|
color: #E00A1E;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media only screen and (max-width: 600px) {
|
|
.container {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.content {
|
|
padding: 25px 20px;
|
|
}
|
|
|
|
.header {
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.header h1 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.info-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.info-label {
|
|
margin-right: 0;
|
|
margin-bottom: 5px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<div class="container">
|
|
<div class="header">
|
|
<img src="{{ asset('favicon.svg') }}"
|
|
alt="{{ config('app.name') }}" />
|
|
<h1>Nouvelle demande pour rejoindre le collectif</h1>
|
|
</div>
|
|
<div class="content">
|
|
<div class="info-section">
|
|
<div class="info-row">
|
|
<span class="info-label">Nom :</span>
|
|
<span class="info-value">{{ $data['lastName'] }} {{ $data['firstName'] }}</span>
|
|
</div>
|
|
<div class="info-row">
|
|
<span class="info-label">Email :</span>
|
|
<span class="info-value"><a href="mailto:{{ $data['email'] }}">{{ $data['email'] }}</a></span>
|
|
</div>
|
|
<div class="info-row">
|
|
<span class="info-label">Téléphone :</span>
|
|
<span class="info-value">{{ $data['phone'] }}</span>
|
|
</div>
|
|
<div class="info-row">
|
|
<span class="info-label">Fonction :</span>
|
|
<span class="info-value">{{ $data['role'] }}</span>
|
|
</div>
|
|
<div class="info-row">
|
|
<span class="info-label">Société :</span>
|
|
<span class="info-value">{{ $data['company'] }}</span>
|
|
</div>
|
|
<div class="info-row">
|
|
<span class="info-label">Communauté :</span>
|
|
<span class="info-value">{{ $data['community'] }}</span>
|
|
</div>
|
|
<div class="info-row">
|
|
<span class="info-label">Soutient le manifeste :</span>
|
|
<span class="info-value">{{ ($data['supportsManifesto'] ?? false) ? 'Oui' : 'Non' }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="message-section">
|
|
<h3>Message :</h3>
|
|
<div class="message-box">{!! nl2br(e($data['message'])) !!}</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<p>© {{ now()->year }} {{ config('app.name') }}. Tous droits réservés.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |