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

Landing Pillars

Section 3 piliers avec screenshots alternes

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

Landing Pillars — 3 Piliers

Public

Section presentant les 3 piliers de Bubul avec un layout screenshot 58% / texte 42% alternatif. Header avec pills de categorie, barre de titre colore du screenshot (browser bar style). Chaque pilier a sa couleur d'accent.

3

Piliers defaut

58/42

Split layout

3

Pills header

alt

Alternance

{# ===== COMPOSITION ===== #}

Composition

Atomes utilises

  • icon check-circle dans les points cles de chaque pilier
{# ===== UTILISATION ===== #}

Utilisation

Exemple de code Twig

{% verbatim %}{# Defaut (3 piliers Bubul) #}
{% include '_organisms/landing/pillars.html.twig' only %}

{# Personnalise #}
{% include '_organisms/landing/pillars.html.twig' with {
    surtitle: 'CE QUE NOUS FAISONS',
    title: 'Une solution complete,
de l\'infrastructure aux contenus', subtitle: 'Description...', pills: [ { label: 'Infrastructure LMS', bgClass: 'bg-primary/8 text-primary' }, { label: '6 Outils pedagogiques', bgClass: 'bg-cohorts/8 text-cohorts' } ], pillars: [ { icon: 'server', title: 'On monte votre LMS', description: 'Description...', points: ['Point 1', 'Point 2'], 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' } ] } only %}{% endverbatim %}
{# ===== PARAMETRES ===== #}

Parametres

Options de configuration

Parametre Type Defaut Description
surtitle string 'CE QUE NOUS FAISONS POUR VOUS' Eyebrow text
title string 'Une solution complete...' H2 (HTML autorise, <br> OK)
subtitle string 'Bubul prend en charge...' Paragraphe sous le titre
pills array (3 pills defaut) Pills de categorie sous le titre. Chaque pill: { label, bgClass }
pillars array (3 piliers defaut) Liste des piliers. Chaque pilier: { icon, title, description, points, badge, gradient, gradientStart, accentColor, number, badgeBg, screenshot }
class string '' Classes additionnelles
id string 'pillars' Ancre HTML
{# ===== NOTES TECHNIQUES ===== #}

Notes Techniques

Implementation

1

accentColor → lookup map

Les classes de couleur des check-circles sont resolues via accentCheckColors, un objet Twig qui mappe les tokens 'primary', 'cohorts', 'info' vers les couleurs icon correspondantes.

2

Browser bar colore

Chaque screenshot est encadre d'une barre "navigateur" avec les dots macOS et un fond au gradient de la couleur du pilier (pillar.gradient).

3

Gradients de fond

La section a des gradients de fondu en haut et en bas (absolute inset) pour une transition douce avec les sections voisines.

{% endblock %}