@extends('layouts.frontend.master') @section('title', $event->name . ' - Event Details') @section('content')
@if($event->files && $event->files->where('file_type', 1)->first())
{{ ucfirst($event->category) }}

{{ $event->name }}

Join us for an exciting event that brings our community together.

@auth @php $existingRegistration = \App\Models\EventRegistration::where('user_id', auth()->id()) ->where('event_id', $event->id) ->first(); @endphp @if($existingRegistration) id) }}' class='bg-blue-600 text-white px-12 py-3 rounded-lg font-bold hover:bg-blue-700 transition-all duration-300 inline-flex items-center gap-2 text-base shadow-sm hover:shadow-md transform hover:-translate-y-1'> View Registration @else @endif @else Login to Register @endauth Learn More
files->where('file_type', 1)->first()->file_path) }}' alt='{{ $event->name }} Banner' class='rounded-xl shadow-2xl' style='max-height: 300px; object-fit: contain;'>
@else
{{ ucfirst($event->category) }}

{{ $event->name }}

Join us for an exciting event that brings our community together.

@auth @php $existingRegistration = \App\Models\EventRegistration::where('user_id', auth()->id()) ->where('event_id', $event->id) ->first(); @endphp @if($existingRegistration) id) }}' class='bg-blue-600 text-white px-12 py-3 rounded-lg font-bold hover:bg-blue-700 transition-all duration-300 inline-flex items-center gap-2 text-base shadow-sm hover:shadow-md transform hover:-translate-y-1'> View Registration @else @endif @else Login to Register @endauth Learn More

Event Image

Coming Soon

@endif
{{ $event->venue }}
@if($event->dates && $event->dates->count() > 0)
{{ $event->dates->first()->date->format('d M Y') }}
@endif
{{ ucfirst($event->category) }}

About This Event

{!! nl2br(e($event->description)) !!}
@if($event->dates && $event->dates->count() > 0)

Event Schedule & Pricing

@foreach($event->dates as $date)
{{ $date->date->format('l, d M Y') }}
{{ \Carbon\Carbon::parse($date->start_time)->format('g:i A') }} - {{ \Carbon\Carbon::parse($date->end_time)->format('g:i A') }}
৳{{ number_format($date->fee, 0) }}
@if($event->is_guest_allowed)

Guest Pricing

@if($date->spouse_fee)
Spouse: ৳{{ number_format($date->spouse_fee, 0) }}
@endif @if($date->children_below_5_fee)
Children (Below 5): ৳{{ number_format($date->children_below_5_fee, 0) }}
@endif @if($date->children_5_to_12_fee)
Children (5-12): ৳{{ number_format($date->children_5_to_12_fee, 0) }}
@endif @if($date->children_above_12_fee)
Children (Above 12): ৳{{ number_format($date->children_above_12_fee, 0) }}
@endif @if($date->driver_fee)
Driver: ৳{{ number_format($date->children_below_5_fee, 0) }}
@endif @if($date->maid_fee)
Maid: ৳{{ number_format($date->maid_fee, 0) }}
@endif @if($date->other_guest_fee)
Other Guest: ৳{{ number_format($date->other_guest_fee, 0) }}
@endif
@endif
@endforeach
@endif @if($event->highlights && count($event->highlights) > 0)

Event Highlights

@foreach($event->highlights as $highlight)
{{ $highlight }}
@endforeach
@endif @if($event->special_requirements)

Special Requirements

{!! nl2br(e($event->special_requirements)) !!}
@endif @if($event->files && $event->files->where('file_type', 1)->count() > 1)

Event Gallery

@foreach($event->files->where('file_type', 1)->skip(1) as $image)
file_path) }}' alt='{{ $event->name }} - Image {{ $loop->iteration }}' class='w-full h-32 md:h-40 object-cover group-hover:scale-105 transition-transform duration-300'>
@endforeach
@endif @if($event->files && $event->files->where('file_type', 2)->count() > 0)

Event Materials

@foreach($event->files->where('file_type', 2) as $file)

{{ basename($file->file_path) }}

Document

Download
@endforeach
@endif

Event Information

Category

{{ ucfirst($event->category) }}

Expected Attendees

{{ $event->expected_attendees ?: 'Not specified' }}

@if($event->is_guest_allowed)

Guests Allowed

Yes

@endif @if($event->is_accommodation_available)

Accommodation

Available

@endif

Ready to Join?

Secure your spot at this exciting event. Registration is quick and easy.

* Registration form will open in a new window

Need Help?

If you have any questions about this event, please contact us:

info@example.com
+880 1234-567890
Back to All Events
@endsection