Added Favorites to user menu.

This commit is contained in:
DebaucheryLibrarian 2024-03-19 02:39:04 +01:00
parent 5642185dc1
commit f6e670860a
1 changed files with 22 additions and 4 deletions

View File

@ -105,6 +105,19 @@
</a>
</li>
<li
v-if="user.primaryStash"
class="menu-item"
>
<a
:href="`/stash/${user.username}/${user.primaryStash.slug}`"
class="menu-button nolink favorites"
>
<Icon icon="heart7" />
Favorites
</a>
</li>
<li
class="menu-button menu-item logout"
@click="logout"
@ -315,6 +328,7 @@ async function logout() {
display: flex;
align-items: center;
padding: .5rem .5rem .5rem .75rem;
font-size: 1.1rem;
.icon {
fill: var(--shadow);
@ -328,10 +342,14 @@ async function logout() {
}
}
.logout {
.icon {
fill: var(--error);
}
/*
.favorites .icon {
fill: var(--primary);
}
*/
.logout .icon {
fill: var(--error);
}
@media(--small) {