diff --git a/app/app.vue b/app/app.vue index cd7184c..7e3e42c 100644 --- a/app/app.vue +++ b/app/app.vue @@ -145,15 +145,16 @@ onBeforeUnmount(() => {

{{ gameData?.game_name }}

+ - - { @confirm-button-event="confirm.storeConfirmButtonEvent" @cancel-button-event="confirm.storeCancelButtonEvent" /> - { }) const isDuplication = computed(() => props.type === 'duplication') const isSingle = computed(() => props.type === 'single') -const isCustom = computed(() => props.type === 'custom') const platformIcon = computed(() => PLATFORM_ICON_MAP[props.platform]) const duplicationImage = computed(() => isDuplication.value ? DUP_IMAGE_MAP[props.platform] : '' @@ -80,8 +79,8 @@ const handleClick = () => { return } - const url = gameData?.market_json[props.platform]?.url || '' - window.open(url, '_blank') + const url = gameData?.market_json[props.platform]?.url + if (url) window.open(url, '_blank') } @@ -103,7 +102,7 @@ const handleClick = () => { @@ -114,25 +113,19 @@ const handleClick = () => { - - - - - - diff --git a/layers/components/atoms/icons/LogoApple.vue b/layers/components/atoms/icons/LogoApple.vue index 5a51064..28a0ff5 100644 --- a/layers/components/atoms/icons/LogoApple.vue +++ b/layers/components/atoms/icons/LogoApple.vue @@ -6,7 +6,7 @@ interface Props { withDefaults(defineProps(), { size: 20, - color: '#ffffff', + color: 'white', }) @@ -15,14 +15,14 @@ withDefaults(defineProps(), { xmlns="http://www.w3.org/2000/svg" :width="size" :height="size" - viewBox="0 0 36 36" + viewBox="0 0 20 20" :fill="color" > diff --git a/layers/components/atoms/icons/ShareLine.vue b/layers/components/atoms/icons/ShareLine.vue index 5f4822b..68998ef 100644 --- a/layers/components/atoms/icons/ShareLine.vue +++ b/layers/components/atoms/icons/ShareLine.vue @@ -6,7 +6,7 @@ interface Props { withDefaults(defineProps(), { size: 24, - color: 'white', + color: 'rgba(255,255,255,0.5)', }) @@ -16,13 +16,12 @@ withDefaults(defineProps(), { :width="size" :height="size" viewBox="0 0 24 24" - fill="none" + :fill="color" > diff --git a/layers/components/blocks/CardNews.vue b/layers/components/blocks/CardNews.vue index 929e499..88f9b93 100644 --- a/layers/components/blocks/CardNews.vue +++ b/layers/components/blocks/CardNews.vue @@ -72,7 +72,7 @@ const handleLinkClick = (title: string) => { @apply absolute bottom-0 left-0 w-full pt-[14px] px-[18px] pb-[16px] flex flex-col justify-end border-t border-white/10 bg-black/40 shadow-[0_-10px_10px_0_rgba(0,0,0,0.25)] backdrop-blur-[25px] md:pt-[20px] text-left md:px-[26px] md:pb-[26px]; } .card-title { - @apply text-[14px] leading-[20px] font-medium text-white md:text-[18px] md:leading-[26px]; + @apply text-[14px] leading-[20px] font-medium text-white line-clamp-1 md:text-[18px] md:leading-[26px]; } .card-description { @apply mt-[6px] text-[12px] leading-[18px] text-white/50 md:mt-1 md:text-[14px] md:leading-[24px]; diff --git a/layers/components/blocks/UtileContainer.vue b/layers/components/blocks/UtileContainer.vue index 86a3fde..7e269c6 100644 --- a/layers/components/blocks/UtileContainer.vue +++ b/layers/components/blocks/UtileContainer.vue @@ -22,15 +22,17 @@ const pinToParent = computed(() => { diff --git a/layers/components/layouts/Main.vue b/layers/components/layouts/Main.vue index 33afd4a..8bdd6bf 100644 --- a/layers/components/layouts/Main.vue +++ b/layers/components/layouts/Main.vue @@ -59,7 +59,6 @@ watchEffect(() => { setupSeoMeta(props.pageData?.meta_tag_json) } }) -