@extends('layouts.register')
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="csrf-token" content="{{ csrf_token() }}"/>
    <title>Document</title>
    <link rel="stylesheet" href="{{asset('css/register.css')}}">

</head>
<body>
<div class="container">
    <div class="card">
        <div class="form">
            <div class="left-side">
                <div class="left-heading">
                    <h3>Creditzombies</h3>
                </div>
                @include('register.partials.steps',['step'=>Session::get('step') > 1 ? Session::get('step'):1])
            </div>
            <div class="right-side">
                @if (Session::get('step') == 2)
                    @include('register.partials.add_profile')
                @elseif (Session::get('step') == 3)
                    @include('register.partials.credit_report')
                @else
                    @include('register.partials.create_account')
                @endif

            </div>
        </div>
    </div>
</div>

<script>
    const URL = '{{route('user.post.register')}}'
</script>
<script
    src="{{asset('/')}}sweetalert2/sweetalert2.min.js"></script>
<script
    src="{{asset('/')}}register/bundles/modernizr_v_wBEWDufH_8Md-Pbioxomt90vm6tJN2Pyy9u9zHtWsPo1.js"></script>
<script
    src="{{asset('/')}}register/bundles/jquery_v_LuPxPpDNOuOIkOc-ZCOxmFs-zaj7aZlc0qUjCsAT7VU1.js"></script>

<script
    src="{{asset('/')}}register/bundles/bootstrap_v_Ys7YWW8ftfDaEQO5B08-Ug2vMyFi6sphPvWRJc0_rkQ1.js"></script>
<script
    src="{{asset('/')}}register/bundles/jqueryval_v_hEGG8cMxk9p0ncdRUOJ-CnKN7NezhnPnWIvn6REucZo1.js"></script>

<script src="{{asset('/')}}js/objectify.js"></script>
<script src="{{asset('/')}}js/register.js"></script>
</body>
</html>

@push('css')

@endpush
