@extends('layouts.public') @section('content') @include('partials.page-hero', [ 'title' => $page->t('title'), 'subtitle' => $page->t('subtitle') ?: $page->t('excerpt'), 'breadcrumbs' => [['label' => $page->t('title')]], ]) @if ($page->slug === 'about')
@include('partials.image', ['src' => $page->image, 'alt' => $page->t('title'), 'class' => 'h-[34rem] w-full object-cover', 'ratio' => 'aspect-[4/5]', 'icon' => 'trees'])
{!! $page->t('content') !!}
@if (!empty($page->option('values')))
@foreach ($page->option('values') as $value)

{{ $value }}

@endforeach
@endif
@foreach ([['icon' => 'target', 'title' => __('txt_mission'), 'text' => $page->option('mission')], ['icon' => 'eye', 'title' => __('txt_vision'), 'text' => $page->option('vision')], ['icon' => 'heart-handshake', 'title' => __('txt_values'), 'text' => $page->option('values_text')]] as $block) @if (!empty($block['text']))

{{ $block['title'] }}

{{ $block['text'] }}

@endif @endforeach
@if (!empty($whyUs) && $whyUs->isNotEmpty())
@foreach ($whyUs as $feature)

{{ $feature->t('title') }}

{{ $feature->t('description') }}

@endforeach
@endif @elseif ($page->slug === 'nursery')
{{ __('nursery_overview') }}
{!! $page->t('content') !!}
@foreach ($nurserySeedlings->take(4) as $i => $seedling)
@include('partials.image', ['src' => $seedling->image, 'alt' => $seedling->t('name'), 'class' => 'h-48 w-full object-cover', 'ratio' => 'aspect-square', 'icon' => 'sprout'])
@endforeach
@if ($nurseryFacilities->isNotEmpty())
@foreach ($nurseryFacilities as $facility)

{{ $facility->t('title') }}

{{ $facility->t('description') }}

@endforeach
@endif @if ($nurseryStages->isNotEmpty())
    @foreach ($nurseryStages as $index => $stage)
  1. {{ $index + 1 }}

    {{ $stage->t('title') }}

    {{ $stage->t('description') }}

  2. @endforeach
@endif @if ($nurserySeedlings->isNotEmpty())
@foreach ($nurserySeedlings as $product) @include('partials.product-card', ['product' => $product]) @endforeach
@endif @elseif ($page->slug === 'faq')
@forelse ($faqs as $index => $faq)
{{ $faq->t('answer') }}
@empty

{{ __('no_items') }}

@endforelse

{{ __('faq_contact_prompt') }}

{{ __('ask_question') }}
@else
{!! $page->t('content') !!}
@if ($page->slug === 'careers')

{{ __('careers_apply') }}

{{ __('contact_subtitle') }}

{{ __('contact_button') }}
@endif @if ($page->slug === 'privacy' || $page->slug === 'terms')

{{ __('published_on') }}: {{ $page->updated_at->format('d M, Y') }}

@endif
@endif @include('partials.cta-band') @endsection