mirror of
https://github.com/Damillora/Rinze.git
synced 2024-11-22 03:37:33 +00:00
feat: add loading
This commit is contained in:
parent
a0fcc161f7
commit
91da9a9bd7
@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@damillora/plachta": "^1.7.0",
|
"@damillora/plachta": "^1.8.0",
|
||||||
"@damillora/shian": "^3.3.1",
|
"@damillora/shian": "^3.3.1",
|
||||||
"@sveltejs/adapter-node": "^1.0.0-next.83",
|
"@sveltejs/adapter-node": "^1.0.0-next.83",
|
||||||
"dayjs": "^1.11.4",
|
"dayjs": "^1.11.4",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
lockfileVersion: 5.3
|
lockfileVersion: 5.3
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
'@damillora/plachta': ^1.7.0
|
'@damillora/plachta': ^1.8.0
|
||||||
'@damillora/shian': ^3.3.1
|
'@damillora/shian': ^3.3.1
|
||||||
'@sveltejs/adapter-node': ^1.0.0-next.83
|
'@sveltejs/adapter-node': ^1.0.0-next.83
|
||||||
'@sveltejs/kit': ^1.0.0-next.392
|
'@sveltejs/kit': ^1.0.0-next.392
|
||||||
@ -22,7 +22,7 @@ specifiers:
|
|||||||
vite: ^3.0.2
|
vite: ^3.0.2
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@damillora/plachta': 1.7.0_svelte@3.49.0
|
'@damillora/plachta': 1.8.0_svelte@3.49.0
|
||||||
'@damillora/shian': 3.3.1
|
'@damillora/shian': 3.3.1
|
||||||
'@sveltejs/adapter-node': 1.0.0-next.83
|
'@sveltejs/adapter-node': 1.0.0-next.83
|
||||||
dayjs: 1.11.4
|
dayjs: 1.11.4
|
||||||
@ -66,8 +66,8 @@ packages:
|
|||||||
js-tokens: 4.0.0
|
js-tokens: 4.0.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@damillora/plachta/1.7.0_svelte@3.49.0:
|
/@damillora/plachta/1.8.0_svelte@3.49.0:
|
||||||
resolution: {integrity: sha512-CO1gAQ7BnvU9cbP8ahQkjVal1EwKJkLseU9UtTQbAGK23GYtgnT2bcNoKtS+iwRsOYH9zDp62ctliM5frs2baQ==}
|
resolution: {integrity: sha512-eK5+7IXSGYXfD5pkySgEB3Seijd6oGV2XU8grUuFzUBIRMeiqjtE4UVdlKXSanen22Ta1w55TOyTDOmIF/14Vw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
svelte-material-icons: 2.0.2_svelte@3.49.0
|
svelte-material-icons: 2.0.2_svelte@3.49.0
|
||||||
svelte-themes: 0.0.98
|
svelte-themes: 0.0.98
|
||||||
@ -193,8 +193,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}
|
resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/node/18.0.6:
|
/@types/node/18.6.0:
|
||||||
resolution: {integrity: sha512-/xUq6H2aQm261exT6iZTMifUySEt4GR5KX8eYyY+C4MSNPqSh9oNIP7tz2GLKTlFaiBbgZNxffoR3CVRG+cljw==}
|
resolution: {integrity: sha512-WZ/6I1GL0DNAo4bb01lGGKTHH8BHJyECepf11kWONg3OJoHq2WYOm16Es1V54Er7NTUXsbDCpKRKdmBc4X2xhA==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/pug/2.0.6:
|
/@types/pug/2.0.6:
|
||||||
@ -204,7 +204,7 @@ packages:
|
|||||||
/@types/sass/1.43.1:
|
/@types/sass/1.43.1:
|
||||||
resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==}
|
resolution: {integrity: sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/node': 18.0.6
|
'@types/node': 18.6.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/eslint-plugin/4.33.0_d91404fd3b7596e5b6874ef0a887f4fa:
|
/@typescript-eslint/eslint-plugin/4.33.0_d91404fd3b7596e5b6874ef0a887f4fa:
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
<script>
|
<script>
|
||||||
import Base from "@damillora/plachta/components/Base/Base.svelte";
|
import { navigating } from '$app/stores';
|
||||||
import Header from "@damillora/plachta/components/Header/Header.svelte";
|
import Base from '@damillora/plachta/components/Base/Base.svelte';
|
||||||
import Hero from "@damillora/plachta/components/Hero/Hero.svelte";
|
import Header from '@damillora/plachta/components/Header/Header.svelte';
|
||||||
import NavMenu from "@damillora/plachta/components/Nav/NavMenu.svelte";
|
import Hero from '@damillora/plachta/components/Hero/Hero.svelte';
|
||||||
import NavDarkMode from "@damillora/plachta/components/Nav/NavDarkMode.svelte";
|
import NavMenu from '@damillora/plachta/components/Nav/NavMenu.svelte';
|
||||||
import Footer from "@damillora/plachta/components/Footer/Footer.svelte";
|
import NavDarkMode from '@damillora/plachta/components/Nav/NavDarkMode.svelte';
|
||||||
|
import Footer from '@damillora/plachta/components/Footer/Footer.svelte';
|
||||||
|
import NavigationLoading from '@damillora/plachta/components/NavigationLoading/NavigationLoading.svelte';
|
||||||
import FloatingYuriko from '$lib/components/FloatingYuriko.svelte';
|
import FloatingYuriko from '$lib/components/FloatingYuriko.svelte';
|
||||||
import { isYurikoBirthday } from '$lib/yuriko-birthday.js';
|
import { isYurikoBirthday } from '$lib/yuriko-birthday.js';
|
||||||
|
let loading = true;
|
||||||
|
navigating.subscribe((x) => (loading = x != null));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Base>
|
<Base>
|
||||||
@ -27,7 +31,7 @@
|
|||||||
|
|
||||||
<Hero background="/images/bg/283-yuika/bg-xl.jpg" />
|
<Hero background="/images/bg/283-yuika/bg-xl.jpg" />
|
||||||
|
|
||||||
<slot/>
|
<slot />
|
||||||
|
|
||||||
<Footer>
|
<Footer>
|
||||||
<p>Copyright (c) 2021 Damillora</p>
|
<p>Copyright (c) 2021 Damillora</p>
|
||||||
@ -38,5 +42,7 @@
|
|||||||
<FloatingYuriko />
|
<FloatingYuriko />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<NavigationLoading {loading} />
|
||||||
|
|
||||||
<style lang="scss" global>
|
<style lang="scss" global>
|
||||||
</style>
|
</style>
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<GameListItem
|
<GameListItem
|
||||||
name="Artery Gear: Fusion (EN)"
|
name="Artery Gear: Fusion (EN)"
|
||||||
link="/games/arterygear"
|
link="/games/arterygear"
|
||||||
playername="Damillora"
|
playername="Damilora"
|
||||||
gameid="030454085"
|
gameid="030454085"
|
||||||
/>
|
/>
|
||||||
<GameListItem
|
<GameListItem
|
||||||
|
Loading…
Reference in New Issue
Block a user