@extends('layouts/blankLayout')

@section('title', 'Home')

@section('content')
<div class="content-wrapper">
	<div class="container-xxl flex-grow-1 container-p-y">
	
		<div class="row mb-4 g-2">
			<div class="col-md-6">
				<div class="kco-brand">
            <a href="{{url('/')}}" class="text-left">
              <div class="kco-brand-text">
			  <span class="kco-big-heading">Kericho County</span>
			  <span class="kco-small-heading">
			  Finance Bill Management System
			  </span>
			  </div>
            </a>
          </div>
			</div>
			<div class="col-md-6 text-end">
				<!-- Authentication Links -->
                        @guest
                            @if (Route::has('login'))
                                    <a class="#" href="{{ route('login') }}" wire:navigate>{{ __('Login') }}</a>
                            @endif
							
							&emsp;

                            @if (Route::has('register'))
                                    <a class="#" href="{{ route('register') }}" wire:navigate>{{ __('Register') }}</a>
                            @endif
                        @else
                                <a class="#" href="#">
                                    {{ Auth::user()->name }}
                                </a>
								
								
								@auth
									&emsp;
									@role('super-admin')
										<a class="#" href="#">
										Dashboard
										</a>
									@endrole
									@role('admin')
										<a class="#" href="#">
										Dashboard
										</a>
									@endrole
								@endauth
								
									&emsp;
									
                                    <a class="#" href="{{ route('logout') }}"
                                       onclick="event.preventDefault();
                                                     document.getElementById('logout-form').submit();">
                                        {{ __('Logout') }}
                                    </a>

                                    <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
                                        @csrf
                                    </form>
									@endguest
                                </div>
			</div><!--./row mb-6-->
			
		<div class="row mb-12 g-6">
			<div class="col-md-12">
				<div class="card">
				  <div class="card-body">
					<h5 class="card-title">Kericho County Finance Bill Management System(FBMS)</h5>
					<p class="card-text">Welcome to our portal. Here you will find all the finance bills...</p>
					<a href="javascript:void(0)" class="btn btn-kco-green">2025 Finance Bills</a>
				  </div>
				</div>
			</div>
		</div><!--./row mb-6-->
			
	</div><!--./container-xxl-->
</div><!--/.content-wrapper-->

@endsection
