@extends('website_builder.agency_template.admin.layout') @section('title', 'Upcoming Events & Showcase Section — Admin Dashboard') @section('content')

Upcoming Events & Showcase Section

Customize the left-side brand story ("Why Choose Us") and right-side featured upcoming event highlight rendered on your homepage.

@if(isset($customer) && !empty($customer->subdomain)) View Live Site @endif
@if(session('success')) @endif @php $whyEyebrow = $agency->why_eyebrow ?? 'WHY CHOOSE EVENTLY'; $whyScript = $agency->why_script_text ?? "Your Vision\nOur Passion"; $whyTitle = $agency->why_title ?? "More Than Events,\nWe Create Experiences"; $whyDesc = $agency->why_desc ?? 'We combine creativity, expertise, and passion to deliver events that leave a lasting impression.'; $whyImage = $agency->why_image ?? 'assets/website_builder/Templates/Evently/why_evently.png'; $whyImgUrl = str_starts_with($whyImage, 'http') ? $whyImage : asset(ltrim($whyImage, '/')); $rawWhyBullets = $agency->why_bullets_data ?? null; if (is_string($rawWhyBullets)) { $dec = json_decode($rawWhyBullets, true); $rawWhyBullets = is_string($dec) ? json_decode($dec, true) : $dec; } $whyBullets = (is_array($rawWhyBullets) && count($rawWhyBullets) > 0) ? $rawWhyBullets : [ ['icon' => 'fa-solid fa-bullseye', 'text' => 'Personalized Planning'], ['icon' => 'fa-solid fa-lightbulb', 'text' => 'Innovative Concepts'], ['icon' => 'fa-solid fa-handshake', 'text' => 'Trusted Network'], ['icon' => 'fa-solid fa-scale-balanced', 'text' => 'Stress-Free Execution'], ]; $hlBadge = $agency->event_highlight_badge ?? 'UPCOMING EVENT HIGHLIGHT'; $hlTitle = $agency->event_highlight_title ?? 'Global Business Summit 2024'; $hlLocation = $agency->event_highlight_location ?? 'New York, USA'; $hlDate = $agency->event_highlight_date ?? '24 - 26 Nov 2024'; $hlDesc = $agency->event_highlight_desc ?? 'Join industry leaders, innovators, and thinkers for three days of inspiration, networking, and growth.'; $hlBtnText = $agency->event_highlight_btn_text ?? 'Register Now'; $hlBtnUrl = $agency->event_highlight_btn_url ?? '/contact'; $hlImage = $agency->event_highlight_image ?? 'assets/website_builder/Templates/Evently/event_speaker_stage.png'; $hlImgUrl = str_starts_with($hlImage, 'http') ? $hlImage : asset(ltrim($hlImage, '/')); $hlAttendees = $agency->event_highlight_attendees ?? '500+ Attendees Expected'; @endphp
@csrf
Left Side Showcase
Why Choose Us, Brand Story & Highlight Bullets
Displays in elegant cursive script in the top-right corner.
@if(!empty($whyImage))
Current: Why Preview
@endif
@for($b = 0; $b < 4; $b++) @php $curBullet = $whyBullets[$b] ?? ['icon' => 'fa-solid fa-check', 'text' => '']; @endphp
Pill #{{ $b + 1 }}
@endfor
Right Side Highlight Box
Featured Upcoming Event, Details & Registration Button
@if(!empty($hlImage))
Current: Stage Preview
@endif
@endsection