update maintenance page

This commit is contained in:
themohooks 2024-07-09 00:35:39 +03:00
parent 74b309f6eb
commit 5f36a086fb
3 changed files with 27 additions and 42 deletions

BIN
static/img/500.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
static/img/503.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -1,42 +1,27 @@
<html> <?php
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<head> use App\Services\{Router, Auth, DB, Date};
<style> ?>
/* CSS */ <html lang="ru">
:root { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
:root { font-family: 'Inter var', sans-serif; } <head>
} <?php include($_SERVER['DOCUMENT_ROOT'] . '/views/components/LoadHead.php'); ?>
body {
position: relative;
height: 100vh; </head>
overflow: hidden;
}
#dbErrorBody { <body>
position: absolute; <style>
top: 50%; body,h1 {
left: 50%; font-family: Tahoma, Geneva, Verdana, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
margin-right: -50%; }
transform: translate(-50%, -50%); </style>
width: 600px; <center><h1>Сервер <?=NGALLERY['root']['title']?> находится на технических работах</h1></center>
text-align: center; <center><img src="/static/img/503.jpg"></center>
}
#dbErrorBody h1 {
margin-top: 5px; </body>
margin-bottom: 2px;
} </html>
#dbErrorBody span {
color: grey;
}
#dbErrorBody img {
max-width: 468px;
}
</style>
<title>Birux</title>
</head>
<body>
<div id="dbErrorBody">
<img src="/static/img/serverdown.svg" alt="Database Error">
<h1>Проводятся технические работы</h1>
</div>
</bo