diff --git a/icons/copy-clipboard.png b/icons/copy-clipboard.png
new file mode 100644
index 0000000..00ee199
Binary files /dev/null and b/icons/copy-clipboard.png differ
diff --git a/icons/copy.svg b/icons/copy.svg
new file mode 100644
index 0000000..6af51b7
--- /dev/null
+++ b/icons/copy.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/email.svg b/icons/email.svg
new file mode 100644
index 0000000..3fbf6a4
--- /dev/null
+++ b/icons/email.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/instagram.svg b/icons/instagram.svg
new file mode 100644
index 0000000..3129cfc
--- /dev/null
+++ b/icons/instagram.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/pinterest.svg b/icons/pinterest.svg
new file mode 100644
index 0000000..95c7c8d
--- /dev/null
+++ b/icons/pinterest.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/telegram-icon.png b/icons/telegram-icon.png
deleted file mode 100644
index 509c0f9..0000000
Binary files a/icons/telegram-icon.png and /dev/null differ
diff --git a/icons/telegram.svg b/icons/telegram.svg
new file mode 100644
index 0000000..c2f0b0b
--- /dev/null
+++ b/icons/telegram.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/whatsapp-icon.png b/icons/whatsapp-icon.png
deleted file mode 100644
index 7bf4689..0000000
Binary files a/icons/whatsapp-icon.png and /dev/null differ
diff --git a/icons/whatsapp.svg b/icons/whatsapp.svg
new file mode 100644
index 0000000..1cfc756
--- /dev/null
+++ b/icons/whatsapp.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/programmieren/spiele/Flappy-Witch/index.html b/programmieren/spiele/Flappy-Witch/index.html
index d58ffe4..660536d 100644
--- a/programmieren/spiele/Flappy-Witch/index.html
+++ b/programmieren/spiele/Flappy-Witch/index.html
@@ -285,13 +285,20 @@
@@ -325,24 +332,46 @@
// Teilen via WhatsApp
function shareViaWhatsApp() {
- const text = encodeURIComponent('Schau dir dieses fantastische Spiel an! https://test.creative-crafter.de/programmieren/spiele/Flappy-Witch/');
+ const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-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 text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
const url = 'https://t.me/share/url?url=' + text;
window.open(url, '_blank');
}
-
+
+ function shareViaPinterest() {
+ const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
+ const url = 'https://pinterest.com/pin/create/button/?url=' + text;
+ window.open(url, '_blank');
+ }
+
+ function shareViaPinterest() {
+ const media = encodeURIComponent('URL_ZU_DEINEM_BILD'); // Ersetze dies durch den tatsächlichen Bild-Link
+ const text = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
+ const url = 'https://pinterest.com/pin/create/button/?url=' + text + '&media=' + media;
+ 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/');
+ const subject = encodeURIComponent('Klick the Witch');
+ const body = encodeURIComponent('Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/');
window.location.href = 'mailto:?subject=' + subject + '&body=' + body;
}
+
+ function copyToClipboard() {
+ const text = 'Check out this fantastic game!https://test.creative-crafter.de/programmieren/spiele/klick-the-witch/';
+ navigator.clipboard.writeText(text).then(function() {
+ alert('Text wurde in die Zwischenablage kopiert!');
+ }, function(err) {
+ alert('Fehler beim Kopieren in die Zwischenablage: ', err);
+ });
+ }
// Schließt das Popup bei Klick außerhalb des Inhalts
window.onclick = function(event) {
diff --git a/programmieren/spiele/index.html b/programmieren/spiele/index.html
index da85fcb..f3a452e 100644
--- a/programmieren/spiele/index.html
+++ b/programmieren/spiele/index.html
@@ -72,9 +72,9 @@
Mehr erfahren
-
Puzzle
-
Teste deine Logik und Problemlösungsfähigkeiten mit unseren herausfordernden Puzzlespielen.