@php use App\Facades\Settings; $sameAs = array_values(array_filter([ ...\App\Support\Site\ReseauxSociaux::instagram(), Settings::get('cms.social_facebook'), Settings::get('cms.social_linkedin'), ])); $org = [ '@context' => 'https://schema.org', '@type' => 'Organization', 'name' => \App\Support\Identite::marque(), 'alternateName' => \App\Support\Identite::nomCourt(), 'url' => url('/'), 'logo' => \App\Support\Identite::logo(), 'email' => Settings::get('cms.contact_email'), 'telephone' => Settings::get('cms.contact_phone'), 'address' => array_filter([ '@type' => 'PostalAddress', 'streetAddress' => Settings::get('cms.contact_address'), 'addressLocality' => 'Fès', 'addressRegion' => 'Fès-Meknès', 'addressCountry' => 'MA', ]), 'sameAs' => $sameAs, ]; $localBusiness = array_filter([ '@context' => 'https://schema.org', '@type' => 'ProfessionalService', 'name' => \App\Support\Identite::marque(), 'url' => url('/'), 'telephone' => Settings::get('cms.contact_phone'), 'email' => Settings::get('cms.contact_email'), 'areaServed' => 'MA', 'priceRange' => '$$', 'geo' => array_filter([ '@type' => 'GeoCoordinates', 'latitude' => Settings::get('cms.geo_latitude'), 'longitude' => Settings::get('cms.geo_longitude'), ]), ]); @endphp