@include('components.theme.pages.header')
<div class="d-sm-flex align-items-center justify-content-between mb-4">
    <h1 class="h3 mb-0 text-gray-800">{{ $data['subtitle'] }}</h1>
</div>
<section>
    <div class="row mb-4">
        <div class="col-md-4 mb-2">
            <div class="card border-left-info shadow py-2">
                <div class="card-body">
                    <div class="row no-gutters align-items-center">
                        <div class="col mr-2">
                            <div class="text-xs font-weight-bold text-info text-uppercase mb-1">
                                Total Gejala Terdaftar</div>
                            <div class="h5 mb-0 font-weight-bold text-gray-800">{{ $gejala }}</div>
                        </div>
                        <div class="col-auto">
                            <i class="fas fa-list-number fa-2x text-gray-300"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4 mb-2">
            <div class="card border-left-info shadow py-2">
                <div class="card-body">
                    <div class="row no-gutters align-items-center">
                        <div class="col mr-2">
                            <div class="text-xs font-weight-bold text-info text-uppercase mb-1">
                                Total Penyakit Terdaftar</div>
                            <div class="h5 mb-0 font-weight-bold text-gray-800">{{ $penyakit }}</div>
                        </div>
                        <div class="col-auto">
                            <i class="fas fa-list fa-2x text-gray-300"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4 mb-2">
            <div class="card border-left-info shadow py-2">
                <div class="card-body">
                    <div class="row no-gutters align-items-center">
                        <div class="col mr-2">
                            <div class="text-xs font-weight-bold text-info text-uppercase mb-1">
                                Total Aturan</div>
                            <div class="h5 mb-0 font-weight-bold text-gray-800">{{ $rule }}</div>
                        </div>
                        <div class="col-auto">
                            <i class="fas fa-link fa-2x text-gray-300"></i>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-12 mt-4">
            <div class="card">
                <div class="card-header">
                    <h6 class="m-0 font-weight-bold text-primary">Informasi</h6>
                </div>
                <div class="card-body">
                    Selamat Datang kembali <b>{{ Auth::user()->name }}</b>!
                </div>
            </div>
        </div>

    </div>
</section>
@include('components.theme.pages.footer')
