2022-12-27 21:41:44 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { useI18n } from 'vue-i18n'
|
|
|
|
|
|
|
|
const { t } = useI18n()
|
|
|
|
useHeadFixed({
|
|
|
|
title: () => t('nav.search'),
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<MainContent>
|
|
|
|
<template #title>
|
|
|
|
<NuxtLink to="/search" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
|
2023-01-01 14:29:11 +00:00
|
|
|
<div i-ri:search-line class="rtl-flip" />
|
2022-12-27 21:41:44 +00:00
|
|
|
<span>{{ $t('nav.search') }}</span>
|
|
|
|
</NuxtLink>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<SearchWidget v-if="isMastoInitialised" mt3 />
|
|
|
|
</MainContent>
|
|
|
|
</template>
|