From dcc1a3cdb2d0858a52f5075a91f8987e1decf189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 11 Mar 2021 21:30:41 +0300 Subject: Crude donation page --- content/donate.es.md | 3 +++ content/donate.md | 3 +++ content/donate.ru.md | 3 +++ sass/css/yaroslavps.scss | 5 +++++ static/img/btc.png | Bin 0 -> 591 bytes static/img/xmr.png | Bin 0 -> 549 bytes static/svg/icons/btc.svg | 3 +++ static/svg/icons/xmr.svg | 3 +++ templates/donate.html | 55 +++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 75 insertions(+) create mode 100644 content/donate.es.md create mode 100644 content/donate.md create mode 100644 content/donate.ru.md create mode 100644 static/img/btc.png create mode 100644 static/img/xmr.png create mode 100644 static/svg/icons/btc.svg create mode 100644 static/svg/icons/xmr.svg create mode 100644 templates/donate.html diff --git a/content/donate.es.md b/content/donate.es.md new file mode 100644 index 0000000..7c612d1 --- /dev/null +++ b/content/donate.es.md @@ -0,0 +1,3 @@ ++++ +template = "donate.html" ++++ diff --git a/content/donate.md b/content/donate.md new file mode 100644 index 0000000..7c612d1 --- /dev/null +++ b/content/donate.md @@ -0,0 +1,3 @@ ++++ +template = "donate.html" ++++ diff --git a/content/donate.ru.md b/content/donate.ru.md new file mode 100644 index 0000000..7c612d1 --- /dev/null +++ b/content/donate.ru.md @@ -0,0 +1,3 @@ ++++ +template = "donate.html" ++++ diff --git a/sass/css/yaroslavps.scss b/sass/css/yaroslavps.scss index 51afb2b..e10d200 100644 --- a/sass/css/yaroslavps.scss +++ b/sass/css/yaroslavps.scss @@ -227,6 +227,11 @@ h2 > span.publish-date { color: $white; } +.cryptoqr { + width: 100%; + max-width: 240px; +} + @media (max-width: 768px){ .landing-page-container { font-size: 1em; diff --git a/static/img/btc.png b/static/img/btc.png new file mode 100644 index 0000000..9637605 Binary files /dev/null and b/static/img/btc.png differ diff --git a/static/img/xmr.png b/static/img/xmr.png new file mode 100644 index 0000000..5a8c4b2 Binary files /dev/null and b/static/img/xmr.png differ diff --git a/static/svg/icons/btc.svg b/static/svg/icons/btc.svg new file mode 100644 index 0000000..6368646 --- /dev/null +++ b/static/svg/icons/btc.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/svg/icons/xmr.svg b/static/svg/icons/xmr.svg new file mode 100644 index 0000000..4571aac --- /dev/null +++ b/static/svg/icons/xmr.svg @@ -0,0 +1,3 @@ + + + diff --git a/templates/donate.html b/templates/donate.html new file mode 100644 index 0000000..c27e2bf --- /dev/null +++ b/templates/donate.html @@ -0,0 +1,55 @@ +{% extends "base.html" %} +{% block page %} +
+

+ {% if lang == "ru" %} + Пожертвуете деньги Ярославу + {% elif lang == "es" %} + Envía una propina a Yaroslav + {% else %} + Leave Yaroslav a tip + {% endif %} +

+ + {% if lang == "ru" %} + Вернуться на главную + {% elif lang == "es" %} + Regresar a la página de inicio + {% else %} + Go back to home page + {% endif %} + +

+ {% if lang == "ru" %} + Если вам нравится мой сайт или то, чем я занимаюсь, вы можете мне + отправить пожертвование. У меня временно проблемы с Paypal'ом, + поэтому пока только принимаю пожертвования на Биткойн и Monero. + {% elif lang == "es" %} + Si te gusta mi sitio web o lo que hago en general, puedes dejarme + una propina. Por el momento tengo problemas con Paypal, por lo tanto + sólo estoy recibiendo donaciones a través de Bitcoin y Monero. + {% else %} + If you like my site or any of the things that I do, you can leave me + a tip. Currently I am having some troubles with Paypal, so Bitcoin + and Monero are the only two methods available at the moment for + receiving donations. + {% endif %} +

+

+ + + + Bitcoin +

+ +
bc1q9dxegghrk4qlc9k8m5wrsy7ca7edcqha5k0hyq
+

+ + + + Monero +

+ +
48PaKg36GV2XzSVdbij8vviUfWhqAGVJGVCw6Qp9cjXrXiETyyhrJKiBFvhVodTr1qKfaANByoaCfNBZ3FdLrZQhBTBNMYV
+
+{% endblock %} -- cgit v1.2.3