@extends('layout.front.master') @section('title', config('site.contact.page_title', __('Contacto')) . ' | ' . config('site.name')) @section('description', config('site.contact.page_subtitle', config('site.seo.description', ''))) @section('content') {{-- ───────────────────────── PAGE HEADER ───────────────────────── --}} {{-- ───────────────────────── INFO BLOCKS (Address / Phone / Email) ───────────────────────── --}}
@if(config('site.contact.address'))

{{ __('Dirección') }}

{{ config('site.contact.address') }} @if(config('site.contact.city'))
{{ config('site.contact.city') }}@endif

@endif @if(config('site.contact.phone'))

{{ __('Teléfono') }}

{{ config('site.contact.phone') }} @if(config('site.contact.emergency_phone'))
{{ config('site.contact.emergency_phone') }} ({{ __('urgencias') }}) @endif

@endif @if(config('site.contact.email')) @endif

{{-- ───────────────────────── MAP + FORM ───────────────────────── --}}
@php $mapAddress = config('site.contact.address', config('site.name')); $mapEmbedUrl = 'https://www.google.com/maps?q=' . urlencode($mapAddress) . '&output=embed&zoom=15'; @endphp

{{ config('site.contact.form_heading', __('Reservá tu turno o escribinos')) }}

@if(session('contact_success'))
{{ __('¡Listo!') }} {{ session('contact_success') }}
@endif @if($errors->any())
{{ __('Error') }}:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@endsection