@php
// Ensure sidebars are shown unless explicitly disabled in child views
$showLeftSidebar = $showLeftSidebar ?? true;
$showRightSidebar = $showRightSidebar ?? true;
$mainContentClass = match(true) {
$showLeftSidebar && $showRightSidebar => 'col-12 col-md-12 col-lg-6',
$showLeftSidebar || $showRightSidebar => 'col-12 col-md-9 col-lg-9',
default => 'col-md-12'
};
@endphp
@yield('title', 'SocialLink')
@stack('styles')
@yield('extra-css')
@include('front_end.components.header')
@if($showLeftSidebar)
@endif
@if($showRightSidebar)
@endif
@include('front_end.components.footer')
@stack('scripts')
@yield('extra-js')