use App\Core\Settings; // === إعدادات الاسم التجاري (Brand) === $brandFont = Settings::get('brand_font_family', 'Lalezar'); $brandSize = Settings::get('brand_font_size', '1.8rem'); $brandColor = Settings::get('brand_font_color', '#4f46e5'); $brandWeight = Settings::get('brand_font_weight', '700'); // Custom font settings $customFontUrl = Settings::get('custom_font_url', ''); $customFontName = Settings::get('custom_font_name', ''); // Map fonts to their Google Fonts URLs $fontUrls = [ 'Lalezar' => 'https://fonts.googleapis.com/css2?family=Lalezar&display=swap', 'Cairo' => 'https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap', 'Tajawal' => 'https://fonts.googleapis.com/css2?family=Tajawal:wght@700;800;900&display=swap', 'Almarai' => 'https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap', 'Rakkas' => 'https://fonts.googleapis.com/css2?family=Rakkas&display=swap', 'Oi' => 'https://fonts.googleapis.com/css2?family=Oi&display=swap', 'Aref Ruqaa Ink' => 'https://fonts.googleapis.com/css2?family=Aref+Ruqaa+Ink:wght@400;700&display=swap', 'custom' => $customFontUrl ]; // Collect fonts to load (only brand font) $fontsToLoad = array_unique([$brandFont]); // Build font family strings with fallbacks function buildFontFamily($font, $customFontName) { if ($font === 'custom') { return $customFontName; } $fallback = ($font === 'Lalezar' || $font === 'Rakkas' || $font === 'Oi') ? ', cursive' : ', sans-serif'; return "'$font'" . $fallback; } $brandFontFamily = buildFontFamily($brandFont, $customFontName); ?>
موسي لخدمات المحمول
00:00
--
DB: ONLINE
PING: --ms
CPU: --%
انقر للمتابعة

موسي لخدمات المحمول