@extends('backend.app') @section('title', 'Home Page CMS') @push('style') @endpush @section('content')

Home Page CMS

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf

Main & About

{{-- ===== HERO / BANNER ===== --}}

Hero Banner

@if(!empty($page->content['main_about']['hero_image']))
@endif
Upload an image (JPEG, PNG, JPG, GIF, SVG) or video (MP4, MOV, OGG, QT, WEBM) up to 50MB. For best performance, we recommend keeping it under 10MB.
@if(!empty($page->content['main_about']['bg_image'])) @php $bgImage = $page->content['main_about']['bg_image']; $isBgVideo = in_array(pathinfo($bgImage, PATHINFO_EXTENSION), ['mp4', 'webm', 'ogg', 'mov', 'qt']); @endphp
@if($isBgVideo) @else @endif
@endif
{{-- ===== SLIDE IMAGES ===== --}}

Slide Images

@php $slides = old('main_about.slides', $page->content['main_about']['slides'] ?? []); @endphp @foreach($slides as $index => $slide)
@if(!empty($slide['image']))
@endif
@endforeach
{{-- ===== ABOUT SECTION ===== --}}

About Section

@csrf

Secure & Transparent

@php $secTrans = old('secure_transparent', $page->content['secure_transparent'] ?? []); @endphp @for($i = 0; $i < 3; $i++)
Option {{ $i + 1 }}
@endfor
@csrf

Promote Anything

@php $promFeatures = old('promote_anything_features', $page->content['promote_anything']['features'] ?? []); @endphp @foreach($promFeatures as $feat)
@endforeach
@csrf

Why Advertisers and Hosts Choose Omni

Advertisers Section

@php $whyAdvFeats = old('why_choose_us_advertisers_features', $page->content['why_choose_us']['advertisers']['features'] ?? []); @endphp @foreach($whyAdvFeats as $feat)
@endforeach

Hosts Section

@php $whyHostFeats = old('why_choose_us_hosts_features', $page->content['why_choose_us']['hosts']['features'] ?? []); @endphp @foreach($whyHostFeats as $feat)
@endforeach
@csrf

Stories from our Events

Add stories with an image, description and sort order.

@php $stories = old('stories', $page->content['stories'] ?? []); @endphp @foreach($stories as $index => $story)
@if(!empty($story['image']))
@endif
@endforeach
@csrf

Contact Section

Upload an image (JPEG, PNG, JPG, GIF, SVG) up to 5MB.
@if(!empty($page->content['home_contact']['bg_image']))
@endif
@push('script') @endpush @endsection