modified: app.py

new file:   static/logo.png
This commit is contained in:
SimolZimol
2025-12-12 04:22:33 +01:00
parent 30e5ee31ee
commit 9043f29194
2 changed files with 21 additions and 5 deletions

26
app.py
View File

@@ -4,10 +4,10 @@ app = Flask(__name__)
MAINTENANCE_MESSAGE = """
<!DOCTYPE html>
<html lang="de">
<html lang=\"de\">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset=\"UTF-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<title>Wartungsarbeiten</title>
<style>
body {
@@ -28,6 +28,20 @@ MAINTENANCE_MESSAGE = """
max-width: 420px;
border: 1px solid #232526;
}
.logo {
width: 120px;
height: auto;
margin-bottom: 1.1rem;
margin-top: 0.2rem;
filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
}
.verein {
color: #00bfae;
font-size: 1.15rem;
font-weight: 600;
margin-bottom: 1.2rem;
letter-spacing: 0.5px;
}
h1 {
color: #00bfae;
font-size: 2.2rem;
@@ -59,9 +73,11 @@ MAINTENANCE_MESSAGE = """
</style>
</head>
<body>
<div class="container">
<div class=\"container\">
<img src=\"/static/logo.png\" alt=\"Projekt Senegal e.V. Logo\" class=\"logo\">
<div class=\"verein\">Projekt Senegal e.V.</div>
<h1>Wartungsarbeiten</h1>
<p>Die Website <a href="https://projekt-senegal.de/">projekt-senegal.de</a> ist derzeit wegen Wartungsarbeiten nicht erreichbar.</p>
<p>Die Website <a href=\"https://projekt-senegal.de/\">projekt-senegal.de</a> ist derzeit wegen Wartungsarbeiten nicht erreichbar.</p>
<p>Wir sind bald wieder für Sie da.<br>Vielen Dank für Ihr Verständnis!</p>
</div>
</body>

BIN
static/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 KiB