complete story 1.4 with qa tests and fixes

This commit is contained in:
Naser Mansour
2025-12-26 14:37:12 +02:00
parent ce5eaeffd9
commit f067c8d589
21 changed files with 1038 additions and 359 deletions
@@ -2,21 +2,21 @@
<a
href="{{ route('language.switch', 'ar') }}"
@class([
'text-sm px-2 py-1 rounded transition-colors',
'text-sm px-2 py-1 rounded transition-colors min-h-[32px] flex items-center',
'bg-gold text-navy font-bold' => app()->getLocale() === 'ar',
'text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-zinc-100' => app()->getLocale() !== 'ar',
'text-gold hover:text-gold-light' => app()->getLocale() !== 'ar',
])
data-test="language-switch-ar"
>
العربية
</a>
<span class="text-zinc-400 dark:text-zinc-600">|</span>
<span class="text-gold/50">|</span>
<a
href="{{ route('language.switch', 'en') }}"
@class([
'text-sm px-2 py-1 rounded transition-colors',
'text-sm px-2 py-1 rounded transition-colors min-h-[32px] flex items-center',
'bg-gold text-navy font-bold' => app()->getLocale() === 'en',
'text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-zinc-100' => app()->getLocale() !== 'en',
'text-gold hover:text-gold-light' => app()->getLocale() !== 'en',
])
data-test="language-switch-en"
>