diff --git a/ozgursozluk/static/btc.png b/ozgursozluk/static/btc.png new file mode 100644 index 0000000..bb78bff Binary files /dev/null and b/ozgursozluk/static/btc.png differ diff --git a/ozgursozluk/static/xmr.png b/ozgursozluk/static/xmr.png new file mode 100644 index 0000000..f34881e Binary files /dev/null and b/ozgursozluk/static/xmr.png differ diff --git a/ozgursozluk/templates/base.html b/ozgursozluk/templates/base.html index 48801a9..9068cee 100644 --- a/ozgursozluk/templates/base.html +++ b/ozgursozluk/templates/base.html @@ -21,6 +21,7 @@
random settings + donate source code
diff --git a/ozgursozluk/templates/donate.html b/ozgursozluk/templates/donate.html new file mode 100644 index 0000000..afc6dd2 --- /dev/null +++ b/ozgursozluk/templates/donate.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +{% block title %}donate - özgürsözlük{% endblock %} +{% block meta %} + + +{% endblock %} +{% block main %} + +
+

+ donate to the developer +


+ bitcoin (btc): +
+ bc1q7gfc2azv79a9ttvreumkcfmdeyfqgc369m0xq2 +

+ +

+ monero (xmr): +
+ 48Z3KoMWRPq7i185KKKjiXNkDgTQScUJH479BmEWkFjfPwFLtaxuxhPaSYTJrq3XhKTnWayTQCod78T16gTXyhNR625XLsH +

+ +

+
+{% endblock %} diff --git a/ozgursozluk/views.py b/ozgursozluk/views.py index e8dfac7..3996171 100644 --- a/ozgursozluk/views.py +++ b/ozgursozluk/views.py @@ -86,6 +86,11 @@ def random(): return redirect(url_for("entry", id=randint(1, 500_000_000))) +@ozgursozluk.app.route("/donate") +def donate(): + return render_template("donate.html") + + @ozgursozluk.app.route("/settings", methods=["GET", "POST"]) def settings(): """Settings route."""