elk/pages/search.vue

22 lines
509 B
Vue
Raw Normal View History

2022-12-27 22:41:44 +01:00
<script setup lang="ts">
2023-01-09 21:20:26 +01:00
import { useFluent } from 'fluent-vue'
2022-12-27 22:41:44 +01:00
2023-01-09 21:20:26 +01:00
const { $t } = useFluent()
2022-12-27 22:41:44 +01:00
useHeadFixed({
2023-01-09 21:20:26 +01:00
title: () => $t('nav_search'),
2022-12-27 22:41:44 +01:00
})
</script>
<template>
<MainContent>
<template #title>
2023-01-05 00:17:30 +01:00
<NuxtLink to="/search" timeline-title-style flex items-center gap-2 @click="$scrollToTop">
<div i-ri:search-line class="rtl-flip" />
2023-01-09 21:20:26 +01:00
<span>{{ $t('nav_search') }}</span>
2022-12-27 22:41:44 +01:00
</NuxtLink>
</template>
<SearchWidget v-if="isMastoInitialised" mt3 />
</MainContent>
</template>