feat. home 버튼 컴포넌트 추가
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user