@@ -238,26 +238,40 @@ const setLocale: typeof setNuxti18nLocale = newLocale => {
238238 </template >
239239 </ClientOnly >
240240
241- <!-- Provider description -->
242- <p class =" text-xs text-fg-subtle mt-2" >
243- {{
244- preferences.searchProvider === 'algolia'
245- ? $t('settings.data_source.algolia_description')
246- : $t('settings.data_source.npm_description')
247- }}
248- </p >
249-
250- <!-- Algolia attribution -->
251- <a
252- v-if =" preferences.searchProvider === 'algolia'"
253- href =" https://www.algolia.com/developers"
254- target =" _blank"
255- rel =" noopener noreferrer"
256- class =" inline-flex items-center gap-1 text-xs text-fg-subtle hover:text-fg-muted transition-colors mt-2"
257- >
258- {{ $t('search.algolia_disclaimer') }}
259- <span class =" i-lucide:external-link w-3 h-3" aria-hidden =" true" />
260- </a >
241+ <!-- Provider description & Algolia attribution -->
242+ <ClientOnly >
243+ <p class =" text-xs text-fg-subtle mt-2" >
244+ {{
245+ preferences.searchProvider === 'algolia'
246+ ? $t('settings.data_source.algolia_description')
247+ : $t('settings.data_source.npm_description')
248+ }}
249+ </p >
250+ <a
251+ v-if =" preferences.searchProvider === 'algolia'"
252+ href =" https://www.algolia.com/developers"
253+ target =" _blank"
254+ rel =" noopener noreferrer"
255+ class =" inline-flex items-center gap-1 text-xs text-fg-subtle hover:text-fg-muted transition-colors mt-2"
256+ >
257+ {{ $t('search.algolia_disclaimer') }}
258+ <span class =" i-lucide:external-link w-3 h-3" aria-hidden =" true" />
259+ </a >
260+ <template #fallback >
261+ <p class =" text-xs text-fg-subtle mt-2" >
262+ {{ $t('settings.data_source.algolia_description') }}
263+ </p >
264+ <a
265+ href =" https://www.algolia.com/developers"
266+ target =" _blank"
267+ rel =" noopener noreferrer"
268+ class =" inline-flex items-center gap-1 text-xs text-fg-subtle hover:text-fg-muted transition-colors mt-2"
269+ >
270+ {{ $t('search.algolia_disclaimer') }}
271+ <span class =" i-lucide:external-link w-3 h-3" aria-hidden =" true" />
272+ </a >
273+ </template >
274+ </ClientOnly >
261275 </div >
262276
263277 <div class =" border-t border-border my-4" />
0 commit comments