diff options
-rw-r--r-- | content/donate.es.md | 3 | ||||
-rw-r--r-- | content/donate.md | 3 | ||||
-rw-r--r-- | content/donate.ru.md | 3 | ||||
-rw-r--r-- | sass/css/yaroslavps.scss | 5 | ||||
-rw-r--r-- | static/img/btc.png | bin | 0 -> 591 bytes | |||
-rw-r--r-- | static/img/xmr.png | bin | 0 -> 549 bytes | |||
-rw-r--r-- | static/svg/icons/btc.svg | 3 | ||||
-rw-r--r-- | static/svg/icons/xmr.svg | 3 | ||||
-rw-r--r-- | templates/donate.html | 55 |
9 files changed, 75 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..9637605 --- /dev/null +++ b/static/img/btc.png diff --git a/static/img/xmr.png b/static/img/xmr.png Binary files differnew file mode 100644 index 0000000..5a8c4b2 --- /dev/null +++ b/static/img/xmr.png 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" aria-label="Bitcoin" role="img" viewBox="0 0 64 64"> +<path fill="#f7931a" d="m63.033,39.744c-4.274,17.143-21.637,27.576-38.782,23.301-17.138-4.274-27.571-21.638-23.295-38.78,4.272-17.145,21.635-27.579,38.775-23.305,17.144,4.274,27.576,21.64,23.302,38.784z"/> +<path fill="#FFF" d="m46.103,27.444c0.637-4.258-2.605-6.547-7.038-8.074l1.438-5.768-3.511-0.875-1.4,5.616c-0.923-0.23-1.871-0.447-2.813-0.662l1.41-5.653-3.509-0.875-1.439,5.766c-0.764-0.174-1.514-0.346-2.242-0.527l0.004-0.018-4.842-1.209-0.934,3.75s2.605,0.597,2.55,0.634c1.422,0.355,1.679,1.296,1.636,2.042l-1.638,6.571c0.098,0.025,0.225,0.061,0.365,0.117-0.117-0.029-0.242-0.061-0.371-0.092l-2.296,9.205c-0.174,0.432-0.615,1.08-1.609,0.834,0.035,0.051-2.552-0.637-2.552-0.637l-1.743,4.019,4.569,1.139c0.85,0.213,1.683,0.436,2.503,0.646l-1.453,5.834,3.507,0.875,1.439-5.772c0.958,0.26,1.888,0.5,2.798,0.726l-1.434,5.745,3.511,0.875,1.453-5.823c5.987,1.133,10.489,0.676,12.384-4.739,1.527-4.36-0.076-6.875-3.226-8.515,2.294-0.529,4.022-2.038,4.483-5.155zm-8.022,11.249c-1.085,4.36-8.426,2.003-10.806,1.412l1.928-7.729c2.38,0.594,10.012,1.77,8.878,6.317zm1.086-11.312c-0.99,3.966-7.1,1.951-9.082,1.457l1.748-7.01c1.982,0.494,8.365,1.416,7.334,5.553z"/></svg> 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" aria-label="Monero" role="img" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> +<path d="M127.9983,0.0005 C57.3183,0.0005 0.0003,57.3155 0.0003,127.9975 C0.0003,142.1255 2.2893,155.7145 6.5183,168.4275 L44.7993,168.4275 L44.7993,60.7335 L127.9983,143.9335 L211.1973,60.7335 L211.1973,168.4275 L249.4793,168.4275 C253.7103,155.7145 256.0003,142.1255 256.0003,127.9975 C256.0003,57.3155 198.6813,0.0005 127.9983,0.0005" fill="#FF6600"></path> +<path d="M108.8673,163.0617 L72.5573,126.7507 L72.5573,194.5157 L58.6773,194.5157 L44.7973,194.5157 L18.6233,194.5157 C41.0923,231.3787 81.6743,255.9967 127.9963,255.9967 C174.3183,255.9967 214.9033,231.3787 237.3703,194.5157 L211.1933,194.5157 L186.3673,194.5157 L183.4373,194.5157 L183.4373,126.7507 L147.1263,163.0617 L127.9963,182.1897 L108.8693,163.0617 L108.8673,163.0617 Z" fill="#4C4C4C"></path></svg> 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 %} + <div class="landing-page-container"> + <h1> + {% if lang == "ru" %} + Пожертвуете деньги Ярославу + {% elif lang == "es" %} + Envía una propina a Yaroslav + {% else %} + Leave Yaroslav a tip + {% endif %} + </h1> + <a href="/"> + {% if lang == "ru" %} + Вернуться на главную + {% elif lang == "es" %} + Regresar a la página de inicio + {% else %} + Go back to home page + {% endif %} + </a> + <p> + {% 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 %} + </p> + <h2> + <span class="icon"> + <img src="{{ get_url(path="svg/icons/btc.svg") }}"/> + </span> + Bitcoin + </h2> + <img class="cryptoqr" src="{{ get_url(path="img/btc.png") }}"> + <pre>bc1q9dxegghrk4qlc9k8m5wrsy7ca7edcqha5k0hyq</pre> + <h2> + <span class="icon"> + <img src="{{ get_url(path="svg/icons/xmr.svg") }}"/> + </span> + Monero + </h2> + <img class="cryptoqr" src="{{ get_url(path="img/xmr.png") }}"> + <pre>48PaKg36GV2XzSVdbij8vviUfWhqAGVJGVCw6Qp9cjXrXiETyyhrJKiBFvhVodTr1qKfaANByoaCfNBZ3FdLrZQhBTBNMYV</pre> + </div> +{% endblock %} |