Update v1.1.0-beta.1
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-12-21 18:16:25 +01:00
parent f7658eca22
commit 51d11a6c36
20 changed files with 2688 additions and 935 deletions

View File

@@ -152,9 +152,8 @@
</div>
</main>
<!-- Footer -->
<footer class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 text-center text-gray-500 text-sm opacity-0 animate-fade-in-up">
<p>Version: 1.0.0-beta.17 | © 2024 Myaxrin Labs</p>
<p>Version: <span id="version-number">...</span> | © 2024 Myaxrin Labs</p>
</footer>
<script>
@@ -163,6 +162,17 @@
elements.forEach(element => {
element.classList.add('animate-fade-in-up-visible');
});
// Fetch version from build-metadata API
fetch('/build-metadata')
.then(response => response.json())
.then(data => {
document.getElementById('version-number').textContent = data.build_version;
})
.catch(error => {
console.error('Error fetching version:', error);
document.getElementById('version-number').textContent = 'Version indisponible';
});
</script>
</body>
</html>