From ecd26a42a86d64f02b6923fbd953095b837f5f94 Mon Sep 17 00:00:00 2001 From: DecDuck Date: Tue, 28 Jan 2025 16:10:42 +1100 Subject: [PATCH] feat: mobile ui and other design --- .gitlab-ci.yml | 5 +- components/AddLibraryButton.vue | 34 +++++++- components/CreateCollectionModal.vue | 1 + composables/collection.ts | 11 +++ drop-base | 2 +- pages/library.vue | 30 +++---- pages/library/game/[id]/index.vue | 115 ++++++++++++++------------- pages/library/index.vue | 36 +++++---- 8 files changed, 143 insertions(+), 91 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5046411..aeca4d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,5 +46,6 @@ build-arm64: if [ $CI_COMMIT_TAG ]; then docker image tag $IMAGE_NAME $PUBLISH_IMAGE_NAME docker image tag $IMAGE_NAME $PUBLISH_LATEST_IMAGE_NAME - docker push $PUBLISH_IMAGE_NAME $PUBLISH_LATEST_IMAGE_NAME - fi \ No newline at end of file + docker push $PUBLISH_IMAGE_NAME + docker push $PUBLISH_LATEST_IMAGE_NAME + fi diff --git a/components/AddLibraryButton.vue b/components/AddLibraryButton.vue index e6f528d..e88516c 100644 --- a/components/AddLibraryButton.vue +++ b/components/AddLibraryButton.vue @@ -4,7 +4,7 @@ :loading="isLibraryLoading" @click="() => toggleLibrary()" :style="'none'" - class="transition inline-flex items-center gap-x-2 rounded-l-md bg-white/10 hover:bg-white/30 text-zinc-100 backdrop-blur px-5 py-3" + class="transition w-48 inline-flex items-center justify-center gap-x-2 rounded-l-md bg-white/10 hover:bg-white/15 text-zinc-100 backdrop-blur px-5 py-3" > {{ inLibrary ? "In Library" : "Add to Library" }}