{% extends 'base.html.twig' %} {% block title %}Landing Pricing - Design System - Bubul{% endblock %} {% block body %}
Section tarification avec 3 formules et mise en avant du plan Pro
3 formules tarifaires avec le plan Pro mis en avant visuellement : bordure primary, gradient, badge "Recommande", effet scale-105 et shadow accentue. Le CTA Pro est egalement plus visible.
3
Formules
Pro
Mise en avant
scale
Effet visuel
bg-gray-50
Fond section
Exemple de code Twig
{% verbatim %}{% include '_organisms/landing/pricing.html.twig' only %}
{# Structure d'un plan #}
plans: [
{
id: 'pro',
name: 'Pro',
tagline: 'Pour les enseignants...',
price: '35€',
period: 'HT/mois',
recommended: true, {# <-- Met en avant #}
features: ['Feature 1', 'Feature 2'],
ctaLabel: 'Commander',
ctaUrl: '#beta-signup'
}
]{% endverbatim %}
Apercu avec plan Pro mis en avant
Classes appliquees au plan recommended: true
bg-gradient-to-b from-primary/5 to-whiteborder-primaryshadow-xl shadow-primary/20scale-105 z-10bg-primary text-whiteshadow-lg shadow-primary/30hover:-translate-y-0.5Options de configuration
| Parametre | Type | Defaut | Description |
|---|---|---|---|
surtitle |
string | 'NOS FORMULES' | Texte au-dessus du titre |
plans |
array | [3 plans] | Array de plans avec recommended: true pour la mise en avant |