Update default theme to light and fix data source subtitle
All checks were successful
Deploy HiHala Dashboard / deploy (push) Successful in 7s

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) <noreply@anthropic.com>
This commit is contained in:
fahed
2026-03-26 11:03:17 +03:00
parent 7d919979cc
commit 802ff28754
3 changed files with 4 additions and 4 deletions

View File

@@ -46,9 +46,9 @@ function App() {
const [dataSource, setDataSource] = useState<string>('museums'); const [dataSource, setDataSource] = useState<string>('museums');
const [theme, setTheme] = useState<string>(() => { const [theme, setTheme] = useState<string>(() => {
if (typeof window !== 'undefined') { if (typeof window !== 'undefined') {
return localStorage.getItem('hihala_theme') || 'system'; return localStorage.getItem('hihala_theme') || 'light';
} }
return 'system'; return 'light';
}); });
useEffect(() => { useEffect(() => {

View File

@@ -56,7 +56,7 @@
}, },
"dashboard": { "dashboard": {
"title": "لوحة التحكم", "title": "لوحة التحكم",
"subtitle": "تحليلات المتاحف المباشرة من جداول بيانات Google", "subtitle": "تحليلات المتاحف من تقارير مبيعات VivaTicket",
"noData": "لا توجد بيانات", "noData": "لا توجد بيانات",
"noDataMessage": "لا توجد سجلات تطابق الفلاتر الحالية. حاول تعديل اختيارك.", "noDataMessage": "لا توجد سجلات تطابق الفلاتر الحالية. حاول تعديل اختيارك.",
"quarterlyComparison": "مقارنة ربع سنوية: 2024 مقابل 2025", "quarterlyComparison": "مقارنة ربع سنوية: 2024 مقابل 2025",

View File

@@ -56,7 +56,7 @@
}, },
"dashboard": { "dashboard": {
"title": "Dashboard", "title": "Dashboard",
"subtitle": "Real-time museum analytics from Google Sheets", "subtitle": "Museum analytics from VivaTicket Sales Reports",
"noData": "No data found", "noData": "No data found",
"noDataMessage": "No records match your current filters. Try adjusting your selection.", "noDataMessage": "No records match your current filters. Try adjusting your selection.",
"quarterlyComparison": "Quarterly Comparison: 2024 vs 2025", "quarterlyComparison": "Quarterly Comparison: 2024 vs 2025",