uawdijnntqw1x1x1
IP : 216.73.216.76
Hostname : server.zoomride.app
Kernel : Linux server.zoomride.app 4.18.0-553.158.1.el8_10.x86_64 #1 SMP Wed Aug 26 03:18:33 EDT 2026 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
zoomride2022
/
.trash
/
about
/
what-we-do.blade.php
/
/
<!-- About What area starts --> <section class="w-full px-6 py-12 md:py-20" data-padding-top="{{$padding_top ?? ''}}" data-padding-bottom="{{$padding_bottom ?? ''}}" style="padding-top: {{ $padding_top ?? 0 }}px; padding-bottom: {{ $padding_bottom ?? 0 }}px; background-color:{{$section_bg ?? ''}}"> <div class="max-w-7xl mx-auto"> <!-- Heading --> @if(isset($title) && !empty($title)) <div class="text-center mb-12"> <h2 class="text-3xl lg:text-4xl font-medium text-gray-900"> {{ $title }} </h2> @if(isset($description) && !empty($description)) <p class="text-gray-600 mt-4">{{ $description }}</p> @endif </div> @endif <!-- Video/Image Container --> <div class="relative w-full mb-8"> <div class="relative w-full bg-gray-300 rounded-3xl overflow-hidden" style="aspect-ratio: 16/7;"> @if(isset($video_url) && !empty($video_url)) <!-- Video Player --> <video id="whatWeDoVideoPlayer" class="w-full h-full object-cover"> <source src="{{ $video_url }}" type="video/mp4"> Your browser does not support the video tag. </video> <!-- Play Button Overlay --> <button id="whatWeDoPlayButton" title="play button" class="absolute inset-0 flex items-center justify-center group cursor-pointer" type="button"> <div class="w-20 h-20 lg:w-24 lg:h-24 bg-white rounded-full flex items-center justify-center shadow-lg transform group-hover:scale-110 transition-transform duration-300"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 lg:w-10 lg:h-10 text-secondary ml-1"> <path d="M8 5v14l11-7z" /> </svg> </div> </button> @elseif(isset($image) && !empty($image)) <!-- Fallback Image --> @php $image_details = get_attachment_image_by_id($image); $image_url = $image_details['img_url'] ?? ''; @endphp @if(!empty($image_url)) <img src="{{ $image_url }}" alt="{{ $title ?? 'What we do' }}" class="absolute inset-0 w-full h-full object-cover rounded-3xl"> @else <!-- Placeholder when no media is available --> <div class="absolute inset-0 w-full h-full flex items-center justify-center"> <span class="text-gray-500 text-lg">Upload a video or image</span> </div> @endif @else <!-- Placeholder when no media is available --> <div class="absolute inset-0 w-full h-full flex items-center justify-center"> <span class="text-gray-500 text-lg">Upload a video or image</span> </div> @endif </div> </div> <!-- Stats Grid --> @if(isset($repeater_data) && is_array($repeater_data) && isset($repeater_data['title_']) && count($repeater_data['title_']) > 0) <div class="grid grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8"> @foreach($repeater_data['title_'] as $key => $stat_title) <!-- Stat Item --> <div class="text-center"> <h3 class="text-3xl lg:text-4xl font-semibold text-gray-900">{{ $stat_title ?? '' }}</h3> @if(isset($repeater_data['description_'][$key]) && !empty($repeater_data['description_'][$key])) <p class="text-gray-600 text-sm mt-2">{{ $repeater_data['description_'][$key] }}</p> @endif </div> @endforeach </div> @endif </div> </section> <!-- JavaScript for Video Play Control --> @if(isset($video_url) && !empty($video_url)) <script> document.addEventListener('DOMContentLoaded', function() { const videoPlayer = document.getElementById('whatWeDoVideoPlayer'); const playButton = document.getElementById('whatWeDoPlayButton'); if (videoPlayer && playButton) { // Play button click handler playButton.addEventListener('click', function() { if (videoPlayer.paused) { videoPlayer.play(); playButton.style.display = 'none'; } else { videoPlayer.pause(); playButton.style.display = 'flex'; } }); // Show play button when video is paused videoPlayer.addEventListener('pause', function() { playButton.style.display = 'flex'; }); // Hide play button when video is playing videoPlayer.addEventListener('play', function() { playButton.style.display = 'none'; }); // Show play button when video ends videoPlayer.addEventListener('ended', function() { playButton.style.display = 'flex'; }); // Optional: Click on video to pause/play videoPlayer.addEventListener('click', function() { if (videoPlayer.paused) { videoPlayer.play(); } else { videoPlayer.pause(); } }); } }); </script> @endif <!-- About What area end -->
/home/zoomride2022/.trash/about/what-we-do.blade.php