@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                
                
                <div class="card-header">{{ __('Dashboard') }}</div>

                <div class="card-body">
                    @if (session('status'))
                        <div class="alert alert-success" role="alert">
                            {{ session('status') }}
                            
                        </div>
                    @endif
                    <!--{{ __('You are logged in!') }}-->
                    
                </div>
                <div class='row'>

                    <div class='col-4'>
            
                        <div class="card" style="width: 15rem;">
                            <svg class="bd-placeholder-img card-img-top" width="100%" height="180"
                            xmlns="http://www.w3.org/2000/svg" role="img"
                            aria-label="Placeholder: Image cap"
                            preserveAspectRatio="xMidYMid slice"
                            focusable="false"><title>Lista</title><rect width="100%" height="100%" fill="#000"></rect><text x="50%" y="50%" fill="#dee2e6" dy=".3em"></text></svg>
                            <div class="card-body">
                              <h5 style="text-align: center" class="card-title">Lista de Visitas</h5>
                              <p  style="text-align: center" class="card-text">Visitas Cadastradas</p>
                              <a href="{{ route('conta.index') }}" class="btn btn-warning">Ver Visitas</a>
                            </div>
                          </div>
            
                    </div>
                    <div class='col-4'>

                        <div class="card" style="width: 15rem;">
                            <svg class="bd-placeholder-img card-img-top" width="100%" height="180" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Image cap" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Cadastro</title><rect width="100%" height="100%" fill="#008000"></rect><text x="50%" y="50%" fill="#dee2e6" dy=".3em"></text></svg>
                            <div class="card-body">
                              <h5 style="text-align: center" class="card-title">Cadastro</h5>
                              <p style="text-align: center" class="card-text">Cadastre suas visitas</p>
                              <a href="{{ route('conta.create') }}" class="btn btn-success">Cadastrar</a>
                            </div>
                          </div>
                         </div>
                         <div class='col-2'>
                            <div class="card" style="width: 14rem;">
                                <svg class="bd-placeholder-img card-img-top" width="100%" height="180" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: Image cap" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Relatório</title><rect width="100%" height="100%" fill="#708090"></rect><text x="50%" y="50%" fill="#dee2e6" dy=".3em"></text></svg>
                                <div class="card-body">
                                  <h5  style="text-align: center" class="card-title">Relatório</h5>
                                  <p style="text-align: center" class="card-text">Relatório PDF</p>
                                  <a  href="{{ route('conta.index') }}" class="btn btn-danger">Relatório</a>
                                </div>
                              </div>
                
                        </div>
            </div>
        </div>
    </div>
</div>
@endsection
