feat: allow choosing favorite buttons in bottom navigation bar (#2761)
This commit is contained in:
parent
2a6a994da1
commit
2cb070c83c
14 changed files with 286 additions and 47 deletions
11
components/nav/button/Search.vue
Normal file
11
components/nav/button/Search.vue
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
activeClass: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NuxtLink to="/search" :aria-label="$t('nav.search')" :active-class="activeClass" flex flex-row items-center place-content-center h-full flex-1 class="coarse-pointer:select-none" @click="$scrollToTop">
|
||||
<div i-ri:search-line />
|
||||
</NuxtLink>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue