{# # ============================================================================ # ORGANISM: LANDING PILLARS # ============================================================================ # # Section présentant les 3 piliers de Bubul : Infrastructure LMS, # Création de contenus IA, et Gestion & Pilotage. # # ============================================================================ # COMPOSITION # ============================================================================ # # - _atoms/icon/icon.html.twig # # ============================================================================ # PARAMETERS # ============================================================================ # # | Parameter | Type | Default | Description | # |------------|--------|--------------------------------------|-------------------------| # | surtitle | string | 'CE QUE NOUS FAISONS POUR VOUS' | Eyebrow text | # | title | string | 'Une solution complète,...' | H2 title (HTML allowed) | # | subtitle | string | 'Bubul prend en charge...' | Subtitle paragraph | # | pillars | array | (default 3 pillars) | [{icon, title, description, points, badge, gradient, gradientStart, accentColor, number, badgeBg, screenshot}] | # | pills | array | (default 3 pills) | [{label, bgClass}] | # | class | string | '' | Additional CSS classes | # | id | string | 'pillars' | HTML anchor id | # # ============================================================================ # USAGE EXAMPLES # ============================================================================ # # {% include '_organisms/landing/pillars.html.twig' only %} # # ============================================================================ #} {# ============================================================================ DEFAULT VALUES ============================================================================ #} {% set surtitle = surtitle ?? 'CE QUE NOUS FAISONS POUR VOUS' %} {% set title = title ?? 'Une solution complète,
de l\'infrastructure aux contenus' %} {% set subtitle = subtitle ?? 'Bubul prend en charge chaque étape de votre déploiement e-learning. Du LMS à la création de contenus, on s\'occupe de tout.' %} {% set id = id ?? 'pillars' %} {% set class = class ?? '' %} {% set defaultPills = [ { label: 'Infrastructure LMS', bgClass: 'bg-primary/8 text-primary' }, { label: '6 Outils pédagogiques', bgClass: 'bg-cohorts/8 text-cohorts' }, { label: 'Pilotage apprenants', bgClass: 'bg-info/8 text-info' } ] %} {% set pills = pills ?? defaultPills %} {# ============================================================================ PILLARS DATA ============================================================================ #} {% set defaultPillars = [ { icon: 'server', title: 'On monte votre LMS', description: 'De l\'installation à la configuration, on prend en charge le déploiement technique de votre LMS. Votre plateforme e-learning est opérationnelle sans effort de votre côté.', points: [ 'Installation et configuration LMS', 'Hébergement et maintenance inclus', 'Opérationnel rapidement', 'Support technique dédié' ], badge: 'Infrastructure', gradient: 'linear-gradient(135deg, #0C81E4 0%, #42A5F5 100%)', gradientStart: '#0C81E4', accentColor: 'primary', number: '01', badgeBg: 'bg-primary/8 text-primary', screenshot: '/img/landing/moodle.png' }, { icon: 'magic-stick', title: 'Créez vos contenus pédagogiques en quelques minutes', description: 'Moodia, Slidia, Castia, Monalisia, Serenia — créez des cours complets, présentations, podcasts et infographies en quelques minutes. L\'IA pense pédagogie à votre place.', points: [ 'Cours LMS complets au format MBZ', 'Diaporamas PowerPoint/OpenOffice', 'Podcasts pédagogiques', 'Infographies aux couleurs de votre établissement' ], badge: 'Création', gradient: 'linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%)', gradientStart: '#7C3AED', accentColor: 'cohorts', number: '02', badgeBg: 'bg-cohorts/8 text-cohorts', screenshot: '/img/landing/tools.png' }, { icon: 'users-group', title: 'SAM pilote vos apprenants', description: 'SAM connecte votre LMS via l\'API et vous offre un dashboard graphique complet pour suivre la progression de vos apprenants et gérer vos cohortes.', points: [ 'Dashboard graphique de suivi', 'Gestion des cohortes et inscriptions', 'Synchronisation via API LMS', 'Suivi de progression en temps réel' ], badge: 'Pilotage', gradient: 'linear-gradient(135deg, #0891B2 0%, #22D3EE 100%)', gradientStart: '#0891B2', accentColor: 'info', number: '03', badgeBg: 'bg-info/8 text-info', screenshot: '/img/landing/SAM.png' } ] %} {% set pillars = pillars ?? defaultPillars %} {# ============================================================================ ACCENT COLOR CLASSES (keyed by accentColor for dynamic lookup) ============================================================================ #} {% set accentTextClasses = { 'primary': 'text-primary', 'cohorts': 'text-cohorts', 'info': 'text-info' } %} {% set accentCheckColors = { 'primary': 'primary', 'cohorts': 'cohorts', 'info': 'info' } %} {# ============================================================================ HTML OUTPUT ============================================================================ #}
{# ===== Top gradient fade (from hero) ===== #}
{# ===== Bottom gradient fade (to how-it-works) ===== #}
{# ===== Header ===== #}

{{ surtitle }}

{{ title|raw }}

{{ subtitle }}

{# ===== Pillar pills ===== #} {% if pills|length > 0 %}
{% for pill in pills %} {{ pill.label }} {% endfor %}
{% endif %}
{# ===== Pillars ===== #}
{% for pillar in pillars %}
{# ===== Screenshot — 58% de la largeur ===== #}
{# Browser bar colorée #}
{# Screenshot pleine largeur, taille naturelle #} {{ pillar.title }}
{# ===== Texte — 42% ===== #}
{{ pillar.badge }}

{{ pillar.title }}

{{ pillar.description }}

    {% for point in pillar.points %}
  • {% include '_atoms/icon/icon.html.twig' with { name: 'check-circle', size: 'md', color: accentCheckColors[pillar.accentColor] ?? 'primary' } only %} {{ point }}
  • {% endfor %}
{% endfor %}