complete story 10.2
This commit is contained in:
@@ -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-gold text-navy font-bold' => app()->getLocale() === 'ar',
|
||||
'text-gold hover:text-gold-light' => app()->getLocale() !== 'ar',
|
||||
'bg-warm-gray text-charcoal font-bold' => app()->getLocale() === 'ar',
|
||||
'text-off-white hover:text-warm-gray' => app()->getLocale() !== 'ar',
|
||||
])
|
||||
data-test="language-switch-ar"
|
||||
>
|
||||
العربية
|
||||
</a>
|
||||
<span class="text-gold/50">|</span>
|
||||
<span class="text-warm-gray/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-gold text-navy font-bold' => app()->getLocale() === 'en',
|
||||
'text-gold hover:text-gold-light' => app()->getLocale() !== 'en',
|
||||
'bg-warm-gray text-charcoal font-bold' => app()->getLocale() === 'en',
|
||||
'text-off-white hover:text-warm-gray' => app()->getLocale() !== 'en',
|
||||
])
|
||||
data-test="language-switch-en"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user