Skip to content

Commit 06c8b4d

Browse files
committed
main
1 parent 0d7fd31 commit 06c8b4d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/views/home.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<a href="#budget">預算分析</a>
1313
<a href="#flows">金流流程</a>
1414
<a href="#security">備份保障</a>
15-
<a href="https://play.google.com/store/apps/details?id=com.strawcoding.strawmoneybook" class="pill-link">立即下載</a>
15+
<a href="#download" class="pill-link">立即下載</a>
1616
</nav>
1717

1818
<button type="button" class="theme-toggle" :aria-pressed="theme === 'light'" @click="toggleTheme">
@@ -45,7 +45,7 @@
4545
<a
4646
class="btn btn-primary"
4747
:class="{ disabled: !hasAndroidDownload }"
48-
:href="hasAndroidDownload ? androidUrl : 'https://play.google.com/store/apps/details?id=com.strawcoding.strawmoneybook'"
48+
:href="hasAndroidDownload ? androidUrl : '#download'"
4949
target="_blank"
5050
rel="noreferrer"
5151
>
@@ -295,7 +295,10 @@
295295
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue'
296296
import appLogo from '@/assets/icon/icon.png'
297297
298-
const androidUrl = import.meta.env.VITE_ANDROID_URL || import.meta.env.VITE_APK_URL || '#'
298+
const androidUrl =
299+
import.meta.env.VITE_ANDROID_URL ||
300+
import.meta.env.VITE_APK_URL ||
301+
'https://play.google.com/store/apps/details?id=com.strawcoding.strawmoneybook'
299302
const iosUrl = import.meta.env.VITE_IOS_URL || '#'
300303
const hasAndroidDownload = androidUrl !== '#'
301304
const hasIosDownload = iosUrl !== '#'

0 commit comments

Comments
 (0)