<x-layout bodyClass="">

  <div style="background-color: #ecf0f1;">
    <div class="position-sticky z-index-sticky container top-0">
      <div class="row">
        <div class="col-12">
        </div>
      </div>
    </div>

    <main class="main-content mt-0">
      <section>
        <div class="page-header min-vh-100">
          <div class="container">
            <div class="row">
              <div
                class="col-6 d-lg-flex d-none h-100 position-absolute justify-content-center flex-column start-0 top-0 my-auto pe-0 text-center"
              >
                <div
                  class="position-relative bg-gradient-primary h-100 border-radius-lg d-flex flex-column justify-content-center m-3 px-7"
                  style="
                                    background-image: url('https://images.unsplash.com/photo-1524995997946-a1c2e315a42f');
                                    background-size: cover;
                                    background-position: center;
                                    background-repeat: no-repeat;
                                    "
                >
                </div>
              </div>

              <div
                class="col-xl-4 col-lg-5 col-md-7 d-flex flex-column ms-lg-auto me-lg-5 me-auto ms-auto"
              >
                <div class="card card-plain">

                  <div class="">
                    <h4 class="font-weight-bolder">Choose your account type</h4>
                    <p class="mb-0">
                      Choose your account name, either teacher or student
                    </p>
                  </div>

                  <div class="mt-5">
                    <div class="col-12 mt-3">
                      <a href="/sign-up-teacher">
                        <div
                          class="card card-plain"
                          style="background-color: white;"
                        >
                          <div class="card-header">
                            <h4 class="font-weight-bolder">
                              I am a teacher
                            </h4>
                          </div>
                          <div class="card-body">
                            create account as a teacher
                          </div>
                        </div>
                      </a>
                    </div>

                    <div class="col-12 mt-5">
                      <a href="/sign-up-student">
                        <div
                          class="card card-plain"
                          style="background-color: white;"
                        >
                          <div class="card-header">
                            <h4 class="font-weight-bolder">
                              I am a student
                            </h4>
                          </div>
                          <div class="card-body">
                            create account as a regular student
                          </div>
                        </div>
                      </a>
                    </div>
                  </div>

                  <div class="card-footer px-lg-2 px-1 pt-0 pt-5 text-center">
                    <p class="mx-auto mb-2 text-sm">
                      Already have an account?
                      <a
                        class="text-primary text-gradient font-weight-bold ps-1"
                        href="{{ route('login') }}"
                      >
                        Sign in
                      </a>
                    </p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>
    </main>
  </div>

  @push('js')
    <script src="{{ asset('assets') }}/js/jquery.min.js"></script>
    <script>
      $(function() {

        var text_val = $(".input-group input").val();
        if (text_val === "") {
          $(".input-group").removeClass('is-filled');
        } else {
          $(".input-group").addClass('is-filled');
        }
      });
    </script>
  @endpush
</x-layout>
