diff --git a/layers/assets/css/components/_button.css b/layers/assets/css/components/_button.css index bf1ff3f..39984ad 100644 --- a/layers/assets/css/components/_button.css +++ b/layers/assets/css/components/_button.css @@ -15,6 +15,10 @@ after:bg-[var(--text-color)] after:opacity-20 after:z-[2]; } + .btn-base .btn-content { + @apply relative flex items-center gap-1 z-[1]; + } + .size-large { @apply px-10 h-16 text-lg; } diff --git a/layers/components/atoms/Button/index.vue b/layers/components/atoms/Button/index.vue index 5c28912..5b9320d 100644 --- a/layers/components/atoms/Button/index.vue +++ b/layers/components/atoms/Button/index.vue @@ -1,9 +1,8 @@ diff --git a/layers/components/atoms/icons/DownloadLine.vue b/layers/components/atoms/icons/DownloadLine.vue new file mode 100644 index 0000000..a8ad124 --- /dev/null +++ b/layers/components/atoms/icons/DownloadLine.vue @@ -0,0 +1,33 @@ + + + diff --git a/layers/components/atoms/icons/LongArrowRightLine.vue b/layers/components/atoms/icons/LongArrowRightLine.vue new file mode 100644 index 0000000..5ea8a02 --- /dev/null +++ b/layers/components/atoms/icons/LongArrowRightLine.vue @@ -0,0 +1,29 @@ + + + diff --git a/layers/components/widgets/ButtonList.vue b/layers/components/widgets/ButtonList.vue index d7526cb..404038f 100644 --- a/layers/components/widgets/ButtonList.vue +++ b/layers/components/widgets/ButtonList.vue @@ -11,7 +11,6 @@ interface ButtonListProps { const props = defineProps() -// 상수 정의 const BUTTON_TYPE_MAP = { URL: { _self: 'internal' as const, @@ -35,23 +34,6 @@ const getButtonType = (btnInfo: PageDataResourceGroupBtnInfo): ButtonType => { return DEFAULT_BUTTON_TYPE } - -const getButtonProps = (button: PageDataResourceGroup) => ({ - type: getButtonType(button.btn_info), - target: button.btn_info?.detail?.action?.link_target, - href: button.btn_info?.detail?.action?.url, - rel: button.btn_info?.detail?.action?.rel, - backgroundColor: getColorCode({ - colorName: button.btn_info?.color_name_btn, - colorCode: button.btn_info?.color_code_btn, - }), - textColor: getColorCode({ - colorName: button.btn_info?.color_name_txt, - colorCode: button.btn_info?.color_code_txt, - }), - disabled: button.btn_info?.disabled, - text: button.btn_info?.txt_btn_name, -})