feat: aggiorna l'anno di copyright dinamicamente e migliora la leggibilità del testo nel menu

This commit is contained in:
2026-10-23 12:27:34 +02:00
parent df06ceb56c
commit f539e4e185
4 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -147,7 +147,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 text-center copyright p-2 mb-2 mt-4"> <div class="col-sm-12 text-center copyright p-2 mb-2 mt-4">
Copyright 2025 &copy; - Developed by <a href="https://aurealab.net" target="_blank">AUREA</a> Copyright <span class="copyright-anno">2025</span> &copy; - Developed by <a href="https://aurealab.net" target="_blank">AUREA</a>
</div> </div>
</div> </div>
</div> </div>
+1 -1
View File
@@ -286,7 +286,7 @@
<div class="row"> <div class="row">
<div class="col-sm-12 text-center copyright p-2 mb-2 mt-4"> <div class="col-sm-12 text-center copyright p-2 mb-2 mt-4">
Copyright 2025 &copy; - Developed by <a href="https://aurealab.net" target="_blank">AUREA</a> Copyright <span class="copyright-anno">2025</span> &copy; - Developed by <a href="https://aurealab.net" target="_blank">AUREA</a>
</div> </div>
</div> </div>
</div> </div>
+11
View File
@@ -115,6 +115,17 @@ body {
font-weight: bold; font-weight: bold;
} }
/* Desktop: il menu ha sfondo bianco, il testo bianco non si leggerebbe */
@media (min-width: 1109px) {
.copyright {
color: #535657;
}
.copyright a {
color: #12373C;
}
}
#cart-container .prezzo { #cart-container .prezzo {
background-color: #12373C; background-color: #12373C;
color: #fff; color: #fff;
+1
View File
@@ -51,6 +51,7 @@ const MenuBuilder = {
container = document.getElementById(parent_element_id); container = document.getElementById(parent_element_id);
container.innerHTML = template; container.innerHTML = template;
$('.copyright-anno').text(new Date().getFullYear());
let isMobile = window.innerWidth <= 1108; let isMobile = window.innerWidth <= 1108;
console.log("is mobile", isMobile); console.log("is mobile", isMobile);