@extends('layouts.app')
@section('title', __('site.name'))
@section('content')
{{-- ═══════════════════════════════════════════════════════
HERO SLIDER
═══════════════════════════════════════════════════════ --}}
@php
$slides = [
[
'type' => 'image',
'src' => 'public/img/mon-cheri/slider-1.webp',
'label' => __('hero.slide1_label'),
'title' => __('hero.slide1_title'),
'subtitle' => __('hero.slide1_sub'),
'cta' => __('hero.slide1_cta'),
'cta_link' => route('about'),
],
// [
// 'type' => 'video',
// 'src' => asset('public/videos/moncheri-hero.mp4'),
// 'poster' => 'https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600&q=85',
// 'label' => __('hero.slide2_label'),
// 'title' => __('hero.slide2_title'),
// 'subtitle' => __('hero.slide2_sub'),
// 'cta' => __('hero.slide2_cta'),
// 'cta_link' => route('menu'),
// ],
// [
// 'type' => 'image',
// 'src' => 'https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?w=1600&q=85',
// 'label' => __('hero.slide3_label'),
// 'title' => __('hero.slide3_title'),
// 'subtitle' => __('hero.slide3_sub'),
// 'cta' => __('hero.slide3_cta'),
// 'cta_link' => route('contact'),
// ],
];
@endphp
@foreach($slides as $i => $slide)
@if($slide['type'] === 'video')
@else
@endif
{{ $slide['label'] }}
{{ $slide['title'] }}
{{ $slide['subtitle'] }}
{{ $slide['cta'] }}
@endforeach
@foreach($slides as $i => $slide)
@endforeach
{{-- ═══════════════════════════════════════════════════════
EXPERIENCES
═══════════════════════════════════════════════════════ --}}
@php
$experiences = [
[
'img' => 'public/img/mon-cheri/mon_cher_beach-10.webp',
'label' => __('features.beach_label'),
'title' => __('features.beach'),
'desc' => __('features.beach_desc'),
'link' => route('about'),
],
[
'img' => 'public/img/mon-cheri/mon_cher_beach-6.webp',
'label' => __('features.restaurant_label'),
'title' => __('features.restaurant'),
'desc' => __('features.restaurant_desc'),
'link' => route('menu'),
],
[
'img' => 'public/img/mon-cheri/mon_cher_beach-8.webp',
'label' => __('features.cocktails_label'),
'title' => __('features.cocktails'),
'desc' => __('features.cocktails_desc'),
'link' => route('menu'),
],
];
@endphp
@foreach($experiences as $i => $exp)
@endforeach
{{-- ═══════════════════════════════════════════════════════
EVENTS (sadece varsa)
═══════════════════════════════════════════════════════ --}}
@if($events->count())
@endif
{{-- ═══════════════════════════════════════════════════════
GALLERY
═══════════════════════════════════════════════════════ --}}
@php
$homeGallery = [
['i' => 1, 'title' => 'Plaj Manzarası', 'w' => 2, 'h' => 2],
['i' => 2, 'title' => 'Restaurant', 'w' => 1, 'h' => 1],
['i' => 3, 'title' => 'Kokteyl', 'w' => 1, 'h' => 1],
['i' => 4, 'title' => 'Lezzetler', 'w' => 1, 'h' => 1],
['i' => 5, 'title' => 'Gün Batımı', 'w' => 1, 'h' => 1],
];
@endphp
@foreach($homeGallery as $img)
@php $src = asset('public/img/mon-cheri/mon_cher_beach-' . $img['i'] . '.webp'); @endphp
@endforeach
{{-- ═══════════════════════════════════════════════════════
CTA
═══════════════════════════════════════════════════════ --}}
{{ __('home.cta_label') ?? 'Deneyiminizi Rezerve Edin' }}
{{ __('home.cta_title') }}
{{ __('home.cta_sub') }}
{{ __('home.reserve') }}
@push('scripts')
@endpush
@endsection