From 540b712f689a1cd16dc685a613cde16423416ae4 Mon Sep 17 00:00:00 2001 From: zurdi zurdo Date: Tue, 25 Apr 2023 19:57:28 +0200 Subject: [PATCH] home banner logic optimized --- README.md | 8 ++++---- frontend/src/views/Details.vue | 20 ++++++++++---------- frontend/src/views/Home.vue | 9 +-------- frontend/src/views/library/Scan.vue | 2 +- frontend/src/views/settings/ControlPanel.vue | 2 +- 5 files changed, 17 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 5fcc2a508..1fda9e5c9 100644 --- a/README.md +++ b/README.md @@ -44,11 +44,11 @@ Available as a docker [image](https://hub.docker.com/r/zurdi15/romm) (amd64/arm6 ## 🖥 Desktop -
Video preview

https://user-images.githubusercontent.com/34356590/227992371-33056130-c067-49c1-ae32-b3ba78db6798.mp4

+
Video previewhttps://user-images.githubusercontent.com/34356590/227992371-33056130-c067-49c1-ae32-b3ba78db6798.mp4
## 📱 Mobile -
Video preview

https://user-images.githubusercontent.com/34356590/228007442-0a9cbf6b-4b62-4c1a-aad8-48b13e6337e8.mp4

+
Video previewhttps://user-images.githubusercontent.com/34356590/228007442-0a9cbf6b-4b62-4c1a-aad8-48b13e6337e8.mp4
# Installation @@ -129,7 +129,7 @@ This will change over the time, adding games metadata for more platforms. Make s
Platforms support list -

+ | slug | name | games metadata | |--------------- |-------------------------------------| :----: | @@ -200,7 +200,7 @@ This will change over the time, adding games metadata for more platforms. Make s | xbox360 | Xbox 360 | ✅ | | xboxone | Xbox One | ✅ | -

+

diff --git a/frontend/src/views/Details.vue b/frontend/src/views/Details.vue index 7e7b1a32e..bb65d2a6f 100644 --- a/frontend/src/views/Details.vue +++ b/frontend/src/views/Details.vue @@ -149,14 +149,14 @@ onMounted(() => {
-

{{ rom.r_name }}

+ {{ rom.r_name }}
-

{{ rom.p_name || rom.p_slug }}

+ {{ rom.p_name || rom.p_slug }} {{ rom.region }} {{ rom.revision }} @@ -173,25 +173,25 @@ onMounted(() => { -

File

-

{{ rom.file_name }}

+ File + {{ rom.file_name }}
-

Files

+ Files
-

Size

-

{{ rom.file_size }} {{ rom.file_size_units }}

+ Size + {{ rom.file_size }} {{ rom.file_size_units }}
-

IGDB

+ IGDB {{ rom.r_igdb_id }}
-

Tags

+ Tags {{ tag }}
@@ -240,7 +240,7 @@ onMounted(() => { clearable/> -

No results found

+ No results found diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index ee7854a61..de888d46a 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -18,14 +18,7 @@ const { mdAndDown, lgAndUp } = useDisplay() - - diff --git a/frontend/src/views/library/Scan.vue b/frontend/src/views/library/Scan.vue index 85126cd79..e21dac106 100644 --- a/frontend/src/views/library/Scan.vue +++ b/frontend/src/views/library/Scan.vue @@ -64,7 +64,7 @@ async function scan() { rounded="0" class="mt-7" inset> -

Scan

+ Scan - General

{{ rail ? '' : '[comming soon]' }}

+ General{{ rail ? '' : '[comming soon]' }} User Interface