@extends('layouts.app') @section('title', $branch->tr('name').' | '.setting_text('store.name', 'Mandano 888')) @section('page', 'contact') @section('content') @php $design = (array) ($branch->design ?? []); $layout = in_array($design['layout'] ?? null, ['classic', 'gallery'], true) ? $design['layout'] : 'classic'; $showMap = (bool) ($design['show_map'] ?? true); $about = $branch->designText('about'); $hasMap = $showMap && $branch->hasLocation(); $hasContact = $branch->phoneList() !== [] || $branch->whatsapp_url || $branch->email; @endphp @include('branch.partials.hero', ['branch' => $branch])
@if ($layout === 'gallery') @endif
@if ($layout !== 'gallery') @endif @if ($about !== '')

{{ __('contact.branch_about') }}

{!! nl2br(e($about)) !!}

@endif

{{ __('contact.branch_info') }}

@if ($branch->tr('working_hours'))
{{ __('contact.hours') }}
{{ $branch->tr('working_hours') }}
@endif @if ($branch->phoneList() !== [])
{{ __('contact.branch_phone') }}
@foreach ($branch->phoneList() as $phone) {{ $phone }}@if (! $loop->last)
@endif @endforeach
@endif @if ($branch->whatsapp_url)
{{ __('contact.whatsapp') }}
{{ $branch->whatsapp }}
@endif @if ($branch->email)
{{ __('contact.branch_email') }}
{{ $branch->email }}
@endif
@endsection @if ($hasMap) @push('head') @endpush @push('scripts') @endpush @endif