From e5a1b0e2ae46bcdf204ce7db2e0b681bf7b0dd87 Mon Sep 17 00:00:00 2001 From: clkim Date: Wed, 29 Oct 2025 15:08:09 +0900 Subject: [PATCH] =?UTF-8?q?feat.=20=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layers/components/atoms/Button/Download.vue | 177 ++++++++++++++++++ layers/components/atoms/Button/index.vue | 3 + .../components/atoms/icons/DownloadLine.vue | 4 +- .../components/atoms/icons/LogoApple.vue | 32 +++- layers/components/atoms/icons/LogoGoogle.vue | 44 +++++ layers/components/atoms/icons/LogoStove.vue | 27 +++ layers/components/atoms/icons/LogoWindow.vue | 26 +++ layers/types/components/button.ts | 4 + .../common/btn_system_normal_stove_pc.svg | 18 ++ .../ic-v2-logo-google-playstore-color.svg | 13 -- .../images/common/ic-v2-logo-window-fill.svg | 6 - 11 files changed, 328 insertions(+), 26 deletions(-) create mode 100644 layers/components/atoms/Button/Download.vue rename public/images/common/ic-v2-logo-apple-fill.svg => layers/components/atoms/icons/LogoApple.vue (73%) create mode 100644 layers/components/atoms/icons/LogoGoogle.vue create mode 100644 layers/components/atoms/icons/LogoStove.vue create mode 100644 layers/components/atoms/icons/LogoWindow.vue create mode 100644 public/images/common/btn_system_normal_stove_pc.svg delete mode 100644 public/images/common/ic-v2-logo-google-playstore-color.svg delete mode 100644 public/images/common/ic-v2-logo-window-fill.svg diff --git a/layers/components/atoms/Button/Download.vue b/layers/components/atoms/Button/Download.vue new file mode 100644 index 0000000..b1587d5 --- /dev/null +++ b/layers/components/atoms/Button/Download.vue @@ -0,0 +1,177 @@ + + + + + diff --git a/layers/components/atoms/Button/index.vue b/layers/components/atoms/Button/index.vue index 77e9b6c..7340858 100644 --- a/layers/components/atoms/Button/index.vue +++ b/layers/components/atoms/Button/index.vue @@ -98,4 +98,7 @@ const componentProps = computed(() => { .btn-base .btn-content { @apply relative flex items-center gap-1 z-[1]; } +.btn-base.size-extra-small .btn-content { + @apply gap-0.5; +} diff --git a/layers/components/atoms/icons/DownloadLine.vue b/layers/components/atoms/icons/DownloadLine.vue index 17040c3..c0b6994 100644 --- a/layers/components/atoms/icons/DownloadLine.vue +++ b/layers/components/atoms/icons/DownloadLine.vue @@ -16,15 +16,13 @@ withDefaults(defineProps(), { :width="size" :height="size" viewBox="0 0 20 20" - fill="none" + :fill="color" > diff --git a/public/images/common/ic-v2-logo-apple-fill.svg b/layers/components/atoms/icons/LogoApple.vue similarity index 73% rename from public/images/common/ic-v2-logo-apple-fill.svg rename to layers/components/atoms/icons/LogoApple.vue index d80a7f0..5a51064 100644 --- a/public/images/common/ic-v2-logo-apple-fill.svg +++ b/layers/components/atoms/icons/LogoApple.vue @@ -1,4 +1,28 @@ - - - - + + + diff --git a/layers/components/atoms/icons/LogoGoogle.vue b/layers/components/atoms/icons/LogoGoogle.vue new file mode 100644 index 0000000..226a62a --- /dev/null +++ b/layers/components/atoms/icons/LogoGoogle.vue @@ -0,0 +1,44 @@ + + + diff --git a/layers/components/atoms/icons/LogoStove.vue b/layers/components/atoms/icons/LogoStove.vue new file mode 100644 index 0000000..661dca1 --- /dev/null +++ b/layers/components/atoms/icons/LogoStove.vue @@ -0,0 +1,27 @@ + + + diff --git a/layers/components/atoms/icons/LogoWindow.vue b/layers/components/atoms/icons/LogoWindow.vue new file mode 100644 index 0000000..9a8b60d --- /dev/null +++ b/layers/components/atoms/icons/LogoWindow.vue @@ -0,0 +1,26 @@ + + + diff --git a/layers/types/components/button.ts b/layers/types/components/button.ts index 622c7d9..ae3c886 100644 --- a/layers/types/components/button.ts +++ b/layers/types/components/button.ts @@ -4,5 +4,9 @@ export type ButtonType = | 'download' | 'action' | 'link' + +export type DownloadButtonType = 'default' | 'single' | 'duplication' + export type ButtonSize = 'large' | 'medium' | 'small' | 'extra-small' + export type ButtonVariant = 'filled' | 'outlined' diff --git a/public/images/common/btn_system_normal_stove_pc.svg b/public/images/common/btn_system_normal_stove_pc.svg new file mode 100644 index 0000000..a2b29fc --- /dev/null +++ b/public/images/common/btn_system_normal_stove_pc.svg @@ -0,0 +1,18 @@ + +
+ + + + + + + + + + + + + + + +
diff --git a/public/images/common/ic-v2-logo-google-playstore-color.svg b/public/images/common/ic-v2-logo-google-playstore-color.svg deleted file mode 100644 index 201f547..0000000 --- a/public/images/common/ic-v2-logo-google-playstore-color.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/public/images/common/ic-v2-logo-window-fill.svg b/public/images/common/ic-v2-logo-window-fill.svg deleted file mode 100644 index 1c5fccb..0000000 --- a/public/images/common/ic-v2-logo-window-fill.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -