From 6683114c2a306097a262834746c79b0d720a210b Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Wed, 2 Dec 2026 10:18:40 +0000 Subject: [PATCH] Add site-wide retirement notice for January 7, 2027 shutdown The site shuts down permanently on 2027-01-07. Renders a banner above the header in the Twig layout, styles it as a Tailwind component, prepends a matching notice to the README, and asserts the notice renders in the functional page-load test. --- README.md | 10 ++++- assets/css/app.css | 69 ++++++++++++++++++++++++++++++ templates/layout.html.twig | 21 +++++++++ tests/Functional/GeneratorTest.php | 1 + 4 files changed, 100 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c04b9cc..39bfa93 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,17 @@ +> [!IMPORTANT] +> **PHPDocker.io is retiring.** On **January 7th, 2027**, after more than a decade, the hosted +> generator at [phpdocker.io](https://phpdocker.io) will shut down permanently. +> +> Thank you for every project you generated, every bug you reported, and every pull request you +> sent. It has been a privilege. The code remains available under the Apache 2.0 license for anyone +> who wants to carry it forward. + PHPDocker.io ============ PHPDocker.io is a web-based generator for Docker environments tailored for PHP applications. This repository contains both the website and the generator core, open-sourced under the Apache 2.0 license. -Visit us at [phpdocker.io](https://phpdocker.io). +Visit us at [phpdocker.io](https://phpdocker.io) until January 7th, 2027. Tech Stack ---------- diff --git a/assets/css/app.css b/assets/css/app.css index ddb9218..aee5386 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -77,6 +77,75 @@ pointer-events: none; } + /* retirement-notice: site-wide shutdown banner above the header */ + .retirement-notice { + background: #0a1220; + border-bottom: 1px solid #1c3050; + } + + .retirement-notice__container { + box-sizing: border-box; + max-width: 1472px; + margin: 0 auto; + padding: 1rem; + } + + .retirement-notice__panel { + display: grid; + grid-template-columns: minmax(12rem, 17rem) minmax(0, 42rem); + gap: 1.5rem; + align-items: start; + border-left: 3px solid #f59e0b; + padding-left: 1rem; + background: radial-gradient(circle at 0 0, rgba(245, 158, 11, .1), transparent 30rem); + } + + .retirement-notice__eyebrow { + margin: 0 0 .25rem; + color: #f59e0b; + font-family: 'Syne', sans-serif; + font-size: .75rem; + font-weight: 700; + letter-spacing: .08em; + text-transform: uppercase; + } + + .retirement-notice__title { + margin: 0; + color: #e2e8f0; + font-family: 'Syne', sans-serif; + font-size: 1.4rem; + font-weight: 700; + line-height: 1.2; + } + + .retirement-notice__copy { + min-width: 0; + color: #e2e8f0; + font-size: .875rem; + line-height: 1.5; + } + + .retirement-notice__copy p { + margin: 0; + } + + .retirement-notice__copy p + p { + margin-top: .375rem; + } + + .retirement-notice__copy time { + color: #f59e0b; + font-weight: 700; + } + + @media (max-width: 639px) { + .retirement-notice__panel { + grid-template-columns: minmax(0, 1fr); + gap: .625rem; + } + } + /* form inputs / selects */ .form-input, .form-select { diff --git a/templates/layout.html.twig b/templates/layout.html.twig index 5032cb7..e46dc6f 100644 --- a/templates/layout.html.twig +++ b/templates/layout.html.twig @@ -31,6 +31,27 @@ + +
{% block body %}{% endblock %}