@extends('layouts.default')
@section('title', 'Guestbook')
@section('content')
    @php
        $db_alive = true;
        try {
            DB::connection()->getPdo();
        } catch (Exception $e) {
            $db_alive = false;
        }
    @endphp
    @if (!$db_alive)
        @include('components.errors.db-error')
    @else
    
    
| A few things to note: 
 | 
| Submitted by {{ $entry->name }}
                    on {{ gmdate('Y-m-d', $entry->timestamp) }}
                    at {{ gmdate('h:i:s A (e)', $entry->timestamp) }} {{ $entry->message }} |