feat(legal): AGB als öffentliche Seite und Stilllegung des alten Deploys
- /agb ist ohne Anmeldung erreichbar (legal.php, views/legal.php, views/legal_agb.php), Verlinkung auf der Startseite und in der Sitemap. - Stilllegung: app.retired_url zeigt nur noch einen Umzugsvermerk (retired_notice() in util.php, Prüfung in bootstrap.php); Bausteine in tools/retire/ und Anleitung in docs/stilllegung-programmschmiede.md.
This commit is contained in:
parent
11db919406
commit
11bb83c66c
9 changed files with 258 additions and 18 deletions
24
tools/retire/.htaccess
Normal file
24
tools/retire/.htaccess
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Stilllegung: Diese Datei liegt nur auf dem alten Test-Deploy
|
||||
# (drink-it-cold.programmschmiede.de) und ersetzt dort die .htaccess.
|
||||
# Jede Anfrage landet auf dem Umzugsvermerk; die Anwendung selbst ist
|
||||
# nicht mehr erreichbar, insbesondere keine Anmeldung.
|
||||
|
||||
Options -Indexes -MultiViews
|
||||
DirectoryIndex index.html
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# Assets des Vermerks (derzeit keine) dürfen direkt durch.
|
||||
RewriteCond %{REQUEST_URI} !^/(index\.html|favicon\.svg|assets/)
|
||||
# Alles andere – Login, Dashboard, Cron, Rechtstexte – auf den Vermerk.
|
||||
RewriteRule ^ /index.html [R=302,L]
|
||||
</IfModule>
|
||||
|
||||
# Doppelt gesichert: die Anwendung wird in diesem Verzeichnis nicht ausgeführt.
|
||||
<IfModule mod_php.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
<IfModule mod_php7.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
44
tools/retire/index.html
Normal file
44
tools/retire/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Umgezogen · Drink it cold</title>
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="theme-color" content="#196abc">
|
||||
<style>
|
||||
:root { color-scheme: light; }
|
||||
body {
|
||||
margin: 0; min-height: 100vh; display: grid; place-items: center;
|
||||
background: #eef6fd; color: #0e1b26; padding: 1.5rem;
|
||||
font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
main {
|
||||
max-width: 34rem; background: #fff; border-radius: 1.25rem; padding: 2.5rem 2rem;
|
||||
box-shadow: 0 1.5rem 3rem rgba(14, 27, 38, .12); text-align: center;
|
||||
}
|
||||
.eyebrow { margin: 0 0 .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #196abc; }
|
||||
h1 { margin: 0 0 1rem; font-size: 1.6rem; line-height: 1.25; }
|
||||
p { margin: 0 0 1rem; line-height: 1.6; color: #38505f; }
|
||||
a.btn {
|
||||
display: inline-block; margin: 1rem 0 .5rem; padding: .85rem 1.6rem; border-radius: .7rem;
|
||||
background: #196abc; color: #fff; font-weight: 700; text-decoration: none;
|
||||
}
|
||||
a.btn:hover { background: #12518f; }
|
||||
.small { font-size: .85rem; color: #6b8290; margin: 0; }
|
||||
a.plain { color: #196abc; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<p class="eyebrow">Drink it cold</p>
|
||||
<h1>Diese Adresse ist umgezogen</h1>
|
||||
<p>Die Terminplanung und die Website der Kühlanhänger-Vermietung finden Sie ab sofort unter
|
||||
<strong>drinkitcold.de</strong>. Bitte passen Sie Ihre Lesezeichen an – diese Adresse wird
|
||||
nicht mehr genutzt.</p>
|
||||
<p><a class="btn" href="https://drinkitcold.de/">Weiter zu drinkitcold.de</a></p>
|
||||
<p class="small">Fragen? Telefon <a class="plain" href="tel:+491726384350">+49 172 638 43 50</a>
|
||||
· E-Mail <a class="plain" href="mailto:drinkitcold@web.de">drinkitcold@web.de</a></p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue