@extends('layouts.front.main')
@section('title', __('frontWords.home'))
@section('style')
@endsection
@section('content')
@php
$playlist = [];
$previousProgramPlaylist = [];
// Get Settings home_page_banner
$homePageSettings = \DB::table('settings')->where('name', 'home_page_banner')->first();
$bannerData = $homePageSettings ? json_decode($homePageSettings->value) : null;
// Determine Background Image
$heroBgImage = '';
if ($bannerData && isset($bannerData->background_image) && !empty($bannerData->background_image)) {
$heroBgImage = asset('images/home_page/' . $bannerData->background_image);
} else {
// Default background if not set
$heroBgImage = asset('assets/images/hero_banner.png');
}
@endphp
{{ $bannerData->tagline_text ?? '' }}
{{ $bannerData->program_name ?? ($live->program_name ?? '') }}
@elseif (!empty($presenter_banner_img))
@else
@endif
Up Next
{{ $upcomming->program_name }}
{{ date('h:i A', strtotime($upcomming->start_time)) . ' - ' . date('h:i A', strtotime($upcomming->end_time)) }}
@php
$artist_name = [];
if (
isset($upcomming->artist_name) &&
$upcomming->artist_name != null &&
$upcomming->artist_name != ''
) {
foreach (
json_decode($upcomming->artist_name)
as $key => $value
) {
$artist_name[] =
\Modules\Artist\Entities\Artist::find(
$value,
)->artist_name ?? '';
}
}
@endphp
{{ implode(', ', array_filter($artist_name)) }}
{{ $upcomming->program_name }}
{{ date('h:i A', strtotime($upcomming->start_time)) . ' - ' . date('h:i A', strtotime($upcomming->end_time)) }}
@php
$artist_name = [];
if (
isset($upcomming->artist_name) &&
$upcomming->artist_name != null &&
$upcomming->artist_name != ''
) {
foreach (
json_decode($upcomming->artist_name)
as $key => $value
) {
$artist_name[] =
\Modules\Artist\Entities\Artist::find(
$value,
)->artist_name ?? '';
}
}
@endphp
{{ implode(', ', array_filter($artist_name)) }}
Previous Stream
{{ $previos_stream->program_name }}
{{ date('h:i A', strtotime($previos_stream->start_time)) . ' - ' . date('h:i A', strtotime($previos_stream->end_time)) }}
@php
$artist_name = [];
if (
isset($previos_stream->artist_name) &&
$previos_stream->artist_name != null &&
$previos_stream->artist_name != ''
) {
foreach (
json_decode(
$previos_stream->artist_name,
)
as $key => $value
) {
$artist_name[] =
\Modules\Artist\Entities\Artist::find(
$value,
)->artist_name ?? '';
}
}
@endphp
{{ implode(', ', array_filter($artist_name)) }}
{{ $previos_stream->program_name }}
{{ date('h:i A', strtotime($previos_stream->start_time)) . ' - ' . date('h:i A', strtotime($previos_stream->end_time)) }}
@php
$artist_name = [];
if (
isset($previos_stream->artist_name) &&
$previos_stream->artist_name != null &&
$previos_stream->artist_name != ''
) {
foreach (
json_decode($previos_stream->artist_name)
as $key => $value
) {
$artist_name[] =
\Modules\Artist\Entities\Artist::find(
$value,
)->artist_name ?? '';
}
}
@endphp
{{ implode(', ', array_filter($artist_name)) }}
{{ implode(', ', $artist_name) }}
{{ implode(', ', $artist_name) }}
Podcast & On-Demand
{!! strip_tags($podcast->description) !!}
Conversation
{!! strip_tags($blog->detail) !!}
The best of Disrupt Radio
delivered directly to your inbox.
{{ rtrim($artist_name, ',') }}
{{ __('frontWords.no_album') }}
{{ strtoupper($testimonial->designation) }}
{{ strip_tags($testimonial->detail) }}
{{ $testimonial->created_at->diffForHumans(date('Y-m-d h:i:s')) }}