Files
Spotify-AdsList/docs/js/archive-banner.js
T
2026-03-22 21:59:27 +01:00

24 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
app.document$.subscribe(function() {
var container = document.querySelector('.md-container');
if (container && !document.getElementById("archive-notice")) {
var banner = document.createElement('div');
banner.id = "archive-notice";
banner.innerHTML = `
<div style="background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; padding: 20px; margin: 20px; border-radius: 8px; font-family: sans-serif; box-shadow: 0 2px 5px rgba(0,0,0,0.1);">
<h2 style="margin-top: 0; color: #856404;">️ Project archival notice</h2>
<p>Thank you to everyone who has used, tested, and contributed to this project. Due to lack of time, I will archive the repository as of <strong>April 1</strong>.</p>
<ul style="margin-bottom: 15px;">
<li>New issues and pull requests will not be answered after that date.</li>
<li>I will publish a final release on March 31.</li>
</ul>
<p>Questions? Contact: <a href="mailto:isaaker@piscinadeentropia.es" style="color: #533f03; font-weight: bold; text-decoration: underline;">isaaker@piscinadeentropia.es</a></p>
</div>
`;
container.prepend(banner);
}
});