b2in/resources/views/livewire/web/components/sections/partner-process.blade.php

49 lines
2.4 KiB
PHP

<section class="section-padding bg-accent">
<div class="container-padding">
<div class="text-center mb-16 slide-up delay-300">
<h2 class="text-section-title text-foreground mb-6">
{!! $content['title'] !!}
</h2>
<p class="text-large text-muted-foreground max-w-3xl mx-auto">
{{ $content['subtitle'] }}
</p>
</div>
<div class="grid md:grid-cols-3 gap-8 mb-16">
@foreach ($content['steps'] as $index => $step)
<div class="card-elevated p-0 overflow-hidden group hover:shadow-elevated transition-all duration-300 slide-up delay-{{ $index * 200 }}">
@if(isset($step['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-'.$step['icon'], 'w-10 h-10 text-secondary-foreground')
</div>
</div>
@endif
<div class="p-8">
<div class="flex items-center gap-3 mb-4">
<div class="w-10 h-10 rounded-lg bg-secondary/10 flex items-center justify-center">
<span class="text-lg font-bold text-secondary">{{ $index + 1 }}</span>
</div>
<h3 class="text-2xl font-medium text-foreground">
{{ $step['title'] }}
</h3>
</div>
<p class="text-muted-foreground leading-relaxed mb-6">
{{ $step['description'] }}
</p>
@if ($index === count($content['steps']) - 1)
<a href="{{ $content['cta']['button_link'] }}">
<button class="btn-secondary-accent w-full cursor-pointer">
{{ $content['cta']['button_text'] }}
</button>
</a>
@endif
</div>
</div>
@endforeach
</div>
</div>
</section>