53 lines
2.7 KiB
PHP
53 lines
2.7 KiB
PHP
<section class="section-padding">
|
|
<div class="container-padding text-center">
|
|
<div class="text-center mb-16 slide-up delay-200">
|
|
<h2 class="text-section-title text-foreground mb-12">
|
|
{!! $content['title'] !!}
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
|
@foreach($content['timeline'] as $index => $card)
|
|
<div class="group {{ $index === 4 ? 'md:col-span-2 lg:col-span-1 lg:col-start-2' : '' }}">
|
|
<div class="card-elevated overflow-hidden group hover:shadow-elevated transition-all duration-300 flex flex-col h-full slide-up delay-{{ $index * 200 }}">
|
|
|
|
|
|
@if(isset($card['icon']))
|
|
<div class="relative pt-12 pb-8">
|
|
<div class="mx-auto w-20 h-20 icon-secondary-linear glow-soft group-hover:glow-medium rounded-2xl flex items-center justify-center transition-colors duration-300">
|
|
@svg('heroicon-o-'.$card['icon'], 'w-10 h-10 text-secondary-foreground')
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="p-6 spacing-small flex flex-col justify-between flex-grow">
|
|
<div class="mb-4">
|
|
@if (isset($card['logo']))
|
|
<img src="{{ asset($card['logo']) }}" alt="{{ $card['title'] }}"
|
|
class="{{ $card['logo_width'] }} h-18 object-contain" />
|
|
@endif
|
|
@if(isset($card['title']))
|
|
<h3 class="text-2xl font-medium text-center">{{ $card['title'] }}</h3>
|
|
@endif
|
|
@if(isset($card['description']))
|
|
<p class="text-muted-foreground leading-relaxed mt-4 text-center">
|
|
{{ $card['description'] }}
|
|
</p>
|
|
@endif
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="absolute bottom-0 left-0 right-0 h-1 bg-gradient-to-r from-secondary/20 via-secondary to-secondary/20 transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300"></div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
|
|
<p class="text-large text-muted-foreground leading-relaxed max-w-3xl mx-auto mt-12">
|
|
{{ $content['summary'] }}
|
|
</p>
|
|
</div>
|
|
</section>
|