From 802ff28754c41e12a5f3787910333956a3f80b0c Mon Sep 17 00:00:00 2001 From: fahed Date: Thu, 26 Mar 2026 11:03:17 +0300 Subject: [PATCH] Update default theme to light and fix data source subtitle Default to light theme instead of system preference, and update dashboard subtitle to reflect VivaTicket as the data source. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 4 ++-- src/locales/ar.json | 2 +- src/locales/en.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 93aa32d..4fb05dd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -46,9 +46,9 @@ function App() { const [dataSource, setDataSource] = useState('museums'); const [theme, setTheme] = useState(() => { if (typeof window !== 'undefined') { - return localStorage.getItem('hihala_theme') || 'system'; + return localStorage.getItem('hihala_theme') || 'light'; } - return 'system'; + return 'light'; }); useEffect(() => { diff --git a/src/locales/ar.json b/src/locales/ar.json index e45545f..989d64a 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -56,7 +56,7 @@ }, "dashboard": { "title": "لوحة التحكم", - "subtitle": "تحليلات المتاحف المباشرة من جداول بيانات Google", + "subtitle": "تحليلات المتاحف من تقارير مبيعات VivaTicket", "noData": "لا توجد بيانات", "noDataMessage": "لا توجد سجلات تطابق الفلاتر الحالية. حاول تعديل اختيارك.", "quarterlyComparison": "مقارنة ربع سنوية: 2024 مقابل 2025", diff --git a/src/locales/en.json b/src/locales/en.json index a8e01a8..feeffac 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -56,7 +56,7 @@ }, "dashboard": { "title": "Dashboard", - "subtitle": "Real-time museum analytics from Google Sheets", + "subtitle": "Museum analytics from VivaTicket Sales Reports", "noData": "No data found", "noDataMessage": "No records match your current filters. Try adjusting your selection.", "quarterlyComparison": "Quarterly Comparison: 2024 vs 2025",