update maintenance container
This commit is contained in:
35
_deploy/maintenance.html
Normal file
35
_deploy/maintenance.html
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="bg">
|
||||||
|
<!-- put that file in the web root of the maintenance container and rename it. We use nginx, so the path is /usr/share/nginx/html/index.html -->
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Поддръжка на сайта</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
height: 100vh;
|
||||||
|
margin: 0;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
color: #333;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<h1>Поддръжка и обновления!</h1>
|
||||||
|
<p>Съжаляваме за неудобството, но в момента извършваме поддръжка на сайта. Ще се върнем онлайн скоро!</p>
|
||||||
|
<p>— Екипът на ССОМ: Специално Свидетелстване на Обществени Места - София</p>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -6,7 +6,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /mnt/docker_volumes/maintenance:/usr/share/nginx/html
|
- /mnt/docker_volumes/maintenance:/usr/share/nginx/html
|
||||||
ports:
|
ports:
|
||||||
- "81:80"
|
- "3010:80"
|
||||||
environment:
|
environment:
|
||||||
- NGINX_HOST=nginx
|
- NGINX_HOST=nginx
|
||||||
- NGINX_PORT=80
|
- NGINX_PORT=80
|
||||||
|
@ -241,7 +241,7 @@ const AvCalendar = ({ publisherId, events, selectedDate, cartEvents }) => {
|
|||||||
// Use the updated startdate for getCartEvent and ensure it reflects in the state properly
|
// Use the updated startdate for getCartEvent and ensure it reflects in the state properly
|
||||||
const cartEvent = getCartEvent(startdate);
|
const cartEvent = getCartEvent(startdate);
|
||||||
setCartEvent(cartEvent);
|
setCartEvent(cartEvent);
|
||||||
console.log("cartEvent: ", cartEvent.dayofweek);
|
console.log("cartEvent: ", cartEvent);
|
||||||
setSelectedEvents(existingEvents);
|
setSelectedEvents(existingEvents);
|
||||||
setIsModalOpen(true);
|
setIsModalOpen(true);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user