fix index, again

This commit is contained in:
quoije
2025-02-04 21:44:51 -05:00
parent 3155b74cfe
commit 1e34862851
+7 -6
View File
@@ -21,25 +21,25 @@
footer { footer {
margin-top: auto; margin-top: auto;
padding: 15px; padding: 25px;
background-color: #f8f9fa; background-color: #f8f9fa;
text-align: center; text-align: center;
font-family: "Helvetica Neue", "Arial";
} }
#footer-text { #footer-text {
margin: -5px; margin: -5px;
font-family:monospace;
font-size: small;
} }
#footer-copy { #footer-copy {
margin: -5px; margin: -5px;
font-family:monospace; font-family:monospace;
font-size: small; font-size: smaller;
padding-top: 10px; padding-top: 10px;
} }
#copy { #copy {
text-decoration: none; text-decoration: none;
} }
</style> </style>
</head> </head>
@@ -66,8 +66,9 @@
<!-- Footer Section --> <!-- Footer Section -->
<footer> <footer>
<p id="footer-text"></p>
<p id="footer-copy"><a id="copy" href="https://github.com/quoije/oscars-pool">quoije</a> - deux mille vingt-cinq</p> <p id="footer-copy"><a id="copy" href="https://github.com/quoije/oscars-pool">quoije</a> - deux mille vingt-cinq</p>
<p id="footer-text"></p>
</footer> </footer>
</div> </div>
@@ -110,7 +111,7 @@
if (res.ok) { if (res.ok) {
const data = await res.json(); const data = await res.json();
// Update footer with the fetched version info // Update footer with the fetched version info
const footerText = `version: ${data.version} - ${data.message}`; const footerText = `${data.date} - ${data.version} - ${data.message}`;
document.getElementById('footer-text').textContent = footerText; document.getElementById('footer-text').textContent = footerText;
} else { } else {
document.getElementById('footer-text').textContent = ''; document.getElementById('footer-text').textContent = '';