{# # ============================================================================ # ORGANISM: LANDING FOOTER # ============================================================================ # # Footer with logo, tagline, product links, nav links, legal links and socials. # Fully parameterized: all content passed via Twig parameters. # # ============================================================================ # COMPOSITION # ============================================================================ # # - _atoms/logo/logo-with-text.html.twig # # ============================================================================ # PARAMETRES # ============================================================================ # # | Parametre | Type | Defaut | Description | # |----------------|--------|-------------------------------------|------------------------------| # | tagline | string | '6 outils IA pensés pour...' | Brand tagline | # | productsTitle | string | 'Produits' | Products column heading | # | products | array | (default 5 products) | [{label, href}] | # | linksTitle | string | 'Liens' | Links column heading | # | links | array | (default nav links) | [{label, href}] | # | copyright | string | 'Bubul. Créé avec ... enseignants.' | Copyright text | # | legalLinks | array | (default legal links) | [{label, href}] | # | socials | array | (default LinkedIn) | [{label, href, svg}] | # | class | string | '' | Additional CSS classes | # # ============================================================================ # USAGE EXAMPLES # ============================================================================ # # Default: # {% include '_organisms/landing/footer.html.twig' only %} # # Custom tagline and links: # {% include '_organisms/landing/footer.html.twig' with { # tagline: 'SAM connecte votre Moodle...', # links: [{ label: 'FAQ', href: '#faq' }] # } only %} # # ============================================================================ #} {% set productsTitle = productsTitle ?? 'Outils' %} {% set linksTitle = linksTitle ?? 'Liens' %} {% set class = class ?? '' %} {% set defaultProducts = [ { label: 'Moodia', href: path('app_landing_moodia'), color: tool_color_details['moodia'].primary ?? '#1281E4', badge: '.MBZ' }, { label: 'Scormia', href: path('app_landing_scormia'), color: tool_color_details['scormia'].primary ?? '#1E40AF', badge: 'SCORM' }, { label: 'Slidia', href: path('app_landing_slidia'), color: tool_color_details['slidia'].primary ?? '#E91E8C', badge: '.PPTX' }, { label: 'Serenia', href: path('app_landing_serenia'), color: tool_color_details['serenia'].primary ?? '#7C3AED', badge: 'Chat' }, { label: 'Monalisia', href: path('app_landing_monalisia'), color: tool_color_details['monalisia'].primary ?? '#ED8600', badge: '.PNG' }, { label: 'Castia', href: path('app_landing_castia'), color: tool_color_details['castia'].primary ?? '#309344', badge: '.MP3' }, { label: 'Pixia', href: path('app_landing_pixia'), color: tool_color_details['pixia'].primary ?? '#6366F1', badge: '.PNG' }, { label: 'Promptly', href: path('app_landing_promptly'), color: tool_color_details['promptly'].primary ?? '#1F9C97', badge: 'Prompts' }, { label: 'SAM', href: path('app_landing_sam'), color: tool_color_details['sam'].primary ?? '#06B6D4', badge: 'LMS' } ] %} {% set products = products ?? defaultProducts %} {% set tagline = tagline ?? (products|length ~ ' outils IA pensés pour les formateurs — créez, déployez et pilotez vos formations depuis un seul espace.') %} {% set defaultLinks = [ { label: 'Fonctionnalités', href: '#features' }, { label: 'Nos outils', href: '#how-it-works' }, { label: 'Tarifs', href: '#pricing' }, { label: 'FAQ', href: '#faq' }, { label: 'Contact', href: path('app_contact') } ] %} {% set links = links ?? defaultLinks %} {% set copyright = copyright ?? 'Bubul. Créé avec ❤️ pour les équipes pédagogiques.' %} {% set defaultLegalLinks = [ { label: 'Mentions légales', href: path('app_legal_mentions') }, { label: 'CGV', href: path('app_legal_cgv') }, { label: 'Politique de sécurité', href: path('app_legal_securite') } ] %} {% set legalLinks = legalLinks ?? defaultLegalLinks %} {% set defaultSocials = [ { label: 'LinkedIn', href: '#', svg: '' } ] %} {% set socials = socials ?? defaultSocials %}