@extends('voyager::master') @section('page_title', 'Home Page Content') @section('css') @stop @section('content')
@include('voyager::alerts')

Home Page Content

Configure text copy, video/poster media, buttons, and section backgrounds for each homepage section. (Data lists are managed in their dedicated BREAD tables in the sidebar).

@csrf @method('PUT')
1
Hero Section
Heading lines, CTA button, background video stream/upload & fallback poster
Hero Headings & Actions
@php $heroType = $home['hero_bg_type'] ?? 'video'; $heroVideoUrl = $home['hero_video_url'] ?? 'storage/website/index.m3u8'; $heroPoster = $home['hero_video_poster'] ?? 'storage/website/poster.jpg'; $heroColor = $home['hero_bg_color'] ?? '#09383a'; $heroImage = $home['hero_bg_image'] ?? $heroPoster; $heroImgSrc = !empty($heroImage) ? asset($heroImage) : ''; $posterSrc = !empty($heroPoster) ? asset($heroPoster) : ''; @endphp
Hero Media & Background
Direct .mp4 video file or HLS .m3u8 streaming link.
Poster Preview
No poster uploaded
High-resolution banner image recommended (1920x1080).
Hero Background Preview
No hero image uploaded
Click the swatch to pick a color or enter a HEX code.
2
About Section
Mission statement, 2030 impact targets & background styling
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'about', 'defaultType' => 'image', 'defaultColor' => '#ffffff' ])
3
Our Work on Ground
Section copy, intro paragraph, CTA button & background styling
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'programs', 'defaultType' => 'color', 'defaultColor' => '#143823', 'breadLink' => route('voyager.programs.index'), 'breadLabel' => 'Programs BREAD (' . count($programs) . ')' ])
4
Our Impact
Section copy, subtitle & background styling
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'impact', 'defaultType' => 'color', 'defaultColor' => '#ffffff', 'breadLink' => route('voyager.impacts.index'), 'breadLabel' => 'Impact Numbers BREAD (' . count($impacts) . ')' ])
5
How We Work
Methodology copy, CTA link & background styling
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'approach', 'defaultType' => 'color', 'defaultColor' => '#fbfaf6', 'breadLink' => route('voyager.how-we-work-items.index'), 'breadLabel' => 'Principles BREAD (' . count($howWeWorkItems) . ')' ])
Card Layout: Shows up to 3 active principles on the homepage. 3 active cards render in a balanced 3-column row; 2 active cards render as dual cards; 1 active card renders as a full-width showcase banner.
6
Organisations Supporting Our Work
Partner marquee heading, CTA link & background styling
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'partners', 'defaultType' => 'color', 'defaultColor' => '#ffffff', 'breadLink' => route('voyager.partners.index'), 'breadLabel' => 'Partners BREAD (' . count($partners) . ')' ])
7
Open Source Technology
Headings, tech stack body description, action buttons, diagram tags & background styling
4 Diagram Floating Tags
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'tech', 'defaultType' => 'color', 'defaultColor' => '#0c3540' ])
8
Our Work in Action
Section copy, CTA button label, featured projects selector & background styling
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'projects', 'defaultType' => 'color', 'defaultColor' => '#ffffff' ])
Select Featured Projects to Display (Max 3) Projects BREAD ({{ count($allProjects) }})

Select up to 3 projects to display on the homepage:

{{ count($featuredProjectSlugs) }} / 3 selected
@forelse($allProjects as $project) @php $checked = in_array($project->slug, $featuredProjectSlugs); @endphp @empty
No projects found in database.
@endforelse
9
Stay Connected
Section copy & background styling
News Header & Links
@include('voyager.home-contents.partials.bg-styling', [ 'prefix' => 'field', 'defaultType' => 'color', 'defaultColor' => '#ffffff', 'breadLink' => route('voyager.news.index'), 'breadLabel' => 'News BREAD Manager' ])
Changes affect live homepage content immediately after saving.
@stop @section('javascript') @stop