|
17 | 17 | <script> |
18 | 18 | const path = window.location.pathname; |
19 | 19 |
|
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 | + |
21 | 36 | 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; |
23 | 38 | div.classList.add('endOfLifeNotice'); |
24 | 39 |
|
25 | 40 | const content = document.getElementById('main-content'); |
|
0 commit comments