{% extends '@DediSyliusTheme/DesignSystem/layout.html.twig' %}

{% set channel = sylius.channel %}
{% set localeCode = sylius.localeCode %}
{% set user = {
    'username': 'client@dedi-agency.com',
    'emailVerificationToken': 'test',
    'passwordResetToken': 'test',
} %}
{% set data = {
    'email': 'client@dedi-agency.com',
    'message': 'Lorem ipsum dolor s\'it amet, consectetur adipiscing elit. Pellentesque lobortis sodales magna, sit amet suscipit mauris laoreet ut. Aliquam erat volutpat. Donec mollis velit non hendrerit feugiat. Nam dictum vulputate sollicitudin. Sed viverra neque ut nulla mattis posuere. Praesent sit amet risus felis. Morbi rutrum orci sit amet dolor aliquet aliquet. Donec faucibus felis massa, et blandit ligula tristique nec. Duis tempor justo sed mollis hendrerit. Proin eu porta urna, ac dapibus odio. Praesent non eleifend erat. Nulla maximus volutpat tempus. Aenean varius magna nec enim finibus, sit amet accumsan elit condimentum.\nUt quis euismod enim. Nunc iaculis orci eu velit ornare tincidunt.',
} %}
{% set order = {
    'tokenValue': 'test',
    'number': '000000001',
    'customer': {
        'firstName': 'John',
        'lastName': 'Doe',
    },
    'items': [
        {
            'product': {
            'name': 'Nom du produit',
            'thumbnailDescription': '3 bouteilles de 75 cl au choix parmi une sélection de 25 bouteilles Excellence - 1 bouteille de Champagne 75 cl - lorem ipsum',
        }
        }
    ]
} %}

{% block content %}
    <div class="ds-container btn-wrapper">
        <h2 class="ds-title">{{ 'app.design_system.emails.title'|trans }}</h2>
        <p class="ds-text">{{ 'app.design_system.emails.desc'|trans }}</p>

        <h3 class="ds-subtitle">Inscription</h3>
        {% include '@SyliusShop/Email/userRegistration.html.twig' %}

        <h3 class="ds-subtitle">Vérification de l'adresse email</h3>
        {% include '@SyliusShop/Email/verification.html.twig' %}

        <h3 class="ds-subtitle">Réinitialisation du mot de passe</h3>
        {% include '@SyliusShop/Email/passwordReset.html.twig' %}

        <h3 class="ds-subtitle">Contact</h3>
        {% include '@SyliusShop/Email/contactRequest.html.twig' %}

        <h3 class="ds-subtitle">Confirmation de commande</h3>
        {% include '@SyliusShop/Email/orderConfirmation.html.twig' %}
    </div>
{% endblock %}
