@extends('layouts.guest') @section('content') @php $mapProvider = global_setting()->map_provider ?? 'google'; $hasMapLocation = isset($shopBranch) && !empty($shopBranch->lat) && !empty($shopBranch->lng); $mapId = 'shop_map_' . uniqid(); $openMapUrl = $hasMapLocation ? ($mapProvider === 'osm' ? "https://www.openstreetmap.org/?mlat={$shopBranch->lat}&mlon={$shopBranch->lng}#map=15/{$shopBranch->lat}/{$shopBranch->lng}" : "https://www.google.com/maps/search/?api=1&query={$shopBranch->lat},{$shopBranch->lng}") : null; @endphp

{{ __('landing.contactTitle') }}

{{ __('landing.emailTitle') }}

{{ $restaurant->email }}

{{ __('landing.callTitle') }}

{{ $restaurant->phone_number }}

{{ __('landing.addressTitle') }}

{!! nl2br(e($shopBranch->address ?? $restaurant->address)) !!}
@if($hasMapLocation)

{{ __('landing.mapTitle') }}

{{ $shopBranch->name ?? '' }} · {{ $shopBranch->address ?? $restaurant->address }}
@endif
@endsection