@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
@else