28 lines
573 B
Vue
28 lines
573 B
Vue
<script setup lang="ts">
|
|
import Background from "./Background.vue";
|
|
import Calendar from "./Calendar.vue";
|
|
import Clock from "./Clock.vue";
|
|
import StatusBar from "./StatusBar.vue";
|
|
import Notifications from "./Notifications.vue";
|
|
|
|
const store = useSettingsStore();
|
|
const app = useAppStore();
|
|
|
|
onMounted(() => {
|
|
if (app.previousScreen === "achievements") {
|
|
store.isIntro = false;
|
|
return;
|
|
}
|
|
store.animateIntro();
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<Background />
|
|
<Calendar />
|
|
<Clock />
|
|
<StatusBar />
|
|
<Notifications />
|
|
<AchievementsFadeToBlack />
|
|
</template>
|