35 lines
1.5 KiB
PHP
35 lines
1.5 KiB
PHP
@props([
|
|
'settings',
|
|
])
|
|
|
|
<x-public.photo-hero
|
|
:image-path="$settings->hero_image_path"
|
|
:image-alt="$settings->hero_image_alt"
|
|
:eyebrow="$settings->hero_eyebrow"
|
|
:title="$settings->hero_title ?: 'Celebrações com propósito'"
|
|
:summary="$settings->hero_subtitle"
|
|
heading-id="hero-heading"
|
|
brand-mark
|
|
full-height-fallback
|
|
class="home-chapter"
|
|
data-chapter="hero"
|
|
>
|
|
<div class="space-y-5">
|
|
<div class="flex flex-wrap items-center gap-4">
|
|
<a href="{{ route('briefing') }}" data-testid="home-primary-cta" class="inline-flex min-h-11 items-center bg-amare-accent px-5 py-3 text-sm font-semibold text-amare-accent-text transition-colors duration-(--amare-duration-normal) ease-(--amare-ease-standard) hover:bg-amare-accent-hover">
|
|
{{ $settings->hero_cta_label ?: 'Solicitar proposta' }}
|
|
</a>
|
|
|
|
@if (filled($settings->hero_secondary_cta_label))
|
|
<a href="{{ route('portfolio.index') }}" class="inline-flex min-h-11 items-center text-sm font-semibold text-amare-accent transition-colors hover:text-amare-accent-deep">
|
|
<span class="border-b border-amare-accent pb-1">{{ $settings->hero_secondary_cta_label }}</span>
|
|
</a>
|
|
@endif
|
|
</div>
|
|
|
|
@if (filled($settings->hero_note))
|
|
<p class="max-w-[470px] text-sm text-amare-text-muted">{{ $settings->hero_note }}</p>
|
|
@endif
|
|
</div>
|
|
</x-public.photo-hero>
|