@extends('frontend.themes.basic.layouts.app') @section('alternate') @include('partials.alternate') @endsection @section('content') @include('frontend.themes.basic.partials.header', ['title' => translate('Contact Us', 'general')])
@if ($ad = ad('mailbox_top'))
{!! $ad !!}
@endif
@if ($ad = ad('mailbox_left'))
{!! $ad !!}
@endif
{{ translate('Contact Us', 'general') }}
@if (session('message'))
{{ session('message') }}
@endif @if (isPluginEnabled('contact') && plugin('contact')->type->value == 'default' && !empty(getSetting('mail_from_address')) && !empty(getSetting('mail_to_address')))
@csrf
@if (getSetting('captcha_contact')) @if (getSetting('captcha') == 'hcaptcha' && isPluginEnabled('hcaptcha'))
{!! HCaptcha::script() !!} {!! HCaptcha::display() !!}
@elseif(getSetting('captcha') == 'recaptcha' && isPluginEnabled('recaptcha'))
{!! NoCaptcha::renderJs() !!} {!! NoCaptcha::display() !!}
@endif @endif
@elseif(isPluginEnabled('contact') && plugin('contact')->type->value == 'iframe' && !empty(plugin('contact')->iframe->value)) {!! plugin('contact')->iframe->value !!} @else {!! translate('Contact Us Content', 'html') !!} @endif
@if ($ad = ad('mailbox_bottom'))
{!! $ad !!}
@endif
@if ($ad = ad('mailbox_right'))
{!! $ad !!}
@endif
@endsection