1
0

2048: Favicon & Footer

This commit is contained in:
Akamaru 2025-03-19 22:01:45 +01:00
parent f74c22eff8
commit 3c147aaf2d
2 changed files with 40 additions and 0 deletions

BIN
2048/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -3,10 +3,12 @@
<head>
<meta charset="UTF-8">
<title>2048</title>
<link rel="icon" href="https://tools.ponywave.de/2048/icon.png">
<meta property="og:title" content="2048">
<meta property="og:description" content="Spiele das klassische 2048-Puzzle-Spiel">
<meta property="og:type" content="website">
<meta property="og:url" content="https://tools.ponywave.de/2048">
<meta property="og:image" content="https://tools.ponywave.de/2048/icon.png">
<script defer src="https://stats.ponywave.de/script" data-website-id="9ef713d2-adb9-4906-9df5-708d8a8b9131" data-tag="2048"></script>
<style>
body {
@ -133,6 +135,35 @@
margin-bottom: 10px;
color: #776e65;
}
/* Footer Styles */
footer {
margin-top: 30px;
color: #776e65;
text-align: center;
padding: 10px;
font-size: 14px;
}
footer a {
color: #776e65;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.heart {
color: #e74c3c;
animation: heartbeat 1.5s infinite;
}
@keyframes heartbeat {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
</style>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js"></script>
</head>
@ -438,6 +469,15 @@
// Spiel starten
new Game2048();
let game = new Game2048();
// Jahr für das Copyright aktualisieren
document.addEventListener('DOMContentLoaded', function() {
document.getElementById('current-year').textContent = new Date().getFullYear();
});
</script>
<footer>
<p><a href="https://tools.ponywave.de/">Zurück zur Startseite</a> | &copy; <span id="current-year"></span> Akamaru | Made with <span class="heart">❤️</span> by DeepSeek</p>
</footer>
</body>
</html>