{{-- @php $color = '#e22454'; $textInsideColor = '#ffffff'; if($general = $options->theme->general){ $color = $general->theme_primary_color($color); $textInsideColor = $general->text_inside_color($textInsideColor); } $html->addTagAttribute('html', 'lang', 'vi-VN'); $html->addTagAttribute('body', [ 'class'=> "theme-color2 light ltr ". $__env->yieldContent('body.class'), 'style' => "--theme-color:$color;--text-inside-color: $textInsideColor" ]); $general = $options->theme->general; $show_header = $__env->yieldContent('page.header.show'); @endphp --}} @extends($_lib.'layout') @section('body') {{-- @if ($general->show_preloader) --}} @include($_template.'preloader') {{-- @endif --}} @include($_template.'offcanvas') @include($_template.'panels') @include($_template.'header')
@php $show_breadcrumb = $__env->yieldContent('breadcrumb.show', $__env->yieldContent('show_breadcrumb', true)); if ($show_breadcrumb && $show_breadcrumb != false && $show_breadcrumb != 'false' && $show_breadcrumb != 'no') { $show_breadcrumb = true; } else { $show_breadcrumb = false; } $breadcrumb_title = $__env->yieldContent('breadcrumb.title', $__env->yieldContent('breadcrumb_title')); $sidebar = $__env->yieldContent('sidebar'); if (!in_array($sidebar, ['post', 'product', 'default'])) { $sidebar = 'default'; } @endphp @if ($show_breadcrumb) @include($_template . 'breadcrumb', ['title' => $breadcrumb_title]) @endif @yield('content')
@include($_template.'footer') @include($_template.'js') @endsection