From 7a456f536f34e66ddf9882bcdfd22bb84dd861b3 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Sat, 27 Jul 2024 18:18:51 +0200 Subject: [PATCH] chore: replace product links --- src/data/site.js | 2 -- src/data/translations/de/index.js | 2 +- src/data/translations/en/index.js | 2 +- src/icons/bitcoin.svg | 1 - src/icons/ethereum.svg | 1 - src/includes/colophon-donation.njk | 28 ------------------------- src/includes/icons.svg | 2 +- src/includes/recommendations-books.njk | 6 +++--- src/includes/recommendations-movies.njk | 6 +++--- src/utils/shortcodes.js | 8 +++---- 10 files changed, 13 insertions(+), 45 deletions(-) delete mode 100644 src/icons/bitcoin.svg delete mode 100644 src/icons/ethereum.svg diff --git a/src/data/site.js b/src/data/site.js index 438f29b..657ce4e 100644 --- a/src/data/site.js +++ b/src/data/site.js @@ -7,13 +7,11 @@ module.exports = { animation: `data-sal=${animation} data-sal-duration=${duration} data-sal-easing=${easing}`, animationDelay: `data-sal=${animation} data-sal-duration=${duration} data-sal-delay=${delay} data-sal-easing=${easing}`, author: 'Stefan Imhoff', - bitcoin: 'bc1quzvqw66khsnrmqh0ds8dprnrtcxfytfa3x2x7m', buildTime: new Date(), description: { de: 'Ninja, Ninjutsu & Kampfkunst', en: 'Ninja, Ninjutsu & Martial Arts', }, - ethereum: '0x9e177CA8eD880991cb976aFbcC409c5c15Fa0080', faviconPath: '/assets/images/branding/favicons/', isProduction: process.env.ELEVENTY_ENV === 'production', languages: [ diff --git a/src/data/translations/de/index.js b/src/data/translations/de/index.js index 8a5e18e..4e5643c 100644 --- a/src/data/translations/de/index.js +++ b/src/data/translations/de/index.js @@ -59,7 +59,7 @@ module.exports = { }, donation: { headline: 'Spenden', - text: 'Dieses Buch ist kostenlos, werbefrei und hat mich im Laufe der Zeit viele hundert Stunden Arbeit gekostet.\n\nWenn es dir gefallen hat, freue ich mich über Lob und Anerkennung. Du kannst mich unterstützen, indem du etwas aus meinen [Empfehlungen](/empfehlungen/) kaufst oder mir eine kleine Spende zukommen lässt.', + text: 'Dieses Buch ist kostenlos, werbefrei und hat mich im Laufe der Zeit viele hundert Stunden Arbeit gekostet.\n\nWenn es dir gefallen hat, freue ich mich über Lob und Anerkennung. Du kannst mich unterstützen, indem mir eine kleine Spende zukommen lässt.', paypal: 'Spenden mit PayPal', }, tech: { diff --git a/src/data/translations/en/index.js b/src/data/translations/en/index.js index d0735b9..8e800e3 100644 --- a/src/data/translations/en/index.js +++ b/src/data/translations/en/index.js @@ -59,7 +59,7 @@ module.exports = { }, donation: { headline: 'Donations', - text: 'This book is free, ad-free and has cost me many hundreds of hours of work over time.\n\nIf you enjoyed it, I welcome praise and recognition. You can support me by buying something from my [recommendations](/en/recommendations/) or by making a small donation.', + text: 'This book is free, ad-free and has cost me many hundreds of hours of work over time.\n\nIf you enjoyed it, I welcome praise and recognition. You can support me by making a small donation.', paypal: 'Donate With PayPal', }, tech: { diff --git a/src/icons/bitcoin.svg b/src/icons/bitcoin.svg deleted file mode 100644 index 6873da7..0000000 --- a/src/icons/bitcoin.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/ethereum.svg b/src/icons/ethereum.svg deleted file mode 100644 index b522435..0000000 --- a/src/icons/ethereum.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/includes/colophon-donation.njk b/src/includes/colophon-donation.njk index 641ec5c..f1f0679 100644 --- a/src/includes/colophon-donation.njk +++ b/src/includes/colophon-donation.njk @@ -5,34 +5,6 @@ {{ i18n[locale].colophon.donation.text | markdown | safe }}