From 05b47e7c372786a929949e313f690793bd06b311 Mon Sep 17 00:00:00 2001 From: clkim Date: Thu, 16 Oct 2025 21:01:41 +0900 Subject: [PATCH] =?UTF-8?q?feat.=20=EB=A7=88=EC=BC=93=20=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/atoms/Button/index.vue | 27 ++++-------- layers/components/blocks/HybridLink.vue | 2 +- layers/components/widgets/ButtonList.vue | 41 +++++++++++++++++++ layers/types/api/gameData.ts | 1 + .../{btn_logo-apple.svg => btn_logo-app.svg} | 0 5 files changed, 50 insertions(+), 21 deletions(-) rename public/images/common/{btn_logo-apple.svg => btn_logo-app.svg} (100%) diff --git a/layers/components/atoms/Button/index.vue b/layers/components/atoms/Button/index.vue index 2fcc8aa..465b635 100644 --- a/layers/components/atoms/Button/index.vue +++ b/layers/components/atoms/Button/index.vue @@ -8,14 +8,13 @@ interface props { href?: string rel?: string backgroundColor?: string - backgroundImage?: string textColor?: string disabled?: boolean } const props = withDefaults(defineProps(), { type: 'action', - buttonSize: 'size-extra-small md:size-medium', + buttonSize: 'size-extra-small md:size-large', backgroundColor: 'var(--primary)', textColor: 'var(--alternative-02)', disabled: false, @@ -53,29 +52,17 @@ const componentProps = computed(() => { return baseProps }) -const buttonStyles = computed(() => { - const styles: Record = { - backgroundColor: props.backgroundColor, - color: props.textColor, - } - - if (props.backgroundImage) { - styles.backgroundImage = `url(${props.backgroundImage})` - styles.backgroundSize = 'contain' - styles.backgroundPosition = 'center' - styles.backgroundRepeat = 'no-repeat' - } - - return styles -})