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}
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index ce10d79..4ec491b 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -2,6 +2,8 @@
// import { onMount } from "svelte";
import axios from 'axios';
import InfiniteLoading from '/src/lib/InfiniteLoading.svelte';
+ import LoadingScreen from "/src/lib/LoadingScreen.svelte";
+ import ErrorLoading from '/src/lib/ErrorLoading.svelte';
let serverurl = 'http://192.168.0.105:3000';
let last_page = 1;
@@ -37,16 +39,8 @@
\ No newline at end of file
diff --git a/src/routes/Header.svelte b/src/routes/Header.svelte
index c5f31f4..f353808 100644
--- a/src/routes/Header.svelte
+++ b/src/routes/Header.svelte
@@ -67,6 +67,7 @@
\ No newline at end of file
diff --git a/src/routes/categories/[category]/+page.svelte b/src/routes/categories/[category]/+page.svelte
index 3094b67..ff80207 100644
--- a/src/routes/categories/[category]/+page.svelte
+++ b/src/routes/categories/[category]/+page.svelte
@@ -2,6 +2,8 @@
import { page } from '$app/stores';
import axios from 'axios';
import InfiniteLoading from '/src/lib/InfiniteLoading.svelte';
+ import LoadingScreen from "/src/lib/LoadingScreen.svelte";
+ import ErrorLoading from '/src/lib/ErrorLoading.svelte';
let serverurl = 'http://192.168.0.105:3000';
@@ -39,30 +41,26 @@