@extends('layouts.app')
@section('content')
    <div class="container-fluid mt-5">
        <div class="card">
            <div class="card-header">{{ __('Dashboard') }}</div>
            <div class="card-body">
                <div class="row">
                    @if($event)
                        @foreach($event as $event)

                            <div class="col-lg-4 col-md-6 col-sm-6">
                                <div class="cards cards-stats">
                                    <div class="cards-header" data-background-color="orange">
                                        <i class="fa fa-calendar-plus-o"></i>
                                    </div>
                                    <div class="cards-content">
                                        <p class="category">{{ $event->event_name }}</p>
                                        <h3 class="title">@if($event->event_status == 1) Active @else Inactive @endif</h3>
                                    </div>
                                    <div class="cards-footer">
                                        <div class="stats">
                                            <i class="fa fa-universal-access"></i> Invited Guest
                                             <h4 class="title" style="float:right">10</h4>
                                        </div>
                                        <br>
                                        <div class="stats">
                                            <i class="fa fa-check-circle"></i> Invitation Accepted
                                             <h4 class="title" style="float:right">10</h4>
                                        </div>
                                        <br>
                                         <div class="stats">
                                            <i class="fa fa-times-circle-o"></i> Invitation Rejected
                                             <h4 class="title" style="float:right">10</h4>
                                        </div>
                                        <br>
                                         <div class="stats">
                                            <i class="fa fa-compass"></i> Guest Coming
                                           <h4 class="title" style="float:right">10</h4>
                                        </div>
                                        

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


                        @endforeach
                        @else
                            no event
                        @endif


















                
                    
                </div>
            </div>
            
        </div>
    </div>
@endsection
