We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4649cab commit 4cbaef0Copy full SHA for 4cbaef0
index.html
@@ -458,7 +458,7 @@
458
>❤️ Sponsor</a
459
>
460
</div>
461
- <div class="alert warning">
+ <div class="alert warning" id="beta-warning">
462
🚧 SproutPHP is currently in beta (<code class="sproutphp-version"
463
>...</code
464
>). Expect changes and improvements.
@@ -578,6 +578,13 @@
578
versionSpans.forEach(function (span) {
579
span.textContent = version;
580
});
581
+ // Show/hide beta warning
582
+ var betaWarning = document.getElementById("beta-warning");
583
+ if (version.includes("beta") || version.includes("pre-release")) {
584
+ betaWarning.style.display = "block";
585
+ } else {
586
+ betaWarning.style.display = "none";
587
+ }
588
}
589
})
590
.catch(() => {
0 commit comments