@extends('admin.layouts.home') @section('title', 'Featured Events') @section('styles') @endsection @section('content')

Featured Events

Back to All Events
Featured Events

Featured events are displayed prominently throughout the application. They appear in the "Featured Events" section on the home page and discovery feeds. To add or remove an event from the featured list, go to the event details page or use the toggle button below.

@if($featuredEvents->isEmpty())

No Featured Events

You haven't featured any events yet. Go to the Events list and click the star icon to feature an event.

Go to Events List
@else
@foreach($featuredEvents as $event)
Featured
{{ \Carbon\Carbon::parse($event->event_date)->format('M d') }}
{{ $event->title }}

{{ Str::limit($event->description, 100) }}

{{ $event->attendees_count ?? 0 }} attendees {{ Str::limit($event->location, 15) }}
@endforeach
{{ $featuredEvents->links('pagination::bootstrap-5') }}
@endif @if($suggestedEvents->isNotEmpty())
Suggested Events to Feature

These events are popular and might be good candidates for featuring:

@foreach($suggestedEvents as $event) @endforeach
Event Name Date Location Attendees Interests Creator Actions
{{ $event->title }} {{ \Carbon\Carbon::parse($event->event_date)->format('M d, Y') }} {{ Str::limit($event->location, 30) }} {{ $event->attendees_count }} {{ $event->interests_count }} @if($event->creator) {{ $event->creator->name }} @else Unknown @endif
@csrf
@endif
@endsection