@extends('frontend.layouts.master') @php $home = $home ?? \App\Data\HomeSections::defaults(); $h = $home['hero']; $j = $home['journey']; $u = $home['universities']; $e = $home['eligibility']; $uk = $home['uk_services']; $f = $home['finance']; $v = $home['videos']; $a = $home['achievements']; $w = $home['why_fba']; $p = $home['process']; $b = $home['blog']; $fq = $home['faq']; $media = fn ($path) => \App\Support\BreadcrumbImage::mediaUrl($path) ?: ($path ?: ''); $link = function ($url) { if (!$url) return '#'; if (str_starts_with($url, 'http') || str_starts_with($url, '#') || str_starts_with($url, 'mailto:') || str_starts_with($url, 'tel:')) { return $url; } return url($url); }; @endphp @section('title', $pageMeta['meta_title'] ?? 'FBA UK LTD | UK University Admissions & Student Recruitment Experts') @section('meta_description', $pageMeta['meta_description'] ?? 'Start your UK university journey with FBA UK LTD.') @section('meta_keywords', $pageMeta['meta_keywords'] ?? 'UK university admissions, student finance, FBA UK LTD') @section('canonical', $pageMeta['canonical_url'] ?? url('/')) @section('og_title', $pageMeta['og_title'] ?? ($pageMeta['meta_title'] ?? 'FBA UK LTD')) @section('og_description', $pageMeta['og_description'] ?? ($pageMeta['meta_description'] ?? '')) @section('og_image', $pageMeta['og_image'] ?? asset('frontend/assets/images/Fbalogo.webp')) @section('content') @php $heroType = $h['media_type'] ?? ((!empty($h['video_url'])) ? 'video' : 'image'); $heroVideoSrc = !empty($h['video_url']) ? $media($h['video_url']) : null; $heroPoster = !empty($h['poster']) ? $media($h['poster']) : null; @endphp
@if($heroType === 'video' && $heroVideoSrc) @elseif($heroPoster) {{ $h['title'] }} @endif @if(!empty($h['intake_badge']))
{{ $h['intake_badge'] }}
@endif

{{ $h['title'] }}

{{ $h['text'] }}

    @foreach($h['features'] as $feat)
  • {{ $feat['text'] }}
  • @endforeach
@foreach($h['stats'] as $i => $stat) @if($i > 0)@endif
{{ $stat['text'] }}
@endforeach

{{ $j['heading'] }} {{ $j['heading_accent'] }}

{{ $j['subtitle'] }}

@foreach($j['cards'] as $card) @endforeach
{{ $u['badge'] }}

{{ $u['heading'] }} {{ $u['heading_accent'] }}

{{ $u['subtitle'] }}

@include('frontend.partials.home.eligibility', ['e' => $e])
{{ $uk['tag'] }}

{{ $uk['title'] }}

{{ $uk['text'] }}

    @foreach($uk['items'] as $item)
  • {{ $item }}
  • @endforeach
{{ $uk['cta_label'] }}
@php $orbitCountries = array_values(array_filter( $uk['countries'] ?? [], fn ($c) => filled($c['code'] ?? null) )); $orbitCount = max(count($orbitCountries), 1); $orbitStep = 360 / $orbitCount; @endphp
@include('frontend.partials.home.videos', ['v' => $v, 'media' => $media, 'testimonials' => $testimonials ?? collect()]) @include('frontend.partials.home.achievements', compact('a')) @include('frontend.partials.home.why-fba', compact('w')) @include('frontend.partials.home.process', compact('p')) @include('frontend.partials.home.blog', ['b' => $b, 'latestBlogs' => $latestBlogs ?? collect(), 'link' => $link, 'media' => $media]) @include('frontend.partials.home.faq', ['fq' => $fq, 'homeFaqs' => $homeFaqs ?? collect()]) @endsection