From 4e6e6db45f560da24e16809bc214b5076fe8379d Mon Sep 17 00:00:00 2001 From: zurdi Date: Wed, 4 Dec 2024 01:22:57 +0000 Subject: [PATCH] unify platform and collection layout --- .../Gallery/AppBar/Collection/Base.vue | 116 +------------- .../Collection/CollectionInfoDrawer.vue | 139 ++++++++++++++++ .../AppBar/Platform/PlatformInfoDrawer.vue | 150 +++++++++--------- frontend/src/stores/navigation.ts | 10 ++ 4 files changed, 229 insertions(+), 186 deletions(-) create mode 100644 frontend/src/components/Gallery/AppBar/Collection/CollectionInfoDrawer.vue diff --git a/frontend/src/components/Gallery/AppBar/Collection/Base.vue b/frontend/src/components/Gallery/AppBar/Collection/Base.vue index 98f59a29a..5960cbff1 100644 --- a/frontend/src/components/Gallery/AppBar/Collection/Base.vue +++ b/frontend/src/components/Gallery/AppBar/Collection/Base.vue @@ -1,5 +1,6 @@ diff --git a/frontend/src/components/Gallery/AppBar/Collection/CollectionInfoDrawer.vue b/frontend/src/components/Gallery/AppBar/Collection/CollectionInfoDrawer.vue new file mode 100644 index 000000000..5ea3b4fd7 --- /dev/null +++ b/frontend/src/components/Gallery/AppBar/Collection/CollectionInfoDrawer.vue @@ -0,0 +1,139 @@ + + + diff --git a/frontend/src/components/Gallery/AppBar/Platform/PlatformInfoDrawer.vue b/frontend/src/components/Gallery/AppBar/Platform/PlatformInfoDrawer.vue index 1c08fe5a4..187050f16 100644 --- a/frontend/src/components/Gallery/AppBar/Platform/PlatformInfoDrawer.vue +++ b/frontend/src/components/Gallery/AppBar/Platform/PlatformInfoDrawer.vue @@ -125,9 +125,9 @@ async function setAspectRatio() { :width="xs ? viewportWidth : '500'" v-if="currentPlatform" > - + -
+
ID: {{ currentPlatform.moby_id }}
- +