@extends('layouts.app') @section('title', 'Contact #' . $contact->id) @section('content') {{-- ── Page Header ── --}}
All Contacts

Contact #{{ $contact->id }}

{{--

Submitted {{ $contact->created_at->format('d/m/Y \a\t H:i') }}

--}}
{{-- ── Two-column layout ── --}}
{{-- LEFT: Sender info ── --}}
{{ strtoupper(substr($contact->first_name, 0, 1)) }}
{{ $contact->first_name }} {{ $contact->last_name }} {{ $contact->email }}
{{--
{{ $contact->reason }}
--}}
First Name {{ $contact->first_name }}
Last Name {{ $contact->last_name }}
Phone @if($contact->phone) @else @endif
Date {{ $contact->created_at->format('d/m/Y') }}
@if($contact->address)
Address {{ $contact->address }}
@endif
{{-- RIGHT: Message ── --}}
Message
{{ $contact->message }}
@endsection @push('styles') @endpush