diff --git a/app/app.vue b/app/app.vue index 7e3e42c..f343fde 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,6 +1,6 @@ @@ -74,7 +77,7 @@ const handleCopy = async () => { target="_blank" class="sns-item" :style="{ - backgroundImage: `url(/images/common/ic-v2-logo-${key}-fill.svg)`, + backgroundImage: `url(${getImageHost(`/images/common/ic-v2-logo-${key}-fill.svg`, { imageType: 'common' })})`, }" > {{ key }} @@ -84,7 +87,7 @@ const handleCopy = async () => { type="button" class="sns-item" :style="{ - backgroundImage: `url(/images/common/ic-v2-community-link-line.svg)`, + backgroundImage: `url(${getImageHost('/images/common/ic-v2-community-link-line.svg', { imageType: 'common' })})`, }" @click="handleCopy" > diff --git a/layers/components/atoms/Button/index.vue b/layers/components/atoms/Button/index.vue index 7340858..30356c5 100644 --- a/layers/components/atoms/Button/index.vue +++ b/layers/components/atoms/Button/index.vue @@ -15,6 +15,7 @@ interface props { const props = withDefaults(defineProps(), { type: 'action', buttonSize: 'size-small md:size-large', + target: '_blank', backgroundColor: 'var(--primary)', textColor: 'var(--alternative-02)', disabled: false, @@ -22,9 +23,9 @@ const props = withDefaults(defineProps(), { const componentTag = computed((): string => { switch (props.type) { - case 'link': - case 'download': case 'external': + case 'download': + case 'link': return 'a' case 'internal': return 'AtomsLocaleLink' @@ -35,7 +36,11 @@ const componentTag = computed((): string => { const componentProps = computed(() => { const baseProps = { disabled: props.disabled } - if (props.type === 'external') { + if ( + props.type === 'external' || + props.type === 'download' || + props.type === 'link' + ) { return { ...baseProps, href: props.href, diff --git a/layers/components/atoms/Img.vue b/layers/components/atoms/Img.vue index 8ec9a47..e4744f6 100644 --- a/layers/components/atoms/Img.vue +++ b/layers/components/atoms/Img.vue @@ -1,41 +1,44 @@ diff --git a/layers/components/atoms/icons/ArrowDownFill.vue b/layers/components/atoms/icons/ArrowDownFill.vue index 2a05a8c..a457130 100644 --- a/layers/components/atoms/icons/ArrowDownFill.vue +++ b/layers/components/atoms/icons/ArrowDownFill.vue @@ -16,7 +16,6 @@ withDefaults(defineProps(), { :width="size" :height="size" viewBox="0 0 12 12" - :fill="color" > +interface Props { + size?: number | string + color?: string +} + +withDefaults(defineProps(), { + size: 20, + color: 'var(--foreground-gray-500)', +}) + + + diff --git a/layers/components/atoms/icons/MenuCloseLine.vue b/layers/components/atoms/icons/MenuCloseLine.vue deleted file mode 100644 index d91d45e..0000000 --- a/layers/components/atoms/icons/MenuCloseLine.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/layers/components/blocks/VisualContent.vue b/layers/components/blocks/VisualContent.vue index 3c6f2e7..f78489b 100644 --- a/layers/components/blocks/VisualContent.vue +++ b/layers/components/blocks/VisualContent.vue @@ -1,6 +1,6 @@