mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
21 lines
481 B
Vue
21 lines
481 B
Vue
<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">
|
|
<div i-ri:search-line />
|
|
<span>{{ $t('nav.search') }}</span>
|
|
</NuxtLink>
|
|
</template>
|
|
|
|
<SearchWidget v-if="isMastoInitialised" mt3 />
|
|
</MainContent>
|
|
</template>
|