feat. home 버튼 컴포넌트 추가

This commit is contained in:
clkim
2025-11-11 18:50:14 +09:00
parent 25ea7925ea
commit 4ca00e4028
20 changed files with 216 additions and 317 deletions

View File

@@ -217,13 +217,13 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
>
<template v-if="platform === 'MOBILE'">
<template v-for="os in mobileOSList" :key="os.id">
<AtomsButtonLauncher
<BlocksButtonLauncher
v-if="device.isMobile ? os.isValue : true"
:platform="`${os.platformCode as Platform}`"
class="!w-full"
>
<span>{{ os.platformText }}</span>
</AtomsButtonLauncher>
</BlocksButtonLauncher>
</template>
</template>
<template v-else>
@@ -238,13 +238,13 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
>
<span>{{ tm(`Download_Button_${platform}_Mobile`) }}</span>
</AtomsButton>
<AtomsButtonLauncher
<BlocksButtonLauncher
v-else-if="breakpoints.isMd || breakpoints.isDesktop"
:platform="`${platform.toLowerCase() as Platform}`"
class="!w-full"
>
<span>{{ tm(`Download_Button_${platform}`) }}</span>
</AtomsButtonLauncher>
</BlocksButtonLauncher>
</template>
</div>
</SplideSlide>

View File

@@ -270,7 +270,7 @@ const handlePreregistClick = () => {
</div>
</div>
<div class="flex gap-3 justify-center flex-wrap mt-8 md:gap-2.5">
<AtomsButtonLauncher
<BlocksButtonLauncher
type="duplication"
platform="stove"
:background-color="buttonColors.backgroundColor"
@@ -278,8 +278,8 @@ const handlePreregistClick = () => {
@click="handlePreregistClick"
>
{{ tm('Preregist_Btn_Preegist') }}
</AtomsButtonLauncher>
<AtomsButtonLauncher
</BlocksButtonLauncher>
<BlocksButtonLauncher
v-for="platform in platformButtons"
:key="`preregist-${platform}`"
type="duplication"
@@ -288,7 +288,7 @@ const handlePreregistClick = () => {
:text-color="buttonColors.textColor"
>
{{ tm('Preregist_Btn_Preegist') }}
</AtomsButtonLauncher>
</BlocksButtonLauncher>
</div>
<WidgetsDescription
v-if="preDescriptionData"