{% extends 'base.html.twig' %} {% block title %}Compléter mon profil - Na+{% endblock %} {% block body %}
Logo n-atypik

Mon profil

{# BARRE DE PROGRESSION — 4 étapes #}
{% set labels = ['Bienvenue', 'Identité', 'Coordonnées', 'Validation'] %} {% for i in 1..4 %}
{{ i }}
{{ labels[i-1] }}
{% endfor %}

Étape {{ step }} sur 4 — {{ labels[step-1] }}

{# ==================== ÉTAPE 1 : BIENVENUE ==================== #} {% if step == 1 %}

Bienvenue {{ user.firstName }} !

Tu vas bientôt faire partie de la communauté Na+, un espace bienveillant pensé pour les personnes neuro-atypiques.

Avant d'accéder à la plateforme, nous allons compléter ton profil ensemble. Cela prend environ 3 minutes et tu pourras modifier tout ça plus tard.

🔒 Tes données sont en sécurité. Tu choisis ce que tu rends public, visible aux membres, ou gardé privé.

{# ==================== ÉTAPE 2 : IDENTITÉ ==================== #} {% elseif step == 2 %}

Ton identité

{% if user.avatarPath %}
Avatar
{% endif %}

JPG, PNG, GIF ou WebP — max 5 Mo

{% include 'profile/_wizard_nav.html.twig' with {'step': step} %}
{# ==================== ÉTAPE 3 : COORDONNÉES ==================== #} {% elseif step == 3 %}

Tes coordonnées : Elles resteront toujours privées !


Uniquement pour vérifier que tu as +18 ans

Non conservée après vérification par l'équipe Na+

Transmise de façon sécurisée

{% if wizardData.id_card_path is defined %}

Carte déjà uploadée

{% endif %}

JPG, PNG ou PDF — max 5 Mo

{% include 'profile/_wizard_nav.html.twig' with {'step': step} %}
{# ==================== ÉTAPE 4 : RÉCAPITULATIF ==================== #} {% elseif step == 4 %}

Récapitulatif

Vérifie tes informations avant de valider. Tu pourras tout modifier après validation.

Identité
Pseudo : {{ wizardData.pseudo ?? '—' }}
Affichage : {{ (wizardData.is_anonymous ?? false) ? 'Pseudonyme uniquement' : 'Nom complet affiché' }}
Police OpenDyslexic : {{ (wizardData.dyslexia_font ?? false) ? 'Activée' : 'Non' }}
Coordonnées (toujours privées)
{{ wizardData.address_line1 ?? '—' }}{% if wizardData.address_line2 %}, {{ wizardData.address_line2 }}{% endif %}
{{ wizardData.postal_code ?? '' }} {{ wizardData.city ?? '' }}
{{ wizardData.country ?? 'France' }}
Téléphone : {{ wizardData.phone ?? '—' }}
Carte d'identité
{{ (wizardData.id_card_path ?? '') ? 'Téléchargée' : 'Manquante' }}
Modifier mes infos
{% endif %}
{% endblock %}