@php $channel = core()->getCurrentChannel(); @endphp {{-- SEO Meta Content --}} @push ('meta') @endPush {{-- Page Title --}} {{ $channel->home_seo['meta_title'] ?? '' }} {{-- Loop over the theme customization --}} @foreach ($customizations as $customization) @php ($data = $customization->options) {{-- Static content --}} @switch ($customization->type) {{-- Image Carousel --}} @case ($customization::IMAGE_CAROUSEL) @break @case ($customization::STATIC_CONTENT) {{-- push style --}} @push ('styles') @endpush {{-- render html --}} {!! $data['html'] !!} @break @case ($customization::CATEGORY_CAROUSEL) {{-- Categories carousel --}} @break @case ($customization::PRODUCT_CAROUSEL) {{-- Product Carousel --}} @break @endswitch @endforeach