feat: scroll to top (#237)
This commit is contained in:
parent
cf225e2005
commit
0e7076b991
11 changed files with 48 additions and 15 deletions
|
@ -14,7 +14,10 @@ useHead({
|
|||
<template>
|
||||
<MainContent>
|
||||
<template #title>
|
||||
<span text-lg font-bold>{{ t('nav_side.favourites') }}</span>
|
||||
<NuxtLink to="/favourites" text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
|
||||
<div i-ri:heart-3-line />
|
||||
<span>{{ t('nav_side.favourites') }}</span>
|
||||
</NuxtLink>
|
||||
</template>
|
||||
<slot>
|
||||
<TimelinePaginator :paginator="paginator" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue