<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Email Template</title>
    </head>
    <body>
        <section>
            <style>
                 section {
                    max-width: 720px;
                    margin: 0 auto;
                }
                p {
                    font-size: large;
                }
                img.logo{
                    display: block;
                    margin: 0px auto;
                    padding: 40px 0;
                }
                .center *{
                    text-align: center;
                    line-height: 1rem;
                    margin: 6px 0;
                }
            </style>
            <div>
                <a href=""> <img  src="https://lasaa.lg.gov.ng/images/lasaa-web-logo1.png"  alt="Lasaa logo" class="logo" width="200" height="auto"></a>
            </div>
            <div class="center">
                <p>{{ \App\Models\EmailContent::getContent('salutation') }} {{ $name }}, </p>
                @if (is_numeric($body))
                <p>Verification code:  {{ $body }}</p>
                @else
                <p>{{ $body }}</p>
                @endif
            </div>
        </section>

    </body>
</html>
