1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-26 04:28:00 +09:00
elk/pages/search.vue

22 lines
501 B
Vue
Raw Normal View History

2022-12-28 06:41:44 +09: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 08:17:30 +09: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 06:41:44 +09:00
<span>{{ $t('nav.search') }}</span>
</NuxtLink>
</template>
<SearchWidget v-if="isMastoInitialised" mt3 />
</MainContent>
</template>