neu
This commit is contained in:
		| @ -5,67 +5,8 @@ | |||||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> |     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||||
|     <title>Creative Crafter</title> |     <title>Creative Crafter</title> | ||||||
|     <script type="module" src="https://cdn.jsdelivr.net/npm/ldrs/dist/auto/quantum.js"></script> |     <script type="module" src="https://cdn.jsdelivr.net/npm/ldrs/dist/auto/quantum.js"></script> | ||||||
|     <link href="" rel="stylesheet"> |     <!-- Dein Stylesheet --> | ||||||
|     <style> |     <link rel="stylesheet" href="styles.css"> | ||||||
|         @font-face { |  | ||||||
|             font-family: "Titillium"; |  | ||||||
|             src: url("/Titillium-Web-Regular.ttf"); |  | ||||||
|         } |  | ||||||
|         body, html { |  | ||||||
|             font-family: 'Titillium'; |  | ||||||
|             height: 100%; |  | ||||||
|             margin: 0; |  | ||||||
|             display: flex; |  | ||||||
|             flex-direction: column; |  | ||||||
|             align-items: center; |  | ||||||
|             text-align: center; |  | ||||||
|             background-color: #e6f7ff; /* Leichtes Blau */ |  | ||||||
|         } |  | ||||||
|         h1 { |  | ||||||
|             text-align: center; |  | ||||||
|         } |  | ||||||
|         h2 { |  | ||||||
|             text-align: center; |  | ||||||
|         } |  | ||||||
|         .loader-container { |  | ||||||
|             display: none; |  | ||||||
|             justify-content: center; |  | ||||||
|             align-items: center; |  | ||||||
|             height: 100%; |  | ||||||
|             width: 100%; |  | ||||||
|             position: fixed; |  | ||||||
|             top: 0; |  | ||||||
|             left: 0; |  | ||||||
|             background-color: rgba(173, 216, 230, 0.8); /* Halbtransparenter bläulicher Hintergrund */ |  | ||||||
|             z-index: 9999; /* Sicherstellen, dass die Ladeanimation immer im Vordergrund ist */ |  | ||||||
|         } |  | ||||||
|         .loading .loader-container { |  | ||||||
|             display: flex; |  | ||||||
|         } |  | ||||||
|         .button { |  | ||||||
|             padding: 16px 32px; /* Doppelte Größe */ |  | ||||||
|             border-radius: 8px; |  | ||||||
|             background: linear-gradient(to bottom, #007bff, #0056b3); /* Blau */ |  | ||||||
|             box-shadow: 0 2px 4px rgba(0,0,0,0.7); |  | ||||||
|             transition: all 0.2s; |  | ||||||
|             display: flex; |  | ||||||
|             align-items: center; |  | ||||||
|             gap: 8px; |  | ||||||
|             margin-top: 20px; /* Abstand zum oberen Inhalt */ |  | ||||||
|         } |  | ||||||
|         .button:hover { |  | ||||||
|             box-shadow: 0 4px 8px rgba(0,0,0,0.6); |  | ||||||
|         } |  | ||||||
|         .button:active { |  | ||||||
|             box-shadow: 0 0px 1px rgba(0,0,0,0.8); |  | ||||||
|             transform: scale(0.995); |  | ||||||
|         } |  | ||||||
|         .button-text { |  | ||||||
|             font-weight: 600; |  | ||||||
|             color: white; |  | ||||||
|             font-size: 1.5em; /* Textgröße anpassen */ |  | ||||||
|         } |  | ||||||
|     </style> |  | ||||||
| </head> | </head> | ||||||
| <body> | <body> | ||||||
|     <!-- Ladeanimation --> |     <!-- Ladeanimation --> | ||||||
| @ -79,33 +20,34 @@ | |||||||
|  |  | ||||||
|     <h1><img src="/icons/Controller.png" height="150svh"><br/>Creative Crafter</h1> |     <h1><img src="/icons/Controller.png" height="150svh"><br/>Creative Crafter</h1> | ||||||
|     <h1>Flappy Witch</h1> |     <h1>Flappy Witch</h1> | ||||||
|     <div align='center'><img src="/programmieren/spiele/Flappy-Witch/logo.png" width="250vh"></div> |     <div align='center'> | ||||||
|  |         <img src="/programmieren/spiele/Flappy-Witch/logo.png" width="250"> | ||||||
|  |     </div> | ||||||
|     <br/> |     <br/> | ||||||
|     <div align='center'><a href="/programmieren/spiele/Flappy-Witch/FlappyWitch.html"> |     <div align='center'> | ||||||
|  |         <a href="/programmieren/spiele/Flappy-Witch/FlappyWitch.html"> | ||||||
|             <button class="button"> |             <button class="button"> | ||||||
|                 <span class="button-text">Play</span> |                 <span class="button-text">Play</span> | ||||||
|             </button> |             </button> | ||||||
|         </a> |         </a> | ||||||
|         <br/><br/> |         <br/><br/> | ||||||
|     <button class="button" onclick="navigator.clipboard.writeText('www.creative-crafter.de/programmieren/spiele/Flappy-Witch/'); alert('copied')"> |         <!-- Neuer Teilen-Button --> | ||||||
|         <div class="icon-container"> |         <div class="tooltip-container"> | ||||||
|             <svg viewBox="0 0 24 24" fill="none" class="icon"> |             <div class="button-content" onclick="shareText()"> | ||||||
|                 <path d="M12 2v20m10-10H2" stroke="currentColor" stroke-width="2"/> |                 <span class="text">Teilen</span> | ||||||
|                 <path class="bm" d="M3 3h18v18H3z" stroke="currentColor"/> |                 <svg class="share-icon" viewBox="0 0 24 24"> | ||||||
|  |                     <!-- Dein SVG-Icon hier --> | ||||||
|  |                     <path d="M14 9V5l7 7-7 7v-4H8v-6h6zM5 5v14"></path> | ||||||
|                 </svg> |                 </svg> | ||||||
|             </div> |             </div> | ||||||
|         <div class="content"> |  | ||||||
|             <div class="letters"> |  | ||||||
|                 <span data-label="C" style="--i:0;">C</span> |  | ||||||
|                 <span data-label="o" style="--i:1;">o</span> |  | ||||||
|                 <span data-label="p" style="--i:2;">p</span> |  | ||||||
|                 <span data-label="y" style="--i:3;">y</span> |  | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
|     </button> |  | ||||||
|     </div> |  | ||||||
|     <br/><br/><br/> |     <br/><br/><br/> | ||||||
|     <div align='center'><img src="/programmieren/spiele/Flappy-Witch/FlappyWitch1.png" width="250vh"> <img src="/programmieren/spiele/Flappy-Witch/FlappyWitch2.png" width="250vh"></div> |     <div align='center'> | ||||||
|  |         <img src="/programmieren/spiele/Flappy-Witch/FlappyWitch1.png" width="250">  | ||||||
|  |         <img src="/programmieren/spiele/Flappy-Witch/FlappyWitch2.png" width="250"> | ||||||
|  |     </div> | ||||||
|  |     <!-- 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'); | ||||||
| @ -113,7 +55,26 @@ | |||||||
|         window.addEventListener('load', () => { |         window.addEventListener('load', () => { | ||||||
|             document.body.classList.remove('loading'); |             document.body.classList.remove('loading'); | ||||||
|         }); |         }); | ||||||
|  |  | ||||||
|  |         // Teilen-Funktion | ||||||
|  |         function shareText() { | ||||||
|  |             const shareData = { | ||||||
|  |                 title: 'Flappy Witch', | ||||||
|  |                 text: 'Schau dir dieses fantastische Spiel an!', | ||||||
|  |                 url: 'https://www.creative-crafter.de/programmieren/spiele/Flappy-Witch/' | ||||||
|  |             }; | ||||||
|  |  | ||||||
|  |             if (navigator.share) { | ||||||
|  |                 navigator.share(shareData) | ||||||
|  |                     .then(() => console.log('Erfolgreich geteilt')) | ||||||
|  |                     .catch((error) => console.log('Fehler beim Teilen', error)); | ||||||
|  |             } else { | ||||||
|  |                 // Fallback für Browser ohne Web Share API | ||||||
|  |                 // Öffnet einen Dialog zum Auswählen der App | ||||||
|  |                 const shareUrl = 'whatsapp://send?text=' + encodeURIComponent(shareData.text + ' ' + shareData.url); | ||||||
|  |                 window.open(shareUrl, '_blank'); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|     </script> |     </script> | ||||||
| </body> | </body> | ||||||
| </html> | </html> | ||||||
| ```[_{{{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) |  | ||||||
		Reference in New Issue
	
	Block a user
	 matt
					matt