complete story 12.3

This commit is contained in:
Naser Mansour
2026-01-04 00:38:55 +02:00
parent c855b7b159
commit 74eacd53ae
16 changed files with 167 additions and 119 deletions
@@ -3,20 +3,20 @@
href="{{ route('language.switch', 'ar') }}"
@class([
'text-sm px-2 py-1 rounded transition-colors min-h-[32px] flex items-center',
'bg-warm-gray text-charcoal font-bold' => app()->getLocale() === 'ar',
'text-off-white hover:text-warm-gray' => app()->getLocale() !== 'ar',
'bg-accent text-text font-bold' => app()->getLocale() === 'ar',
'text-off-white hover:text-accent' => app()->getLocale() !== 'ar',
])
data-test="language-switch-ar"
>
العربية
</a>
<span class="text-warm-gray/50">|</span>
<span class="text-accent/50">|</span>
<a
href="{{ route('language.switch', 'en') }}"
@class([
'text-sm px-2 py-1 rounded transition-colors min-h-[32px] flex items-center',
'bg-warm-gray text-charcoal font-bold' => app()->getLocale() === 'en',
'text-off-white hover:text-warm-gray' => app()->getLocale() !== 'en',
'bg-accent text-text font-bold' => app()->getLocale() === 'en',
'text-off-white hover:text-accent' => app()->getLocale() !== 'en',
])
data-test="language-switch-en"
>