You've already forked AstralRinth
forked from didirus/AstralRinth
New collections (#1484)
* [WIP] Transfer collections to own branch * fixes * rewrite js * Add visibility dropdown to collection edit modal * Add visibility badges to collection page * Update visibility options and icons in collection page * Add delete functionality to collection modal * Collection project deletion flow * remove "visit project" button on overflow * Remove via checklist not individually * Update manage title in settings.vue * remove collections from settings page * hook up collections page * collection header to look like project header * Refactor layout.scss and collections.vue * fix omorphia * Update * Conform collections to old design structure * Update navigation links and remove unused code * Add collection view and collections to user page * Refactor user project display logic * Add collection creation functionality and update profile labels * Add function calls to initialize user collections * Refactor collection page layout and functionality * Add initialization of user collections in create function * Fix styling issue in collection page * Update collection status to private * remove name * Refactor card component and update grid layout * Finish collections --------- Co-authored-by: Carter <safe@fea.st>
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
v-if="auth.user"
|
||||
to="/dashboard/notifications"
|
||||
class="control-button button-transparent"
|
||||
:class="{ bubble: user.notifications.some((notif) => !notif.read) }"
|
||||
title="Notifications"
|
||||
>
|
||||
<NotificationIcon aria-hidden="true" />
|
||||
@@ -86,9 +85,9 @@
|
||||
<ChartIcon class="icon" />
|
||||
<span class="title">Dashboard</span>
|
||||
</NuxtLink>
|
||||
<NuxtLink class="item button-transparent" to="/dashboard/follows">
|
||||
<HeartIcon class="icon" />
|
||||
<span class="title">Following</span>
|
||||
<NuxtLink class="item button-transparent" to="/dashboard/collections">
|
||||
<LibraryIcon class="icon" />
|
||||
<span class="title">Collections</span>
|
||||
</NuxtLink>
|
||||
<NuxtLink class="item button-transparent" to="/settings">
|
||||
<SettingsIcon class="icon" />
|
||||
@@ -236,7 +235,6 @@
|
||||
to="/dashboard/notifications"
|
||||
class="tab button-animation"
|
||||
:class="{
|
||||
bubble: user.notifications.some((notif) => !notif.read),
|
||||
'no-active': isMobileMenuOpen || isBrowseMenuOpen,
|
||||
}"
|
||||
title="Notifications"
|
||||
@@ -359,7 +357,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { LogInIcon, DownloadIcon } from 'omorphia'
|
||||
import { LogInIcon, DownloadIcon, LibraryIcon } from 'omorphia'
|
||||
import HamburgerIcon from '~/assets/images/utils/hamburger.svg'
|
||||
import CrossIcon from '~/assets/images/utils/x.svg'
|
||||
import SearchIcon from '~/assets/images/utils/search.svg'
|
||||
@@ -383,7 +381,6 @@ import Avatar from '~/components/ui/Avatar.vue'
|
||||
|
||||
const app = useNuxtApp()
|
||||
const auth = await useAuth()
|
||||
const user = await useUser()
|
||||
const cosmetics = useCosmetics()
|
||||
const tags = useTags()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user