@extends('frontend.layouts.app') @php use App\Helpers\Helper; @endphp @section('title', 'Contact Us') @section('content') {{-- @if ($errors->any())
@endif --}} {{-- Hero Section --}} @include('frontend.partials.hero', [ 'mainHeading' => Helper::contentText('pages.contact_us'), 'subHeading' => Helper::contentText('pages.contact_us_description'), 'breadcrumb1' => [ 'name' => __('route.home'), 'route' => route('home'), ], 'breadcrumb2' => [ 'name' => __('route.contact_us'), 'route' => route('contact'), 'class' => 'text-gray-400', ], 'breadcrumb3' => null, 'breadcrumb4' => null, ])
{{-- Intro --}}

{!! Helper::content('pages.get_in_touch') !!}

{!! Helper::content('pages.we_here_to_help') !!}

{!! Helper::content('pages.fill_form_below') !!}

{{-- Contact cards --}}
{{-- Email --}} {{-- Phone --}}

{!! Helper::content('pages.phone_no') !!}

{{ json_decode($setting->contact)->contact ?? '' }}
{{-- Social --}}

{!! Helper::content('pages.social_community') !!}

{!! Helper::content('pages.stay_connected_with_us') !!}:

@foreach (['facebook' => 'facebook-f', 'instagram' => 'instagram', 'linkedin' => 'linkedin-in', 'x' => 'x-twitter', 'youtube' => 'youtube'] as $key => $icon) @if (isset($setting->$key)) @endif @endforeach
{{-- Form + map --}}

{!! Helper::content('pages.send_message') !!}

@csrf @if (session('success'))
{{ session('success') }}
@endif
{{-- Message --}}
@error('message')

{{ $message }}

@enderror
{{-- Map --}}
@php $mapUrl = Helper::mapUrl($setting->map ?? ''); @endphp @if ($mapUrl) @endif
@endsection @push('scripts') @endpush