diff --git a/content/_index.md b/content/_index.md index 76773102..58bfd582 100644 --- a/content/_index.md +++ b/content/_index.md @@ -82,7 +82,7 @@ Reject surveillance - embrace your freedom. ## Who is paying for the free app? -The app is free for everyone. Please [donate](@/donate.md) to support us! +The app is free for everyone. Please [donate](@/donate/index.md) to support us! ## Beta diff --git a/content/donate/donate.png b/content/donate/donate.png new file mode 100644 index 00000000..31cab0ed Binary files /dev/null and b/content/donate/donate.png differ diff --git a/content/donate.md b/content/donate/index.md similarity index 86% rename from content/donate.md rename to content/donate/index.md index bdad540c..7ca0bf7a 100644 --- a/content/donate.md +++ b/content/donate/index.md @@ -1,10 +1,23 @@ --- title: Feed your developers and Organic Maps servers! description: Donate to support the development of our free application +extra: + preview_image: donate/donate.png --- We are looking for your help to fund the further development of the Organic Maps application. + + ## Why? Organic Maps promotes the new ideology, which is unique on the market. Our app is entirely free from trackers and other nasty stuff: diff --git a/sass/main.scss b/sass/main.scss index 0efeadd2..7c8dc585 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -146,3 +146,10 @@ footer { #bottom_menu { margin-bottom: 1em; } + +.donate_buttons { + display: flex; + a { + margin: 0 1em 0 1em; + } +} diff --git a/static/images/github.svg b/static/images/github.svg new file mode 100644 index 00000000..f8481b0b --- /dev/null +++ b/static/images/github.svg @@ -0,0 +1,3 @@ + diff --git a/static/images/liberapay.svg b/static/images/liberapay.svg new file mode 100644 index 00000000..23a0df20 --- /dev/null +++ b/static/images/liberapay.svg @@ -0,0 +1 @@ + diff --git a/templates/base.html b/templates/base.html index c5ac8fab..ea024785 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,7 +14,11 @@ - + {%- set preview_image = 'images/screenshots/prague.jpg' -%} + {%- if resource.extra.preview_image -%} + {%- set preview_image = resource.extra.preview_image -%} + {%- endif %} + @@ -42,25 +46,7 @@