welcome.html 176 lignes · 6138 octets
<!DOCTYPE html>
<html lang="{{ locale }}">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% if locale == "fr" %}Bienvenue{% else %}Welcome{% endif %}</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f4f4f4;
        }
        .email-container {
            background-color: #ffffff;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #2563eb;
            margin-bottom: 10px;
        }
        .welcome-icon {
            font-size: 48px;
            margin-bottom: 20px;
        }
        h1 {
            color: #1f2937;
            font-size: 28px;
            margin-bottom: 20px;
            text-align: center;
        }
        .content {
            margin-bottom: 30px;
        }
        .button-container {
            text-align: center;
            margin: 30px 0;
        }
        .button {
            display: inline-block;
            padding: 14px 32px;
            background-color: #10b981;
            color: #ffffff !important;
            text-decoration: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 16px;
        }
        .button:hover {
            background-color: #059669;
        }
        .features-list {
            margin: 20px 0;
            padding: 20px;
            background-color: #f3f4f6;
            border-radius: 6px;
        }
        .feature-item {
            margin: 12px 0;
            padding-left: 25px;
            position: relative;
        }
        .feature-item::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #10b981;
            font-weight: bold;
            font-size: 18px;
        }
        .info-box {
            margin-top: 20px;
            padding: 15px;
            background-color: #dbeafe;
            border-left: 4px solid #3b82f6;
            border-radius: 4px;
            font-size: 14px;
        }
        .footer {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e5e7eb;
            font-size: 14px;
            color: #6b7280;
            text-align: center;
        }
    </style>
</head>
<body>
    <div class="email-container">
        <div class="header">
            <div class="logo">{{ app_name }}</div>
            <div class="welcome-icon">🎉</div>
        </div>

        <h1>
            {% if locale == "fr" %}
                Bienvenue sur {{ app_name }} !
            {% else %}
                Welcome to {{ app_name }}!
            {% endif %}
        </h1>

        <div class="content">
            {% if locale == "fr" %}
                <p>Bonjour {{ username }},</p>
                <p>Nous sommes ravis de vous accueillir sur <strong>{{ app_name }}</strong> ! Votre compte a été activé avec succès.</p>
                <p>Vous pouvez maintenant profiter de toutes les fonctionnalités de la plateforme.</p>
            {% else %}
                <p>Hello {{ username }},</p>
                <p>We are delighted to welcome you to <strong>{{ app_name }}</strong>! Your account has been successfully activated.</p>
                <p>You can now enjoy all the platform's features.</p>
            {% endif %}
        </div>

        <div class="button-container">
            <a href="{{ login_url }}" class="button">
                {% if locale == "fr" %}
                    Se connecter
                {% else %}
                    Log In
                {% endif %}
            </a>
        </div>

        <div class="features-list">
            {% if locale == "fr" %}
                <p style="font-weight: 600; margin-bottom: 15px;">Ce que vous pouvez faire :</p>
                <div class="feature-item">Accéder à votre tableau de bord personnalisé</div>
                <div class="feature-item">Gérer votre profil et vos préférences</div>
                <div class="feature-item">Profiter de toutes les fonctionnalités disponibles</div>
            {% else %}
                <p style="font-weight: 600; margin-bottom: 15px;">What you can do:</p>
                <div class="feature-item">Access your personalized dashboard</div>
                <div class="feature-item">Manage your profile and preferences</div>
                <div class="feature-item">Enjoy all available features</div>
            {% endif %}
        </div>

        <div class="info-box">
            {% if locale == "fr" %}
                <p><strong>ℹ️ Besoin d'aide ?</strong></p>
                <p>Si vous avez des questions ou besoin d'assistance, n'hésitez pas à consulter notre documentation ou à contacter le support technique.</p>
            {% else %}
                <p><strong>ℹ️ Need Help?</strong></p>
                <p>If you have any questions or need assistance, feel free to check our documentation or contact technical support.</p>
            {% endif %}
        </div>

        <div class="footer">
            {% if locale == "fr" %}
                <p>Merci de nous faire confiance et bonne utilisation de {{ app_name }} !</p>
                <p>Si vous avez des questions, contactez le support technique.</p>
            {% else %}
                <p>Thank you for trusting us and enjoy using {{ app_name }}!</p>
                <p>If you have any questions, please contact technical support.</p>
            {% endif %}
            <p style="margin-top: 10px; font-size: 12px; color: #9ca3af;">
                © {{ current_year }} {{ app_name }}. Tous droits réservés.
            </p>
        </div>
    </div>
</body>
</html>