@extends('web.layouts.master') @php $header = \App\Models\PageSetup::page('contact-us'); @endphp @if(isset($header)) @section('title', $header->meta_title) @section('top_meta_tags') @if(isset($header->meta_description)) @else @endif @if(isset($header->meta_keywords)) @else @endif @endsection @endif @section('content') {{ __('navbar.contact') }} {{ __('navbar.contact') }} {{ __('navbar.home') }} @php $section_mail = \App\Models\Section::section('mail'); @endphp @if(isset($section_mail)) {{ $section_mail->title }} {!! $section_mail->description !!} @if(Session::has('success')) × {{ Session::get('success') }} @endif @if(Session::has('error')) × {{ Session::get('error') }} @endif @if ($errors->any()) × @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @csrf {{ old('message') }} {{ __('contact.send') }} @endif @php $section_contact = \App\Models\Section::section('contact'); @endphp @if(isset($setting) && isset($section_contact)) {{ $section_contact->title }} {!! $section_contact->description !!} {{ __('contact.email') }}: {{ $setting->email_one }}@if(isset($setting->email_two)), @endif {{ $setting->email_two }} {{ __('contact.phone') }}: {{ $setting->phone_one }}@if(isset($setting->phone_two)), @endif {{ $setting->phone_two }} @if(isset($setting->office_hours)) {{ __('contact.office_time') }}: {!! strip_tags($setting->office_hours) !!} @endif {{ __('contact.address') }}: {{ $setting->contact_address }} @endif @if(isset($setting->google_map)) {!! strip_tags($setting->google_map, '') !!} @endif @endsection