@extends('layouts.app') @section('title', 'Contacts') @section('content') {{-- ── Page Header ── --}}

Contacts

Contact form submissions from the website

@if($contacts->total() > 0)
{{ $contacts->total() }} total
@endif
{{-- ── Search ── --}}
@if(request()->filled('search')) Clear @endif
{{-- ── Table Card ── --}}
@forelse($contacts as $i => $contact) @empty @endforelse
ID Name Email Date Actions
#{{ $contact->id }}
{{ strtoupper(substr($contact->full_name, 0, 1)) }}
{{ $contact->full_name }}
{{ $contact->email }} {{ $contact->created_at->format('d/m/Y') }} View

No contact submissions yet.

{{-- ── Pagination ── --}} @if($contacts->hasPages() || $contacts->total() > 0)
@if($contacts->hasPages()) {{ $contacts->links('vendor.pagination.default') }} @endif

Showing {{ $contacts->firstItem() ?? 0 }}–{{ $contacts->lastItem() ?? 0 }} of {{ $contacts->total() }} results

@endif @endsection @push('styles') @endpush