@extends('layouts.public') @section('content') @include('partials.page-hero', [ 'eyebrow' => __('contact'), 'title' => __('contact_title'), 'subtitle' => __('contact_subtitle'), 'breadcrumbs' => [['label' => __('contact')]], ])

{{ __('contact_info_title') }}

{{ __('section_contact_sub') }}

@php $infoItems = [ ['icon' => 'map-pin', 'label' => __('address'), 'value' => site_setting('company_address')], ['icon' => 'phone', 'label' => __('phone'), 'value' => site_setting('company_phone'), 'href' => 'tel:'.preg_replace('/[^0-9+]/', '', (string) site_setting('company_phone'))], ['icon' => 'mail', 'label' => __('email'), 'value' => site_setting('company_email'), 'href' => 'mailto:'.site_setting('company_email')], ['icon' => 'globe', 'label' => __('website'), 'value' => site_setting('site_url') ?: url('/'), 'href' => url('/')], ['icon' => 'clock', 'label' => __('office_hours'), 'value' => site_setting('office_hours')], ]; @endphp @foreach ($infoItems as $item) @if (!empty($item['value']))

{{ $item['label'] }}

@if (!empty($item['href'])) {{ $item['value'] }} @else

{{ $item['value'] }}

@endif
@endif @endforeach

{{ __('follow_us') }}

@foreach (['social_facebook' => 'facebook', 'social_youtube' => 'youtube', 'social_instagram' => 'instagram', 'social_linkedin' => 'linkedin', 'social_whatsapp' => 'whatsapp'] as $key => $icon) @if (site_setting($key)) @endif @endforeach

{{ __('contact_form_title') }}

@if (session('success'))

{{ session('success') }}

@endif @if ($errors->any())

{{ __('form_required') }}

@endif
@csrf
@error('name')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('subject')

{{ $message }}

@enderror
@error('message')

{{ $message }}

@enderror
@if (site_setting('company_map_embed'))
@endif @endsection