@php $activeTheme = \App\Models\Tema::where('es_activo', true)->first(); $themeConfig = $activeTheme->config ?? []; $activeFont = $themeConfig['font_family'] ?? "'Inter', sans-serif"; // Extract font name for Google Fonts API preg_match("/'([^']+)'/", $activeFont, $matches); $fontName = $matches[1] ?? 'Inter'; $fontQuery = str_replace(' ', '+', $fontName); @endphp
@if($activeTheme && $activeTheme->logo_path) Logo @elseif(file_exists(public_path('img/logo.png'))) Logo @else

SALVIX

@endif MENÚ DIGITAL
@if(!Request::is('pagar')) FINALIZAR @endif
@yield('content')
@yield('scripts')