complete story 1.3 with qa test (please not that the previous commit msg was wrong the previous commit was story 1.2

This commit is contained in:
Naser Mansour
2025-12-26 14:23:09 +02:00
parent ebb6841ed0
commit ce5eaeffd9
19 changed files with 925 additions and 54 deletions
@@ -0,0 +1,25 @@
<div class="flex items-center gap-2">
<a
href="{{ route('language.switch', 'ar') }}"
@class([
'text-sm px-2 py-1 rounded transition-colors',
'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',
])
data-test="language-switch-ar"
>
العربية
</a>
<span class="text-zinc-400 dark:text-zinc-600">|</span>
<a
href="{{ route('language.switch', 'en') }}"
@class([
'text-sm px-2 py-1 rounded transition-colors',
'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',
])
data-test="language-switch-en"
>
English
</a>
</div>