nej
This commit is contained in:
parent
3c2311dc7a
commit
e6013eb332
@ -9,6 +9,7 @@
|
|||||||
<!-- Stylesheet -->
|
<!-- Stylesheet -->
|
||||||
<style>
|
<style>
|
||||||
@font-face { font-family: "Titillium"; src: url("/Titillium-Web-Regular.ttf"); }
|
@font-face { font-family: "Titillium"; src: url("/Titillium-Web-Regular.ttf"); }
|
||||||
|
|
||||||
body, html {
|
body, html {
|
||||||
font-family: 'Titillium';
|
font-family: 'Titillium';
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -56,12 +57,14 @@
|
|||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon path.bm {
|
.icon path.bm {
|
||||||
stroke-dasharray: 3;
|
stroke-dasharray: 3;
|
||||||
stroke-dashoffset: 3;
|
stroke-dashoffset: 3;
|
||||||
stroke-width: 1px;
|
stroke-width: 1px;
|
||||||
transform: translateX(-23px) translateY(16px) scale(2) rotate(-44deg);
|
transform: translateX(-23px) translateY(16px) scale(2) rotate(-44deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-container {
|
.icon-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -143,10 +146,12 @@
|
|||||||
50% { transform: translateY(-15%); opacity: 1; filter: blur(0); }
|
50% { transform: translateY(-15%); opacity: 1; filter: blur(0); }
|
||||||
100% { transform: translateY(0); opacity: 1; }
|
100% { transform: translateY(0); opacity: 1; }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes letterHide {
|
@keyframes letterHide {
|
||||||
0% { transform: translateY(0); opacity: 1; }
|
0% { transform: translateY(0); opacity: 1; }
|
||||||
100% { transform: translateY(-70%); opacity: 0; filter: blur(3px); }
|
100% { transform: translateY(-70%); opacity: 0; filter: blur(3px); }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Modal-Stile */
|
/* Modal-Stile */
|
||||||
.modal {
|
.modal {
|
||||||
display: none;
|
display: none;
|
||||||
@ -159,6 +164,7 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
background-color: rgba(0,0,0,0.5);
|
background-color: rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
background-color: #fefefe;
|
background-color: #fefefe;
|
||||||
margin: 15% auto;
|
margin: 15% auto;
|
||||||
@ -169,6 +175,7 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.close {
|
.close {
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
float: right;
|
float: right;
|
||||||
@ -198,218 +205,121 @@
|
|||||||
.social-icons a img:hover {
|
.social-icons a img:hover {
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
/* New Blue Button Styles */
|
|
||||||
.flex {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.justify-center {
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.items-center {
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gap-12 {
|
|
||||||
gap: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.h-full {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bg-gradient-to-b {
|
|
||||||
background: linear-gradient(to bottom, var(--from), var(--to));
|
|
||||||
}
|
|
||||||
|
|
||||||
.from-blue-600 {
|
|
||||||
--from: #007bff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.to-blue-700 {
|
|
||||||
--to: #0056b3;
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-[4px] {
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rounded-[16px] {
|
|
||||||
border-radius: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group:hover .hover:shadow-[0_4px_8px_rgba(0,0,0,0.6)] {
|
|
||||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
|
|
||||||
}
|
|
||||||
|
|
||||||
.group:active .active:shadow-[0_0px_1px_rgba(0,0,0,0.8)] {
|
|
||||||
box-shadow: 0 0px 1px rgba(0, 0, 0, 0.8);
|
|
||||||
}
|
|
||||||
|
|
||||||
.group:active .active:scale-[0.995] {
|
|
||||||
transform: scale(0.995);
|
|
||||||
}
|
|
||||||
|
|
||||||
.group .transition-all {
|
|
||||||
transition: all 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.group .duration-200 {
|
|
||||||
transition-duration: 200ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
.rounded-[12px] {
|
|
||||||
border-radius: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.shadow-[0_2px_4px_rgba(0,0,0,0.7)] {
|
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
|
|
||||||
}
|
|
||||||
|
|
||||||
.rounded-[8px] {
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.px-3 {
|
|
||||||
padding-left: 12px;
|
|
||||||
padding-right: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.py-2 {
|
|
||||||
padding-top: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.font-semibold {
|
|
||||||
font-weight: 600;
|
|
||||||
[_{{{CITATION{{{_1{](https://github.com/hd-code/pandoc-docker/tree/07f83c6deeafbff1710c5f7992a97955c298ad61/example%2Fexample.md)[_{{{CITATION{{{_2{](https://github.com/AndreasHeine/opcua-sub-to-websocket/tree/b272dca8c8abf371e5e35f05ce93949bdb775723/README.md) }
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Ladeanimation -->
|
<!-- Ladeanimation -->
|
||||||
<div class="loader-container">
|
<div class="loader-container">
|
||||||
<l-quantum size="90" speed="1.75" color="black"></l-quantum>
|
<l-quantum size="90" speed="1.75" color="black"></l-quantum>
|
||||||
</div>
|
|
||||||
|
|
||||||
<h1><img src="/icons/Controller.png" height="150"><br/>Creative Crafter</h1>
|
|
||||||
<h1>Flappy Witch</h1>
|
|
||||||
<div align='center'>
|
|
||||||
<img src="/programmieren/spiele/Flappy-Witch/logo.png" width="250">
|
|
||||||
</div>
|
|
||||||
<br/>
|
|
||||||
<div align='center'>
|
|
||||||
<!-- Spielen-Button -->
|
|
||||||
<div class="flex justify-center items-center gap-12 h-full">
|
|
||||||
<div class="bg-gradient-to-b from-blue-600 to-blue-700 p-[4px] rounded-[16px]">
|
|
||||||
<a href="/programmieren/spiele/Flappy-Witch/FlappyWitch.html">
|
|
||||||
<button class="group p-[4px] rounded-[12px] bg-gradient-to-b from-blue-600 to-blue-700 shadow-[0_2px_4px_rgba(0,0,0,0.7)] hover:shadow-[0_4px_8px_rgba(0,0,0,0.6)] active:shadow-[0_0px_1px_rgba(0,0,0,0.8)] active:scale-[0.995] transition-all duration-200">
|
|
||||||
<div class="bg-gradient-to-b from-blue-600 to-blue-700 rounded-[8px] px-3 py-2">
|
|
||||||
<div class="flex gap-2 items-center">
|
|
||||||
<span class="font-semibold text-white">Get Started</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</button>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<br/><br/>
|
|
||||||
<!-- Neuer Teilen-Button -->
|
<h1><img src="/icons/Controller.png" height="150"><br/>Creative Crafter</h1>
|
||||||
<button class="button" onclick="openSharePopup()">
|
<h1>Flappy Witch</h1>
|
||||||
<div class="icon-container">
|
<div align='center'>
|
||||||
<svg viewBox="0 0 24 24" fill="none" class="icon">
|
<img src="/programmieren/spiele/Flappy-Witch/logo.png" width="250">
|
||||||
<!-- Teilen-Icon -->
|
</div>
|
||||||
<path d="M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"></path>
|
<br/>
|
||||||
<polyline points="16 6 12 2 8 6"></polyline>
|
<div align='center'>
|
||||||
<line x1="12" y1="2" x2="12" y2="15"></line>
|
<!-- Spielen-Button -->
|
||||||
</svg>
|
<a href="/programmieren/spiele/Flappy-Witch/FlappyWitch.html">
|
||||||
</div>
|
<img src="/icons/spielen-button.png" width="500">
|
||||||
<div class="content">
|
</a>
|
||||||
<div class="letters">
|
<br/><br/>
|
||||||
<span data-label="S" style="--i:0;">S</span>
|
<!-- Neuer Teilen-Button -->
|
||||||
<span data-label="h" style="--i:1;">h</span>
|
<button class="button" onclick="openSharePopup()">
|
||||||
<span data-label="a" style="--i:2;">a</span>
|
<div class="icon-container">
|
||||||
<span data-label="r" style="--i:3;">r</span>
|
<svg viewBox="0 0 24 24" fill="none" class="icon">
|
||||||
<span data-label="e" style="--i:4;">e</span>
|
<!-- Teilen-Icon -->
|
||||||
|
<path d="M4 12v7a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7"></path>
|
||||||
|
<polyline points="16 6 12 2 8 6"></polyline>
|
||||||
|
<line x1="12" y1="2" x2="12" y2="15"></line>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="content">
|
||||||
|
<div class="letters">
|
||||||
|
<span data-label="S" style="--i:0;">S</span>
|
||||||
|
<span data-label="h" style="--i:1;">h</span>
|
||||||
|
<span data-label="a" style="--i:2;">a</span>
|
||||||
|
<span data-label="r" style="--i:3;">r</span>
|
||||||
|
<span data-label="e" style="--i:4;">e</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Popup-Fenster zum Teilen -->
|
||||||
|
<div id="shareModal" class="modal">
|
||||||
|
<div class="modal-content">
|
||||||
|
<span class="close" onclick="closeSharePopup()">×</span>
|
||||||
|
<h2>Share with:</h2>
|
||||||
|
<div class="social-icons">
|
||||||
|
<a href="#" onclick="shareViaWhatsApp()">
|
||||||
|
<img src="/icons/whatsapp-icon.png" alt="WhatsApp" />
|
||||||
|
</a>
|
||||||
|
<a href="#" onclick="shareViaTelegram()">
|
||||||
|
<img src="/icons/telegram-icon.png" alt="Telegram" />
|
||||||
|
</a>
|
||||||
|
<a href="#" onclick="shareViaEmail()">
|
||||||
|
<img src="/icons/email-icon.png" alt="E-Mail" />
|
||||||
|
</a>
|
||||||
|
<!-- Weitere Sharing-Optionen kannst du hier hinzufügen -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Popup-Fenster zum Teilen -->
|
|
||||||
<div id="shareModal" class="modal">
|
|
||||||
<div class="modal-content">
|
|
||||||
<span class="close" onclick="closeSharePopup()">×</span>
|
|
||||||
<h2>Share with:</h2>
|
|
||||||
<div class="social-icons">
|
|
||||||
<a href="#" onclick="shareViaWhatsApp()">
|
|
||||||
<img src="/icons/whatsapp-icon.png" alt="WhatsApp" />
|
|
||||||
</a>
|
|
||||||
<a href="#" onclick="shareViaTelegram()">
|
|
||||||
<img src="/icons/telegram-icon.png" alt="Telegram" />
|
|
||||||
</a>
|
|
||||||
<a href="#" onclick="shareViaEmail()">
|
|
||||||
<img src="/icons/email-icon.png" alt="E-Mail" />
|
|
||||||
</a>
|
|
||||||
<!-- Weitere Sharing-Optionen kannst du hier hinzufügen -->
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<br/><br/><br/>
|
<br/><br/><br/>
|
||||||
<div align='center'>
|
<div align='center'>
|
||||||
<img src="/programmieren/spiele/Flappy-Witch/FlappyWitch1.png" width="250">
|
<img src="/programmieren/spiele/Flappy-Witch/FlappyWitch1.png" width="250">
|
||||||
<img src="/programmieren/spiele/Flappy-Witch/FlappyWitch2.png" width="250">
|
<img src="/programmieren/spiele/Flappy-Witch/FlappyWitch2.png" width="250">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- JavaScript für Ladeanimation und Teilen-Funktion -->
|
<!-- JavaScript für Ladeanimation und Teilen-Funktion -->
|
||||||
<script>
|
<script>
|
||||||
// Ladeanimation beim Laden der Seite anzeigen
|
// Ladeanimation beim Laden der Seite anzeigen
|
||||||
document.body.classList.add('loading');
|
document.body.classList.add('loading');
|
||||||
// Ladeanimation entfernen, wenn die Seite vollständig geladen ist
|
// Ladeanimation entfernen, wenn die Seite vollständig geladen ist
|
||||||
window.addEventListener('load', () => {
|
window.addEventListener('load', () => {
|
||||||
document.body.classList.remove('loading');
|
document.body.classList.remove('loading');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Funktion zum Öffnen des Popup-Fensters
|
// Funktion zum Öffnen des Popup-Fensters
|
||||||
function openSharePopup() {
|
function openSharePopup() {
|
||||||
document.getElementById("shareModal").style.display = "block";
|
document.getElementById("shareModal").style.display = "block";
|
||||||
}
|
|
||||||
|
|
||||||
// Funktion zum Schließen des Popup-Fensters
|
|
||||||
function closeSharePopup() {
|
|
||||||
document.getElementById("shareModal").style.display = "none";
|
|
||||||
}
|
|
||||||
|
|
||||||
// Teilen via WhatsApp
|
|
||||||
function shareViaWhatsApp() {
|
|
||||||
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
|
|
||||||
const url = 'https://api.whatsapp.com/send?text=' + text;
|
|
||||||
window.open(url, '_blank');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Teilen via Telegram
|
|
||||||
function shareViaTelegram() {
|
|
||||||
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
|
|
||||||
const url = 'https://t.me/share/url?url=' + text;
|
|
||||||
window.open(url, '_blank');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Teilen via E-Mail
|
|
||||||
function shareViaEmail() {
|
|
||||||
const subject = encodeURIComponent('Flappy Witch');
|
|
||||||
const body = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
|
|
||||||
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Schließt das Popup bei Klick außerhalb des Inhalts
|
|
||||||
window.onclick = function(event) {
|
|
||||||
const modal = document.getElementById('shareModal');
|
|
||||||
if (event.target == modal) {
|
|
||||||
closeSharePopup();
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</script>
|
// Funktion zum Schließen des Popup-Fensters
|
||||||
|
function closeSharePopup() {
|
||||||
|
document.getElementById("shareModal").style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
|
// Teilen via WhatsApp
|
||||||
|
function shareViaWhatsApp() {
|
||||||
|
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
|
||||||
|
const url = 'https://api.whatsapp.com/send?text=' + text;
|
||||||
|
window.open(url, '_blank');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Teilen via Telegram
|
||||||
|
function shareViaTelegram() {
|
||||||
|
const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
|
||||||
|
const url = 'https://t.me/share/url?url=' + text;
|
||||||
|
window.open(url, '_blank');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Teilen via E-Mail
|
||||||
|
function shareViaEmail() {
|
||||||
|
const subject = encodeURIComponent('Flappy Witch');
|
||||||
|
const body = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
|
||||||
|
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Schließt das Popup bei Klick außerhalb des Inhalts
|
||||||
|
window.onclick = function(event) {
|
||||||
|
const modal = document.getElementById('shareModal');
|
||||||
|
if (event.target == modal) {
|
||||||
|
closeSharePopup();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user