added update notifier

This commit is contained in:
2025-12-02 21:05:45 +01:00
parent fb3d1a447e
commit 01376362af
11 changed files with 314 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
<link rel="stylesheet" href="/views/css/anime/home.css">
<link rel="stylesheet" href="/views/css/gallery/gallery.css">
<link rel="icon" href="/public/assets/waifuboards.ico" type="image/x-icon">
<link rel="stylesheet" href="/views/css/updateNotifier.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js" async></script>
@@ -67,6 +68,19 @@
</section>
</main>
<div id="updateToast" class="hidden">
<p>Update available: <span id="latestVersionDisplay">v1.x</span></p>
<a
id="downloadButton"
href="https://git.waifuboard.app/ItsSkaiya/WaifuBoard/releases"
target="_blank"
>
Click To Download
</a>
</div>
<script src="../src/scripts/updateNotifier.js"></script>
<script src="../src/scripts/gallery/gallery.js"></script>
</body>
</html>