@php
// Public layout - no authentication required
// Ensure sidebars are hidden by default for public pages
$showLeftSidebar = $showLeftSidebar ?? false;
$showRightSidebar = $showRightSidebar ?? false;
$mainContentClass = match(true) {
$showLeftSidebar && $showRightSidebar => 'col-md-8 col-lg-6',
$showLeftSidebar || $showRightSidebar => 'col-md-9 col-lg-9',
default => 'col-md-12'
};
@endphp
@yield('title', 'SocialLink')
@stack('styles')
@yield('styles')
@yield('extra-css')
@include('front_end.components.public_header')
@if($showLeftSidebar)
@endif
@if($showRightSidebar)
@endif
@include('front_end.components.public_footer')
@stack('scripts')
@yield('extra-js')