mirror of
https://github.com/Damillora/Rinze.git
synced 2024-12-05 00:53:45 +00:00
Compare commits
3 Commits
93ac2532bb
...
ba4415cb9c
Author | SHA1 | Date | |
---|---|---|---|
ba4415cb9c | |||
9e0e9a4f8c | |||
aa1e9bad14 |
@ -1,10 +1,10 @@
|
|||||||
FROM node:16-alpine
|
FROM node:20-alpine
|
||||||
# install dependencies
|
# install dependencies
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
FROM node:16-alpine
|
FROM node:20-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=0 /app/build /app
|
COPY --from=0 /app/build /app
|
||||||
COPY --from=0 /app/package.json /app
|
COPY --from=0 /app/package.json /app
|
||||||
|
14
package-lock.json
generated
14
package-lock.json
generated
@ -8,7 +8,7 @@
|
|||||||
"name": "~TODO~",
|
"name": "~TODO~",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@damillora/plachta": "^6.2.0",
|
"@damillora/plachta": "^6.3.0",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"howler": "^2.2.3",
|
"howler": "^2.2.3",
|
||||||
"sass": "^1.58.0"
|
"sass": "^1.58.0"
|
||||||
@ -148,9 +148,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@damillora/plachta": {
|
"node_modules/@damillora/plachta": {
|
||||||
"version": "6.2.0",
|
"version": "6.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.3.0.tgz",
|
||||||
"integrity": "sha512-wWveoCD7J/G4EieiuLHGpuPqYmg93OVWwHheTxuN2S2EMh5FWrGHdPh66VapneKV9ni6E0kR1TVDz1MGCyT/dw==",
|
"integrity": "sha512-cRjdAHnlprh9SSTg45QtWinom0+TisuJ4zB+lAWJDHqa1fxMqLgc6OKDcrXFbEn9rxICY8vSMv17Iwol/yocFA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svelte": "^5.0.0"
|
"svelte": "^5.0.0"
|
||||||
}
|
}
|
||||||
@ -4035,9 +4035,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@damillora/plachta": {
|
"@damillora/plachta": {
|
||||||
"version": "6.2.0",
|
"version": "6.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-6.3.0.tgz",
|
||||||
"integrity": "sha512-wWveoCD7J/G4EieiuLHGpuPqYmg93OVWwHheTxuN2S2EMh5FWrGHdPh66VapneKV9ni6E0kR1TVDz1MGCyT/dw==",
|
"integrity": "sha512-cRjdAHnlprh9SSTg45QtWinom0+TisuJ4zB+lAWJDHqa1fxMqLgc6OKDcrXFbEn9rxICY8vSMv17Iwol/yocFA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"svelte": "^5.0.0"
|
"svelte": "^5.0.0"
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@damillora/plachta": "^6.2.0",
|
"@damillora/plachta": "^6.3.0",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"howler": "^2.2.3",
|
"howler": "^2.2.3",
|
||||||
"sass": "^1.58.0"
|
"sass": "^1.58.0"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { navigating } from '$app/stores';
|
||||||
import type { Snippet } from 'svelte';
|
import type { Snippet } from 'svelte';
|
||||||
import {
|
import {
|
||||||
Base,
|
Base,
|
||||||
@ -15,6 +16,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
let { children }: Props = $props();
|
let { children }: Props = $props();
|
||||||
|
|
||||||
|
let loading = $state(true);
|
||||||
|
navigating.subscribe((x) => (loading = x != null));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Base>
|
<Base>
|
||||||
@ -33,5 +37,7 @@
|
|||||||
<FloatingYuriko />
|
<FloatingYuriko />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<NavigationLoading {loading}/>
|
||||||
|
|
||||||
<style lang="scss" global>
|
<style lang="scss" global>
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user