From 797ff36e276cdaab4732dde96e5a992faf420aaa Mon Sep 17 00:00:00 2001 From: Prospector Date: Sat, 9 Nov 2024 17:48:27 -0800 Subject: [PATCH] Content page nearly done --- apps/app-frontend/src/App.vue | 14 +- .../src/components/ui/AccountsCard.vue | 7 +- .../src/components/ui/NavButton.vue | 15 +- .../src/components/ui/modal/ModalWrapper.vue | 2 +- apps/app-frontend/src/pages/instance/Mods.vue | 176 ++++++++++++++++-- packages/app-lib/src/state/profiles.rs | 2 +- packages/assets/icons/minus.svg | 1 + packages/assets/index.ts | 2 + packages/assets/styles/variables.scss | 15 +- .../ui/src/components/base/ButtonStyled.vue | 50 ++++- packages/ui/src/components/base/Checkbox.vue | 13 +- .../ui/src/components/base/PopoutMenu.vue | 2 +- .../components/content/ContentListItem.vue | 19 +- .../components/content/ContentListPanel.vue | 53 +++--- pnpm-lock.yaml | 3 + 15 files changed, 294 insertions(+), 80 deletions(-) create mode 100644 packages/assets/icons/minus.svg diff --git a/apps/app-frontend/src/App.vue b/apps/app-frontend/src/App.vue index 0db852571..1abc57b97 100644 --- a/apps/app-frontend/src/App.vue +++ b/apps/app-frontend/src/App.vue @@ -232,7 +232,7 @@ async function fetchCredentials() { } const MIDAS_BITFLAG = 1 << 0 -const hasPlus = computed(() => credentials.value && credentials.value.user && (credentials.value.user.badges & MIDAS_BITFLAG) === MIDAS_BITFLAG) +const hasPlus = computed(() => true || credentials.value && credentials.value.user && (credentials.value.user.badges & MIDAS_BITFLAG) === MIDAS_BITFLAG) onMounted(() => { invoke('show_window') @@ -321,6 +321,9 @@ async function checkUpdates() {