@extends('admin.auth.tema.content')
@section('content')

@push('css')
<link rel="stylesheet" href="{{url('assets/vendor/css/pages/page-misc.css')}}" />
@endpush

 <!-- Error -->
 <div class="container-xxl container-p-y">
    <div class="misc-wrapper">
      
      @if(session()->has('error'))

      <div class="alert alert-danger alert-dismissible fade show" role="alert">
        <strong>{{session('error')}}</strong>
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
      </div>

      @endif

      @if(session()->has('success'))

      <div class="alert alert-primary alert-dismissible fade show" role="alert">
        <strong>{{session('success')}}</strong>
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
      </div>

      @endif

      <h2 class="mb-2 mx-2">Sukses Registrasi</h2>
      <p class="mb-4 mx-2">Link confirmasi sudah di kirim ke email, silahkan check email :)</p>

     <a href="{{url('login')}}" class="btn btn-primary">Login</a>


      <div class="mt-3">
        <img
          src="{{url('assets/img/email.jpg')}}"
          alt="page-misc-error-light"
          width="500"
          class="img-fluid"
          data-app-dark-img="illustrations/page-misc-error-dark.png"
          data-app-light-img="illustrations/page-misc-error-light.png"
          style="border-radius:16px"
        />
      </div>
    </div>
  </div>

@endsection