@extends('layouts.public') @section('title', $pageContent['seo']['title'] ?? ('Study Abroad Destinations - ' . config('app.name'))) @section('meta_description', $pageContent['seo']['description'] ?? 'Explore top study abroad destinations and compare opportunities for your higher education journey.') @push('styles') @vite('resources/css/countries.css') @endpush @section('content')
{{-- Hero --}}
@if($pageContent['hero']['eyebrow'] ?? '') {{ $pageContent['hero']['eyebrow'] }} @endif

{{ $pageContent['hero']['title'] ?? 'Choose your dream' }} {{ $pageContent['hero']['highlight'] ?? 'destination' }}

{{ $pageContent['hero']['text'] ?? 'Explore study opportunities in top countries around the world. From Australia to Japan, find your perfect study destination with our expert guidance.' }}

@php $heroImg = $pageContent['hero']['image'] ?? ''; $heroSrc = $heroImg ? (str_starts_with($heroImg, 'http') ? $heroImg : asset('storage/' . ltrim($heroImg, '/'))) : ''; @endphp @if($heroSrc) Study abroad student @else
@endif
{{-- Destination Grid --}}

{{ $pageContent['listing']['title'] ?? 'Choose your dream' }} {{ 'destination' }}

@if($pageContent['listing']['text'] ?? '')

{{ $pageContent['listing']['text'] }}

@endif
@if($countries->isEmpty())
{{ $pageContent['listing']['empty_text'] ?? 'No destinations listed yet. Check back soon.' }}
@else @if(request('search'))
Clear search
@endif @endif {{-- Trust Section --}} @if(!empty($pageContent['trust']['title']))

{{ $pageContent['trust']['title'] }}

@if(!empty($pageContent['trust']['text']))

{{ $pageContent['trust']['text'] }}

@endif
@if(!empty($pageContent['trust']['points']))
    @foreach($pageContent['trust']['points'] as $point)
  • {{ $point }}
  • @endforeach
@endif
@endif @php $ctaData = $homeContent['final'] ?? []; @endphp @include('partials.final-cta', ['cta' => $ctaData])
@endsection