File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 </div >
1212
1313 <!-- Desktop Navigation -->
14- <nav class =" hidden md:flex space-x-8 " >
15- <NuxtLink :to =" localePath('/')" class =" text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium transition-colors " >
14+ <nav class =" hidden md:flex space-x-2 " >
15+ <NuxtLink :to =" localePath('/')" class =" text-gray-600 hover:text-blue-600 hover:bg-blue-50 px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 " >
1616 {{ $t('nav.home') }}
1717 </NuxtLink >
18- <NuxtLink :to =" localePath('/classes')" class =" text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium transition-colors " >
18+ <NuxtLink :to =" localePath('/classes')" class =" text-gray-600 hover:text-blue-600 hover:bg-blue-50 px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 " >
1919 {{ $t('nav.classes') }}
2020 </NuxtLink >
21- <NuxtLink :to =" localePath('/booking')" class =" text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium transition-colors " >
21+ <NuxtLink :to =" localePath('/booking')" class =" text-gray-600 hover:text-blue-600 hover:bg-blue-50 px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 " >
2222 {{ $t('nav.booking') }}
2323 </NuxtLink >
24- <NuxtLink :to =" localePath('/prices')" class =" text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium transition-colors " >
24+ <NuxtLink :to =" localePath('/prices')" class =" text-gray-600 hover:text-blue-600 hover:bg-blue-50 px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 " >
2525 {{ $t('nav.prices') }}
2626 </NuxtLink >
27- <NuxtLink :to =" localePath('/references')" class =" text-gray-600 hover:text-blue-600 px-3 py-2 rounded-md text-sm font-medium transition-colors " >
27+ <NuxtLink :to =" localePath('/references')" class =" text-gray-600 hover:text-blue-600 hover:bg-blue-50 px-4 py-2 rounded-full text-sm font-medium transition-all duration-200 " >
2828 {{ $t('nav.references') }}
2929 </NuxtLink >
3030 </nav >
Original file line number Diff line number Diff line change 1+ {
2+ "welcome" : " Welcome to TOP" ,
3+ "nav" : {
4+ "home" : " Home" ,
5+ "classes" : " Classes" ,
6+ "booking" : " Booking" ,
7+ "prices" : " Prices" ,
8+ "references" : " References" ,
9+ "contact" : " Contact"
10+ },
11+ "hero" : {
12+ "title" : " Unleash Your Potential" ,
13+ "subtitle" : " Join TOP – The premier destination for Paddle and Tennis excellence." ,
14+ "cta" : " Book a Court"
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ {
2+ "welcome" : " Bienvenido a TOP" ,
3+ "nav" : {
4+ "home" : " Inicio" ,
5+ "classes" : " Clases" ,
6+ "booking" : " Reservas" ,
7+ "prices" : " Precios" ,
8+ "references" : " Referencias" ,
9+ "contact" : " Contacto"
10+ },
11+ "hero" : {
12+ "title" : " Libera Tu Potencial" ,
13+ "subtitle" : " Únete a TOP – El destino principal para la excelencia en Pádel y Tenis." ,
14+ "cta" : " Reservar Pista"
15+ }
16+ }
Original file line number Diff line number Diff line change @@ -9,23 +9,26 @@ export default defineNuxtConfig({
99 '@nuxtjs/i18n'
1010 ] ,
1111 i18n : {
12- vueI18n : './i18n.config.ts' ,
12+ strategy : 'prefix_except_default' ,
13+ defaultLocale : 'en' ,
14+ lazy : true ,
15+ langDir : 'locales' ,
1316 locales : [
1417 {
1518 code : 'en' ,
16- name : 'English'
19+ name : 'English' ,
20+ file : 'en.json'
1721 } ,
1822 {
1923 code : 'es' ,
20- name : 'Español'
24+ name : 'Español' ,
25+ file : 'es.json'
2126 }
2227 ] ,
23- defaultLocale : 'en' ,
24- strategy : 'prefix_except_default' ,
2528 detectBrowserLanguage : {
2629 useCookie : true ,
2730 cookieKey : 'i18n_redirected' ,
28- redirectOn : 'root' , // recommended
31+ redirectOn : 'root' ,
2932 }
3033 }
3134} )
You can’t perform that action at this time.
0 commit comments