Files
chill.social/themes/chill-theme/layouts/shortcodes/hero.html
T
Boris Waaub 65813b6520 feat: Update client logos and testimonials, enhance feature descriptions, and improve layout
- Replaced client logos in _index.md with new entries.
- Updated testimonials section to improve clarity and relevance.
- Enhanced feature descriptions in generation-documents.md, rapports-rgpd.md, rapports-statistiques.md, rendez-vous.md, suivi-accompagnements.md, suivi-decisions.md, and suivi-usagers.md for better user understanding.
- Added new images to various feature sections to enrich visual content.
- Introduced new sector pages for "Grandes Collectivités" and "Services et associations" with tailored content.
- Updated CSS for better styling and responsiveness.
- Improved carousel and client logos shortcode for better performance and visual appeal.
- Removed outdated screenshots and replaced hero image with a new format.
2026-03-09 18:39:04 +01:00

57 lines
2.4 KiB
HTML

{{ $headline := .Get "headline" }}
{{ $sub_headline := .Get "sub_headline" }}
{{ $primary_button_text := .Get "primary_button_text" }}
{{ $primary_button_url := .Get "primary_button_url" }}
{{ $secondary_button_text := .Get "secondary_button_text" }}
{{ $secondary_button_url := .Get "secondary_button_url" }}
{{ $hero_image := .Get "hero_image" }}
{{ $background_image := .Get "background_image" }}
{{ $custom_class := .Get "custom_class" }}
<section class="relative overflow-hidden {{ $custom_class }}">
{{ if $background_image }}
<div class="absolute inset-0">
<img src="{{ $background_image | relURL }}" alt="Background" class="w-full h-full object-cover">
</div>
{{ end }}
<div class="container pt-16 pb-20 md:pt-24 md:pb-28">
<div class="grid lg:grid-cols-2 gap-12 items-center">
<div class="space-y-8">
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold leading-tight">
{{ $headline | safeHTML }}
</h1>
<p class="text-xl text-gray-200">
{{ $sub_headline | safeHTML }}
</p>
<div class="flex flex-col sm:flex-row gap-4">
{{ if and $primary_button_text $primary_button_url }}
<a href="{{ $primary_button_url }}" class="btn-primary text-center">
{{ $primary_button_text }}
</a>
{{ end }}
{{ if and $secondary_button_text $secondary_button_url }}
<a href="{{ $secondary_button_url }}" class="btn-outline text-center">
{{ $secondary_button_text }}
</a>
{{ end }}
</div>
</div>
<div class="relative">
{{ if $hero_image }}
<div class="relative z-10">
<div class="relative w-fit">
<div class="absolute inset-0 bg-secondary-100 rounded-full filter blur-3xl opacity-50 z-0">
</div>
<img src="{{ $hero_image | relURL }}" alt="Hero Image"
class="rounded-xl shadow-elevation relative z-10">
</div>
</div>
{{ end }}
<!-- Background decoration -->
</div>
</div>
</div>
</section>