@php use App\Models\Contact; $contact = Contact::first(); @endphp @extends('frontend.en.layouts.master') @section('content')
{{-- Page Title + Breadcrumbs --}}

Contact Us

We would love to hear from you. Send us a message or reach out through the details below.

{{-- Contact Section --}}
{{-- Left: Form --}}

Send us a message

Fill out the form and our team will get back to you as soon as possible.

@if (session('success')) @endif
@csrf
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('message')
{{ $message }}
@enderror
{{-- Right: Details --}}

Contact Details

You can also reach us directly through the following channels.

{{-- Address --}}
Address

{{ $contact->address ?? 'Address will appear here...' }}

{{-- Phone --}}
Phone

{{ $contact->phone ? $contact->phone . ($contact->second_phone ? ' - ' . $contact->second_phone : '') : 'Phone number will appear here...' }}

{{-- Email --}}
Email

{{ $contact->email ?? 'Email will appear here...' }}

{{-- Optional: Socials (اگر نخواستی، این بلاک را حذف کن) --}} @if($contact && ($contact->facebook || $contact->twitter || $contact->instagram || $contact->linkedin))
Connect with us
@if($contact->facebook) @endif @if($contact->twitter) @endif @if($contact->instagram) @endif @if($contact->linkedin) @endif
@endif
{{-- Auto-hide success message --}} {{-- page-specific styles --}} @endsection