@php $twitterHandle = $settings['twitter_handle'] ?? '@localpulse'; $twitterUrl = str_starts_with($twitterHandle, '@') ? 'https://twitter.com/' . substr($twitterHandle, 1) : 'https://twitter.com/' . $twitterHandle; $instagramHandle = $settings['instagram_handle'] ?? null; $instagramUrl = $instagramHandle ? (str_starts_with($instagramHandle, '@') ? 'https://instagram.com/' . substr($instagramHandle, 1) : 'https://instagram.com/' . $instagramHandle) : ''; $facebookPage = $settings['facebook_page'] ?? ''; $contactEmail = $settings['contact_email'] ?? 'hello@localpulse.com'; @endphp @if(isset($lcpImage)) @endif @if(isset($title)) {{ $title }} @else {{ $settings['site_name'] ?? 'LOCAL PULSE' }} @endif @stack('seo-meta') @if(isset($structuredData)) @else @endif @if(isset($articleSchema)) @endif @if(isset($breadcrumbSchema)) @endif @vite(['resources/css/app.css', 'resources/js/app.js']) @if($settings['analytics_id'] ?? null) @endif @include('components.header')
@yield('content')
@include('components.footer')