@extends('layouts/blankLayout')

@section('title', 'Verification Account - Pages')

@section('page-style')
<!-- Page -->
<link rel="stylesheet" href="{{asset('assets/vendor/css/pages/page-auth.css')}}">
@endsection


@section('content')
<div class="container-xxl">
  <div class="authentication-wrapper authentication-basic container-p-y">
    <div class="authentication-inner">

      <!-- Register Card -->
      <div class="card">
        <div class="card-body">
          <!-- Logo -->
          <div class="app-brand justify-content-center">
            <a href="{{ url('/dashboard') }}" class="app-brand-link gap-2">
              <span class="app-brand-logo demo">
                <img src="{{ asset('assets/img/logo/seiza.png') }}" alt="Logo" width="100">
              </span>
              <!-- <span class="app-brand-text demo text-body fw-bolder">{{ config('variables.templateName') }}</span> -->
            </a>
          </div>
          <!-- /Logo -->
          <h3 class="text-center">Verifikasi Data</h3>
          <p class="text-center">Hubungi admin untuk melakukan verifikasi data</p>
          <a class="btn btn-success d-grid w-100 my-2" href="https://wa.me/6285604947847" target="_blank">
            Hubungi Admin
          </a>
          <a class="btn btn-danger d-grid w-100 my-2" href="/api/logout">
            Logout
          </a>
        </div>
      </div>
    </div>
  </div>
</div>

@if ($user->active)
<script type="text/javascript">
  window.location = "{{url('/dashboard')}}";
</script>
@endif
</div>
@endsection