Skip to content

Commit 8e1d41a

Browse files
Add EoL notice banner to invui v1 docs
1 parent 110dd9d commit 8e1d41a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docs/invui/overrides/main.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
{% extends "base.html" %}
22

33
{% block styles %}
4+
<style>
5+
.eol-banner {
6+
background-color: #f39c12;
7+
color: #000;
8+
padding: 0.5rem 1rem;
9+
text-align: center;
10+
font-weight: 500;
11+
position: fixed;
12+
top: 48px; /* Height of the MkDocs Material header */
13+
left: 0;
14+
right: 0;
15+
z-index: 2; /* Lower than sidebar (z-index: 3) and drawer (z-index: 4) */
16+
}
17+
18+
.eol-banner a {
19+
color: #000;
20+
text-decoration: underline;
21+
}
22+
23+
/* Add padding to content so it's not hidden behind the fixed banner */
24+
.md-main {
25+
padding-top: 40px;
26+
}
27+
</style>
428
<script>
529
(function () {
630
const savedWidth = localStorage.getItem("md-width") || "slim";
@@ -42,6 +66,11 @@
4266
}
4367
})();
4468
</script>
69+
<div class="eol-banner">
70+
<strong>End of Life Notice:</strong>
71+
InvUI v1 will <strong>NOT</strong> be updated to Minecraft v26.1.
72+
Consider migrating to <a href="https://docs.xenondevs.xyz/invui2/">InvUI v2</a> or a different inventory GUI library.
73+
</div>
4574
{{ super() }}
4675
{% endblock %}
4776

0 commit comments

Comments
 (0)