{% extends 'base.html.twig' %} {% block title %}Landing Tools - Design System - Bubul{% endblock %} {% block body %}
{% include '_atoms/icon/icon.html.twig' with { name: 'chevron-left', size: 'sm', color: 'gray' } %}
Organisme /

Landing Tools

Section "Nos bulles" avec les 3 outils Bubul interactifs

{# ===== EXPLICATION ===== #}
{% include '_atoms/icon/icon.html.twig' with { name: 'bubul-moodia', size: 'lg', color: 'white' } %}

Section Nos Bulles

Interactif

Presentation des 3 outils Bubul (Moodia, Serenia, Slidia) avec une liste cliquable a gauche et un apercu image a droite. Le Stimulus controller gere la selection et l'affichage.

3

Outils

2

Colonnes

1

Controller

click

Action

{# ===== UTILISATION ===== #}

Utilisation

Exemple de code Twig

{% verbatim %}{% include '_organisms/landing/tools.html.twig' only %}

{# Structure d'un outil #}
tools: [
    {
        id: 'moodia',
        icon: 'bubul-moodia',
        title: 'Moodia',
        description: 'Description...',
        image: '/img/landing/step1.png'
    }
]{% endverbatim %}
{# ===== DEMO ===== #}

Demo

Apercu interactif - cliquez sur les outils

{% include '_organisms/landing/tools.html.twig' only %}
{# ===== STIMULUS CONTROLLER ===== #}

Stimulus Controller

shared--landing-tools

1

Targets

toolItem (boutons) et preview (images)

2

Action

click->shared--landing-tools#selectTool

3

Comportement

Change les classes actives du bouton et affiche/masque le preview correspondant

{# ===== PARAMETRES ===== #}

Parametres

Options de configuration

Parametre Type Defaut Description
surtitle string 'NOS BULLES' Texte au-dessus du titre
title string 'Des outils IA qui...' Titre principal
tools array [3 outils] Array de {id, icon, title, description, image}
{% endblock %}