@extends('layout.main')
@section('body')
    @php
        $menu = 'Dashboard';
        $pageTitle = 'Home';
    @endphp

@include('layout.navbar')
@include('layout.sidebar')

<div class="main-container">
    <div class="pd-ltr-20 xs-pd-20-10">
        <div class="min-height-200px">
            <div class="card-box pd-20 height-50-p mb-30">
                <div class="row align-items-center">
                    <div class="col-md-8">
                        <h1 class="font-20 weight-500 mb-10 text-capitalize">
                            Selamat Datang,
                            <div class="weight-600 font-20 text-blue">{{ auth()->user()->name }}</div>
                        </h1>
                    </div>
                </div>
            </div>
            <div class="row pb-10">
                <div class="col-md-4 mb-20">
                    <div class="card-box height-100-p widget-style3">
                        <div class="d-flex flex-wrap">
                            <div class="widget-data">
                                <div class="weight-700 font-24 text-dark">{{ $jumlahEkstra }}</div>
                                <div class="font-14 text-secondary weight-500">
                                    Data Ekstrakurikuler
                                </div>
                            </div>
                            <div class="widget-icon">
                                <div class="icon" data-color="#00eccf">
                                    <i class="icon-copy dw dw-file-7"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 mb-20">
                    <div class="card-box height-100-p widget-style3">
                        <div class="d-flex flex-wrap">
                            <div class="widget-data">
                                <div class="weight-700 font-24 text-dark">{{ $jumlahKriteria }}</div>
                                <div class="font-14 text-secondary weight-500">
                                    Data Kriteria
                                </div>
                            </div>
                            <div class="widget-icon">
                                <div class="icon" data-color="#ff5b5b">
                                    <span class="icon-copy dw dw-file-7"></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 mb-20">
                    <div class="card-box height-100-p widget-style3">
                        <div class="d-flex flex-wrap">
                            <div class="widget-data">
                                <div class="weight-700 font-24 text-dark">{{ $jumlahSubKriteria }}</div>
                                <div class="font-14 text-secondary weight-500">
                                    Data Sub Kriteria
                                </div>
                            </div>
                            <div class="widget-icon">
                                <div class="icon">
                                    <i class="icon-copy dw dw-file-7" aria-hidden="true"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {{-- <div class="row">
                <div class="col-xl-8 mb-30">
                    <div class="card-box height-100-p pd-20">
                        <h2 class="h4 mb-20">Activity</h2>
                        <div id="chart5"></div>
                    </div>
                </div>
                <div class="col-xl-4 mb-30">
                    <div class="card-box height-100-p pd-20">
                        <h2 class="h4 mb-20">Lead Target</h2>
                        <div id="chart6"></div>
                    </div>
                </div>
            </div> --}}
        </div>
        <div class="footer-wrap pd-20 mb-20 card-box">
            <strong>Sistem Pendukung Keputusan Pemilihan Ekstrakurikuler Metode SMARTER</strong>
        </div>
    </div>
</div>
@endsection

