<x-layouts.email title="Contact Submitted" :admin="1">
    <p>Hello Admin,</p>
    <p>A user submitted his contact information. Below are the details</p>

    <table>
        <tr>
            <th>Name</th>
            <td>{{ $contact->name }}</td>
        </tr>

        <tr>
            <th>Email</th>
            <td>{{ $contact->email }}</td>
        </tr>

        <tr>
            <th>Subject</th>
            <td>{{ $contact->subject }}</td>
        </tr>

        <tr>
            <th>Phone</th>
            <td>{{ $contact->phone }}</td>
        </tr>

        <tr>
            <th>Message</th>
            <td>{{ $contact->message }}</td>
        </tr>
    </table>
</x-layouts.email>