diff --git a/layers/components/atoms/Button/Launcher.vue b/layers/components/atoms/Button/Launcher.vue index 8918489..16d9ece 100644 --- a/layers/components/atoms/Button/Launcher.vue +++ b/layers/components/atoms/Button/Launcher.vue @@ -49,9 +49,6 @@ const componentTag = computed(() => { const isDuplication = computed(() => props.type === 'duplication') const isSingle = computed(() => props.type === 'single') const platformIcon = computed(() => PLATFORM_ICON_MAP[props.platform]) -const duplicationImage = computed(() => - isDuplication.value ? DUP_IMAGE_MAP[props.platform] : '' -) const inlineStyle = computed(() => { const style: CSSProperties = {} @@ -63,7 +60,7 @@ const inlineStyle = computed(() => { style.color = props.textColor } if (props.type === 'duplication') { - style.backgroundImage = `url(${duplicationImage.value})` + style.backgroundImage = `url(${getImageHost(DUP_IMAGE_MAP[props.platform])})` } return style }) diff --git a/layers/components/atoms/Button/Sns.vue b/layers/components/atoms/Button/Sns.vue index ca3194f..0ef8347 100644 --- a/layers/components/atoms/Button/Sns.vue +++ b/layers/components/atoms/Button/Sns.vue @@ -77,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`)})`, }" > {{ key }} @@ -87,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')})`, }" @click="handleCopy" > diff --git a/layers/components/atoms/Img.vue b/layers/components/atoms/Img.vue index 8ec9a47..2343cea 100644 --- a/layers/components/atoms/Img.vue +++ b/layers/components/atoms/Img.vue @@ -1,38 +1,45 @@