<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Pasar Nelayan | Daftar</title>

    <link rel="icon" href="{{ asset('logo/logo-02.png') }}" sizes="32x32" type="image/png">
    <link rel="stylesheet" href="{{ asset('dashboard/css/styles.min.css') }}" />
</head>

<body
    style="background-image: url({{ asset('web/images/bg.jpg') }}); backgruond-repeat: no-repeat; background-size: cover; background-attachment: fixed;">
    <!--  Body Wrapper -->
    <div class="container">
        <div class="row w-100 d-flex align-items-center justify-content-center" style="height: 100vh">
            <div class="col-8 d-flex justify-content-center">
                <img src="{{ asset('logo/logo-01.png') }}" alt="login" style="width: 60%; object-fit: contain">
            </div>

            <div class="col-4 d-flex justify-content-end">
                <div class="card mb-0 w-100">
                    <div class="card-body">
                        <h4 class="text-center pb-4">Daftar</h4>
                        <form method="POST" action="{{ route('register') }}">
                            @csrf @method('POST')
                            <div class="mb-3">
                                <label for="name" class="form-label">Nama</label>
                                <input type="text" name="name" class="form-control" id="name"
                                    aria-describedby="emailHelp">
                            </div>
                            <div class="mb-3">
                                <label for="whatsapp" class="form-label">No. Whatsapp</label>
                                <input type="text" name="phone_number" class="form-control" id="whatsapp"
                                    aria-describedby="emailHelp">
                            </div>
                            <div class="mb-3">
                                <label for="email" class="form-label">Email</label>
                                <input type="text" name="email" class="form-control" id="email"
                                    aria-describedby="emailHelp">
                            </div>
                            <div class="mb-4">
                                <label for= "password" class="form-label">Password</label>
                                <input type="password" name="password" class="form-control" id="password">
                            </div>
                            <button type="submit"
                                class="btn btn-primary w-100 py-8 fs-4 mb-4 rounded-2">Simpan</button>
                            <p class="text-center">Sudah punya akun? <a href="{{ route('login') }}"
                                    style="color: rgb(232, 186, 20)">Masuk disini!</a></p>
                        </form>
                    </div>
                </div>
            </div>


        </div>


    </div>

    <script src="{{ asset('dashboard/libs/jquery/dist/jquery.min.js') }}"></script>
    <script src="{{ asset('dashboard/libs/bootstrap/dist/js/bootstrap.bundle.min.js') }}"></script>
    <script src="{{ asset('dashboard/js/sidebarmenu.js') }}"></script>
    <script src="{{ asset('dashboard/js/app.min.js') }}"></script>
    <script src="{{ asset('dashboard/libs/apexcharts/dist/apexcharts.min.js') }}"></script>
    <script src="{{ asset('dashboard/libs/simplebar/dist/simplebar.js') }}"></script>
    <script src="{{ asset('dashboard/js/dashboard.js') }}"></script>
    <!-- solar icons -->
    <script src="https://cdn.jsdelivr.net/npm/iconify-icon@1.0.8/dist/iconify-icon.min.js"></script>
</body>

</html>
