@extends('shop::layouts.master')
@php
$channel = core()->getCurrentChannel();
$homeSEO = $channel->home_seo;
if (isset($homeSEO)) {
$homeSEO = json_decode($channel->home_seo);
$metaTitle = $homeSEO->meta_title;
$metaDescription = $homeSEO->meta_description;
$metaKeywords = $homeSEO->meta_keywords;
}
@endphp
@section('page_title')
{{ isset($metaTitle) ? $metaTitle : "" }}
@endsection
@section('head')
@if (isset($homeSEO))
@isset($metaTitle)
@endisset
@isset($metaDescription)
@endisset
@isset($metaKeywords)
@endisset
@endif
@endsection
@section('content-wrapper')
{!! view_render_event('bagisto.shop.home.content.before') !!}
{!! DbView::make($channel)->field('home_page_content')->with(['sliderData' => $sliderData])->render() !!}
{{ view_render_event('bagisto.shop.home.content.after') }}
@endsection