@extends('layouts.admin') @section('title', 'Dashboard') @section('content')

Dashboard

Website ke content sections yahan se manage karein

@php $cards = [ [ 'icon' => 'bi-images', 'title' => 'Hero Slider', 'desc' => 'Slider images shown at the top of the homepage.', 'route' => route('admin.hero-slides.index'), 'btn' => 'Manage', 'color' => 'rose', ], [ 'icon' => 'bi-megaphone', 'title' => 'Notices', 'desc' => 'Scrolling ticker notices.', 'route' => route('admin.notices.index'), 'btn' => 'Manage', 'color' => 'green', ], [ 'icon' => 'bi-card-text', 'title' => 'Intro Card', 'desc' => 'The small "Intro" card on the homepage.', 'route' => route('admin.intro.edit'), 'btn' => 'Edit', 'color' => 'blue', ], [ 'icon' => 'bi-person-badge', 'title' => 'Officials', 'desc' => 'CM, Minister, Chairman, EO cards.', 'route' => route('admin.officials.index'), 'btn' => 'Manage', 'color' => 'yellow', ], [ 'icon' => 'bi-info-circle', 'title' => 'About Section', 'desc' => 'The detailed intro section on the homepage.', 'route' => route('admin.about.edit'), 'btn' => 'Edit', 'color' => 'blue', ], [ 'icon' => 'bi-chat-square-text', 'title' => 'Messages', 'desc' => 'Chairman and EO messages.', 'route' => route('admin.leader-messages.index'), 'btn' => 'Manage', 'color' => 'rose', ], ]; @endphp @foreach ($cards as $card)
{{ $card['title'] }}

{{ $card['desc'] }}

{{ $card['btn'] }}
@endforeach
@endsection