@php $ga4 = \App\Models\Setting::get('analytics.ga4_measurement_id',''); $gtm = \App\Models\Setting::get('analytics.gtm_container_id',''); $plausibleDomain = \App\Models\Setting::get('analytics.plausible_domain',''); $robotsIndex = \App\Models\Setting::get('seo.robots_index','1'); $gVerif = \App\Models\Setting::get('seo.google_site_verification',''); $bVerif = \App\Models\Setting::get('seo.bing_site_verification',''); $yVerif = \App\Models\Setting::get('seo.yandex_site_verification',''); $brand = \App\Models\Setting::get('site.brand','Noesantara Law Firm'); $twitterSite = \App\Models\Setting::get('seo.twitter_site',''); @endphp @if($robotsIndex==='0') @endif @if($gVerif) @endif @if($bVerif) @endif @if($yVerif) @endif @if($twitterSite) @endif @stack('meta') @stack('styles') @php $orgSchema = [ '@context' => 'https://schema.org', '@type' => 'LegalService', 'name' => $brand, 'url' => url('/'), 'image' => \App\Models\Setting::get('home.hero_image_url',''), 'address' => [ '@type' => 'PostalAddress', 'streetAddress' => trim(\App\Models\Setting::get('contact.address','')), ], 'telephone' => \App\Models\Setting::get('contact.phone',''), ]; @endphp @if($ga4) @endif @if($gtm) @endif @if($plausibleDomain) @endif @if($gtm) @endif
@yield('content')
{{-- Rich footer shown on all pages --}}
@php $offices = \App\Models\Office::query()->orderBy('id')->limit(2)->get(); @endphp
@if(isset($offices[0]))

{{ $offices[0]->name }} Office

{{ trim($offices[0]->address) }}
Phone: {{ $offices[0]->phone }}
@if($offices[0]->email) @endif @endif
@if(isset($offices[1]))

{{ $offices[1]->name }} Office

{{ trim($offices[1]->address) }}
Phone: {{ $offices[1]->phone }}
@if($offices[1]->email) @endif @endif
@include('public.partials.livechat-widget') @stack('scripts')