add errors

This commit is contained in:
Данил 2022-09-18 19:24:42 +03:00
parent fdb1448587
commit bd333838b1
11 changed files with 82 additions and 0 deletions

41
web/src/errors/404.html Normal file
View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>EveryNasa</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="/image/icons/favicon.png">
</head>
<style>
* {
line-height: 1.2;
margin: 0;
}
lottie-player {
margin: 0 auto;
}
p {
font-family: sans-serif;
text-align: center;
margin: 0.4% auto;
width: 300px;
}
a:visited {
color: #9FA4AF;
}
</style>
<body style="background: #131313; color: white;">
<lottie-player src="/static/image/lottie/lf20_2QSlz3Li88.json" background="transparent" speed="1" style="width: 300px; height: 300px;" loop autoplay></lottie-player>
<p style="font-size: 160%;">Страница не найдена!</p>
<p style="font-size: 115%;">Извините, но страница, которую вы хотите просмотреть, возможно, была удалена или перемещена!</p>
<p><a style="font-size: 1em;" href="/">Главная страница</a></p>
<script src="/static/scripts/lottie-player.js"></script>
</body>
</html>

33
web/src/errors/504.html Normal file
View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>EveryNasa</title>
<link rel="icon" href="/static/image/icons/favicon.png">
<style>
lottie-player {
margin: 2% auto;
}
p {
font-family: sans-serif;
text-align: center;
font-size: 130%;
}
li {
font-family: sans-serif;
margin-top: 3%;
margin-left: 43%
}
</style>
</head>
<body style="background: #131313; color: white;">
<lottie-player src="/static/image/lottie/lf20_3FGZxC.json" background="transparent" speed="0.5" style="width: 250px; height: 250px;" loop autoplay></lottie-player>
<p style="margin: 3% auto;">Нет подключения к Интернету</p>
<p style="margin: -2% auto">Попробуйте сделать следующее:</p>
<li>Проверьте сетевые кабели, модем и маршрутизатор.</li>
<li style="margin-top: 1%; margin-left: 43%">Подключитесь к сети Wi-Fi ещё раз.</li>
<script src="static/scripts/lottie-player.js"></script>
</body>
</html>