diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c57902b --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +run: + npm run dev -- --host diff --git a/src/lib/ErrorLoading.svelte b/src/lib/ErrorLoading.svelte new file mode 100644 index 0000000..1951961 --- /dev/null +++ b/src/lib/ErrorLoading.svelte @@ -0,0 +1,8 @@ +
+
+ + + +

Ошибка при загрузке

+
+
\ No newline at end of file diff --git a/src/lib/LoadingScreen.svelte b/src/lib/LoadingScreen.svelte new file mode 100644 index 0000000..a3a58d1 --- /dev/null +++ b/src/lib/LoadingScreen.svelte @@ -0,0 +1,9 @@ +
+
+ + Loading... +
+
\ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 855a7b0..a74cad3 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,15 +1,17 @@
- +{#if $page.status == 200} + +{:else} + +{/if} -