Skip to content

Commit

Permalink
mensagem de manutenção
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelchavesfreitas committed Dec 26, 2024
1 parent 0a0f061 commit 07d8ed3
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM hacklab/mapasculturais:7.5.15-es
FROM hacklab/mapasculturais:7.6.0-RC

COPY themes /var/www/src/themes
COPY plugins /var/www/src/plugins
Expand All @@ -8,4 +8,6 @@ RUN pnpm install --recursive && pnpm run build
WORKDIR /var/www

COPY docker/common/config.d /var/www/config/common.d
COPY docker/production/config.d /var/www/config/config.d
COPY docker/production/config.d /var/www/config/config.d

COPY mantenimiento.php /var/www/html/mantenimiento.php
72 changes: 72 additions & 0 deletions docker/mantenimiento.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@

<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>En Mantenimiento</title>
<style>
/* Estilo para o overlay (fundo escurecido) */
.overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.1); /* Opacidade do fundo ajustada */
z-index: 9999;
justify-content: center;
align-items: center;
}
/* Estilo para o conteúdo do pop-up */
.popup {
background-color: #fff;
padding: 30px;
border-radius: 10px;
width: 80%;
max-width: 600px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Estilo para o título em vermelho */
.popup h2 {
font-size: 24px;
margin-bottom: 20px;
color: #FF0000; /* Cor vermelha para o título */
}
.popup p {
font-size: 18px;
line-height: 1.5;
}
</style>
</head>
<body>
<!-- Overlay de fundo -->
<div class="overlay" id="popupOverlay">
<!-- Conteúdo do pop-up -->
<div class="popup">
<img src="https://mapa.iberculturaviva.org/assets/img/logo-site.img.10zlshu.png" alt="Logo" width="200">
<h2>en mantenimiento</h2>
<p>volveremos pronto</p>
</div>
</div>
<script>
// Função para mostrar o pop-up
function showPopup() {
const popupOverlay = document.getElementById('popupOverlay');
popupOverlay.style.display = 'flex';
}
// Exibir o pop-up assim que a página for carregada
window.onload = function() {
showPopup();
};
</script>
</body>
</html>

0 comments on commit 07d8ed3

Please sign in to comment.