Skip to content

Commit 08b1aaa

Browse files
.
1 parent dc81dd1 commit 08b1aaa

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

_includes/footer_custom.html

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,24 @@
1717
<script>
1818
const path = window.location.pathname;
1919

20-
if (path.indexOf('/lite') === 0 || path.indexOf('/cli') === 0 || path.indexOf('/onpremises') === 0 || path.indexOf('/ui') === 0) {
20+
if (path.indexOf('/lite') === 0 || path.indexOf('/cli') === 0 || path.indexOf('/onpremises') === 0 || path.indexOf('/ui') === 0 || path.indexOf('/cloud') === 0) {
21+
var html = '';
22+
23+
if (path.indexOf('/lite') === 0) {
24+
html += 'Structurizr Lite will not receive any further updates - please migrate to <a href="/local">local</a> for new features, bug fixes, and security updates.';
25+
html += ' See <a href="https://www.patreon.com/posts/146923136" target="_blank">Introducing Structurizr vNext</a> for more details.';
26+
} else if (path.indexOf('/cli') === 0) {
27+
html += 'Structurizr CLI will not receive any further updates - please migrate to the new <a href="/commands">commands</a> for new features, bug fixes, and security updates.';
28+
html += ' See <a href="https://www.patreon.com/posts/146923136" target="_blank">Introducing Structurizr vNext</a> for more details.';
29+
} else if (path.indexOf('/onpremises') === 0) {
30+
html += 'Structurizr on-premises will not receive any further updates - please migrate to <a href="/server">server</a> for new features, bug fixes, and security updates.';
31+
html += ' See <a href="https://www.patreon.com/posts/146923136" target="_blank">Introducing Structurizr vNext</a> for more details.';
32+
} else if (path.indexOf('/cloud') === 0) {
33+
html += 'The Structurizr cloud service will reach its End of Life (EOL) on 30 September 2026 - please see <a href="https://www.patreon.com/posts/142577083" target="_blank">Cloud service end of life announcement</a> for more details.';
34+
}
35+
2136
const div = document.createElement("div");
22-
div.innerHTML = 'Structurizr Lite, on-premises, and CLI will not receive any further updates - please migrate to the new consolidated tooling - see <a href="https://www.patreon.com/posts/146923136" target="_blank">Introducing Structurizr vNext</a> and <a href="/commands">commands</a> for details.';
37+
div.innerHTML = html;
2338
div.classList.add('endOfLifeNotice');
2439

2540
const content = document.getElementById('main-content');

0 commit comments

Comments
 (0)