@@ -36,18 +36,50 @@ function removeCategory(categoryId: string) {
3636 />
3737 </div >
3838
39+ <!-- Language Selector -->
40+ <DevOnly >
41+ <div right-16 top-16 fixed z-50 >
42+ <SelectRoot v-model =" $i18n.locale" >
43+ <SelectTrigger
44+ outline =" ~ 1.5 neutral-300"
45+ flex =" ~ items-center gap-8" shadow-sm font-medium py-8 rounded-8 bg-white cursor-pointer text-f-sm f-px-md
46+ >
47+ <SelectValue placeholder =" Language" />
48+ <Icon name =" i-tabler:chevron-down" />
49+ </SelectTrigger >
50+ <SelectContent
51+ position =" popper" outline =" ~ 1.5 neutral-200"
52+ rounded-8 bg-white max-h-256 shadow z-50 of-auto
53+ >
54+ <SelectViewport f-p-xs >
55+ <SelectItem
56+ v-for =" locale in $i18n.locales.value"
57+ :key =" locale.code"
58+ :value =" locale.code"
59+ flex =" ~ items-center gap-8" text =" f-sm neutral-800 data-[highlighted]:neutral-900"
60+ bg =" data-[highlighted]:neutral-50" py-10 outline-none rounded-6 cursor-pointer
61+ transition-colors f-px-md
62+ >
63+ {{ locale.name }}
64+ </SelectItem >
65+ </SelectViewport >
66+ </SelectContent >
67+ </SelectRoot >
68+ </div >
69+ </DevOnly >
70+
3971 <div mx-auto max-w-640 relative z-1 f-px-md >
4072 <div f-mb-2xl >
4173 <h1 text =" neutral-900 f-2xl" font-bold f-mb-xs >
42- Spend your crypto in Lugano
74+ {{ $t('hero.title') }}
4375 </h1 >
4476 <p text =" neutral-600 f-md" f-mb-lg >
45- Discover places that accept cryptocurrency payments
77+ {{ $t('hero.subtitle') }}
4678 </p >
4779
4880 <ComboboxRoot v-model =" selectedCategories" multiple >
4981 <ComboboxAnchor w-full >
50- <ComboboxInput v-model =" searchQuery" placeholder =" Search locations or add category filters... " nq-input-box :display-value =" () => searchQuery" @focus =" refreshCategories" />
82+ <ComboboxInput v-model =" searchQuery" : placeholder =" $t('search.placeholder') " nq-input-box :display-value =" () => searchQuery" @focus =" refreshCategories" />
5183 </ComboboxAnchor >
5284
5385 <ComboboxContent position =" popper" bg =" white" outline =" ~ 1.5 neutral-200" rounded-t-8 max-h-256 w-full shadow z-50 of-auto >
@@ -57,7 +89,7 @@ function removeCategory(categoryId: string) {
5789 {{ category.name }}
5890 </ComboboxItem >
5991 <ComboboxEmpty v-if =" !categories?.length" f-p-md text =" f-sm neutral-500 center" >
60- No categories found
92+ {{ $t('search.noCategoriesFound') }}
6193 </ComboboxEmpty >
6294 </ComboboxViewport >
6395 </ComboboxContent >
@@ -87,7 +119,7 @@ function removeCategory(categoryId: string) {
87119 text =" 14 neutral-800 hocus:neutral"
88120 font-medium py-4 rounded-full cursor-pointer transition-colors f-px-2xs
89121 >
90- Open now
122+ {{ $t('filters.openNow') }}
91123 </ToggleGroupItem >
92124 <ToggleGroupItem
93125 value =" walkable"
@@ -96,7 +128,7 @@ function removeCategory(categoryId: string) {
96128 text =" 14 neutral-800 hocus:neutral"
97129 font-medium py-4 rounded-full cursor-pointer transition-colors f-px-2xs
98130 >
99- Walkable distance
131+ {{ $t('filters.walkableDistance') }}
100132 </ToggleGroupItem >
101133 </ToggleGroupRoot >
102134 </div >
@@ -161,7 +193,7 @@ function removeCategory(categoryId: string) {
161193 :to =" location.website"
162194 target =" _blank" external w-fit f-mt-sm nq-arrow nq-pill-blue
163195 >
164- Visit Website
196+ {{ $t('location.visitWebsite') }}
165197 </NuxtLink >
166198 </div >
167199 </div >
@@ -175,10 +207,10 @@ function removeCategory(categoryId: string) {
175207 shadow-md text-center rounded-12 f-py-2xl f-mt-xl
176208 >
177209 <p text =" neutral-500" font-medium f-text-lg >
178- No locations found
210+ {{ $t('empty.title') }}
179211 </p >
180212 <p text =" neutral-400 f-sm" f-mt-xs >
181- Try adjusting your search or filters
213+ {{ $t('empty.subtitle') }}
182214 </p >
183215 </div >
184216 </div >
0 commit comments