@php $cache = \App\Models\Setting::getByCache() @endphp
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style>
        body {
            margin: 0;
            font-family: "Arial", sans-serif;

        }

        .container {
            min-height: 100vh;

            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f7fafc;
        }

        .content {
            background-color: #fffefe;
            padding: 2rem 0;
            border-radius: 0.5rem;
            width: 100vw;
        }

        .my-0 {
            margin-bottom: 0;
            margin-top: 0;
        }
    </style>
    <title>Payment - Share Link with Friend!</title>
</head>

<body>

    <body style="
        font-family: Arial, Helvetica, sans-serif;
        background-color: #edf2f7;
    ">
        <table style="margin: 0 auto">
            <tr>
                <td>
                    <table
                        style="
                        margin: 0 auto;

                        width: 768px;
                    ">
                        <tr>
                            <td align="center" valign="top" style="padding: 36px 24px;">
                                <a href="{{route('home')}}" target="_blank" style="display: inline-block;">
                                    <img src="{{asset(\App\Models\Setting::getByCache()->value('logo'))}}"
                                        alt="Logo" border="0" width="100"
                                        style="display: block; width: 100px; max-width: 100px; min-width: 48px;">
                                </a>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table
                        style="
                        margin: 0 auto;
                        background-color: #ffffff;
                        width: 768px;
                        padding: 24px;
                    ">
                        <tr>
                            <td>
                                <h3 style="color: #222222; margin: 5px 0 0 0; font-weight: bold">
                                    Dear user,
                                </h3>
                            </td>
                        </tr>            

                        <tr>
                            <td>
                                <p style="color: #696969; white-space:pre-line; margin: 0; margin-bottom: 5px; margin-top: 0">
                                    {{$data['name']}} wants to share the following link with you:
                                    {{ env('APP_URL') }}
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p style="color: #696969; white-space:pre-line; margin: 0; margin-bottom: 20px">
                                    Feel free to reach out if you have any questions or if there's anything specific you would like to hear from us. We value your subscription and look forward to providing you with valuable content.
                                </p>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <p style="color: #222222; margin: 0">Regards,</p>
                                <p style="color: #222222; margin: 5px 0 0 0; font-weight: bold">
                                    {{ \App\Models\Setting::getByCache()->value('page_title') }}.
                                </p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table
                        style="
                        margin: 0 auto;
                        width: 768px;
                    ">
                        <tr>
                            <td>
                                <h5
                                    style="
                                    color: #222222;
                                    text-align: center;
                                    padding: 10px 36px;
                                    margin: 0;
                                ">
                                    <p>{{ \App\Models\Setting::getByCache()->value('license') }}</p>
                                    <p>{{ 'E-mail: ' . \App\Models\Setting::getByCache()->value('email') }}</p>
                                    <p>{{ 'Hotline: ' . \App\Models\Setting::getByCache()->value('phone') }}</p>
                                </h5>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</body>

</html>
