elk/pages/search.vue

24 lines
520 B
Vue
Raw Permalink Normal View History

2022-12-28 00:41:44 +03:00
<script setup lang="ts">
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
useHeadFixed({
title: () => t('nav.search'),
})
</script>
<template>
<MainContent>
<template #title>
2023-01-05 02:17:30 +03:00
<NuxtLink to="/search" timeline-title-style flex items-center gap-2 @click="$scrollToTop">
<div i-ri:search-line class="rtl-flip" />
2022-12-28 00:41:44 +03:00
<span>{{ $t('nav.search') }}</span>
</NuxtLink>
</template>
<div px2 mt3>
2023-01-15 11:38:02 +03:00
<SearchWidget v-if="isHydrated" />
</div>
2022-12-28 00:41:44 +03:00
</MainContent>
</template>