@extends('layouts.app')

@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb pb-3">
                      <li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
                      <li class="breadcrumb-item active" aria-current="page">Khazanah</li>
                    </ol>
                  </nav>

                <div class="card-body mx-auto">
                   
                <a href="{{ url('khazanahgadaian') }}" class="btn btn-info mb-4 ml-2 mr-2 btn-lg col-5">Gadai <span class="badge badge-light ">{{ count($gadai) }}</span></a>
                <a href="{{ url('khazanahtebus') }}" class="btn btn-info mb-4 ml-2 mr-2  btn-lg col-5">Tebus <span class="badge badge-light">{{ count($listserah) }}</span></a>   

                <a href="{{ url('pendahuluan') }}" class="btn btn-info  ml-2 mr-2 btn-lg col-5">Pendahuluan <span class="badge badge-light">{{ $countmodal }}</span></a>
                <a href="{{ url('serahan') }}" class="btn btn-info btn-lg ml-2 mr-2 col-5">Serahan <span class="badge badge-light">{{ $countserahan }}</span></a>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
