@extends('layouts.dashboard') @section('title', t('إدارة القالب','Theme Manager')) @section('page-title','🎨 '.t('إدارة القالب والتصميم','Theme & Design Manager')) @section('styles') @endsection @section('content') {{-- Tab Bar --}}
{{-- ═══ TAB: COLORS ═══ --}}
@csrf

🎨 {{ t('ألوان الموقع','Site Colors') }}

@php $colors = [ ['theme_primary', t('اللون الرئيسي','Primary Color'), t('يُستخدم في الأزرار والروابط والعناصر الرئيسية','Used in buttons, links and main elements')], ['theme_primary_dark', t('اللون الرئيسي الداكن','Primary Dark'), t('لحالات الـ hover','For hover states')], ['theme_accent', t('اللون المميز (Accent)','Accent Color'), t('للعناصر الثانوية والتأثيرات','For secondary elements and effects')], ['theme_success', t('لون النجاح','Success Color'), t('للرسائل والشارات الإيجابية','For positive messages and badges')], ['theme_danger', t('لون الخطأ','Danger Color'), t('للرسائل والتحذيرات','For errors and warnings')], ]; @endphp @foreach($colors as [$key, $label, $desc])
{{ $label }} {{ $desc }}
@endforeach {{-- Live Preview --}}
👁️ {{ t('معاينة مباشرة','Live Preview') }}
✅ {{ t('شارة نجاح','Success Badge') }} ❌ {{ t('شارة خطأ','Error Badge') }}
{{-- ═══ TAB: HERO ═══ --}}
@csrf

🦸 {{ t('قسم الـ Hero الرئيسي','Main Hero Section') }}

{{-- Enable toggle --}}
{{ t('تفعيل قسم Hero','Enable Hero Section') }}
{{-- Background --}}
🎨 {{ t('خلفية الـ Hero','Hero Background') }}
@foreach([['hero_bg_from','من (From)','#0f172a'],['hero_bg_mid','وسط (Mid)','#1e3a8a'],['hero_bg_to','إلى (To)','#2563eb']] as [$k,$l,$d])
@endforeach
{{-- Preview --}}
HERO PREVIEW
{{ $s['hero_title_ar']??'اجعل موقعك' }} يتصدر البحث
{{ Str::limit($s['hero_desc_ar']??'',60) }}

{{-- Text content --}}

✨ {{ t('تأثير الجسيمات المتحركة','Animated Particles Effect') }}
{{ t('نقاط متحركة في خلفية الـ Hero','Animated dots in hero background') }}
{{-- ═══ TAB: SECTIONS ═══ --}}
@csrf {{-- ══ PRODUCTS ══ --}}
📦
{{ t('قسم المنتجات','Products Section') }}
{{ t('يعرض كروت المنتجات','Shows product cards') }}
@foreach([2,3,4] as $c) @endforeach
{{-- ══ PRICING ══ --}}
💳
{{ t('قسم الأسعار','Pricing Section') }}
{{ t('يعرض خطط وأسعار كل إضافة','Shows per-plugin pricing plans') }}
💡 {{ t('الأسعار تُدار من قسم "أسعار الإضافات" في القائمة','Prices are managed from "Plugin Pricing" section in the menu') }} 💰 {{ t('إدارة الأسعار','Manage Pricing') }}
{{-- ══ WHY US ══ --}}
{{ t('قسم لماذا نحن','Why Us Section') }}
{{ t('يعرض مميزات المنصة','Shows platform advantages') }}
{{ t('سطر: العنوان | سطر: الوصف | سطر: العنوان | ...','Line: Title | Line: Description | repeat...') }}
@foreach([2,3,4,6] as $c) @endforeach
{{-- ══ STATS ══ --}}
📊
{{ t('إحصائيات الـ Hero','Hero Stats') }}
{{ t('أرقام إحصائية في الهيدر','Statistical numbers in hero') }}
@php $statsRaw = $s['section_stats_items'] ?? '24/7|دعم مستمر|Support|⏰|4.9|تقييم|Rating|⭐|500|موقع|Websites|🌐|4|سنوات|Years|🏆'; $statParts = explode('|', $statsRaw); $stats = []; for ($i = 0; $i < count($statParts); $i += 4) { $stats[] = [ 'value' => $statParts[$i] ?? '', 'label_ar' => $statParts[$i+1] ?? '', 'label_en' => $statParts[$i+2] ?? '', 'icon' => $statParts[$i+3] ?? '', ]; } @endphp @foreach($stats as $idx => $stat)
@endforeach
{{-- ══ BLOG ══ --}}
📰
{{ t('قسم المدونة','Blog Section') }}
{{ t('يعرض آخر المقالات','Shows latest blog posts') }}
@foreach([['grid','📦 Grid'],['list','📋 List'],['masonry','🧱 Masonry']] as [$val,$lbl]) @endforeach
@foreach([1,2,3,4] as $c) @endforeach
{{-- ══ CTA ══ --}}
🚀
{{ t('قسم الـ CTA','CTA Section') }}
{{ t('قسم الدعوة للعمل','Call-to-action section') }}
{{-- ═══ TAB: TYPOGRAPHY ═══ --}}
@csrf

🔤 {{ t('إعدادات الخطوط','Font Settings') }}

مرحباً بك في Media Serve
Welcome to Media Serve
{{ $s['font_size_base']??'16' }}px
💡 {{ t('الخطوط يتم تحميلها من Google Fonts تلقائياً','Fonts are loaded from Google Fonts automatically') }}
@endsection @section('scripts') @endsection