mirror of
https://github.com/modrinth/code.git
synced 2026-08-26 17:44:50 +00:00
* Implement loading * LoadingBar * Run linter * Update App.vue * Loading bar all the things * Update SplashScreen.vue * Update SplashScreen.vue * Update App.vue * initial revert * Update Instance.vue * revert css * Fix instance * More reverting * Run lint * Finalize changes * Revert "Merge branch 'master' into loading" This reverts commit3014e765fb, reversing changes made tob780e859d2. * Fix loading issues * fix lint * Revert "Revert "Merge branch 'master' into loading"" This reverts commit971ef84666. --------- Co-authored-by: Jai A <jaiagr+gpg@pm.me>
41 lines
627 B
Vue
41 lines
627 B
Vue
<template>
|
|
<div class="page-loading" :class="{ 'app-loading': appLoading }">
|
|
<AnimatedLogo class="initializing-icon" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { AnimatedLogo } from 'omorphia'
|
|
|
|
defineProps({
|
|
appLoading: Boolean,
|
|
})
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.page-loading {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
&.app-loading {
|
|
background-color: #16181c;
|
|
height: 100vh;
|
|
}
|
|
}
|
|
|
|
.initializing-icon {
|
|
width: 12rem;
|
|
height: 12rem;
|
|
|
|
:deep(svg),
|
|
svg {
|
|
width: 12rem;
|
|
height: 12rem;
|
|
}
|
|
}
|
|
</style>
|