From d95c6f1747083230b306c32235585b65bfc91ff0 Mon Sep 17 00:00:00 2001 From: Andreas Fertig Date: Mon, 6 Oct 2025 16:32:49 +0200 Subject: [PATCH 1/2] Added dedicated supporters page and first corporate sponsor. --- app/__init__.py | 12 +++ app/static/about.html | 4 +- app/static/css/s.css | 139 ++++++++++++++++++++++++-- app/static/img/sponsor-getcracked.svg | 4 + app/templates/index.html | 16 ++- app/templates/sponsors.html | 6 ++ app/templates/supporters.html | 94 +++++++++++++++++ 7 files changed, 259 insertions(+), 16 deletions(-) create mode 100644 app/static/img/sponsor-getcracked.svg create mode 100644 app/templates/sponsors.html create mode 100644 app/templates/supporters.html diff --git a/app/__init__.py b/app/__init__.py index a1fc46c..210295a 100755 --- a/app/__init__.py +++ b/app/__init__.py @@ -344,6 +344,18 @@ def version(): return response #------------------------------------------------------------------------------ +@app.route("/supporters", methods=['GET']) +def supporters(): + patreons ='' + + if os.path.exists('patreons.txt'): + patreons = open('patreons.txt').read()#.splitlines() + + response = make_response(render_template('supporters.html', **locals())) + + return response +#------------------------------------------------------------------------------ + def getDbName(): return 'urls.db' #------------------------------------------------------------------------------ diff --git a/app/static/about.html b/app/static/about.html index c40768c..d499512 100644 --- a/app/static/about.html +++ b/app/static/about.html @@ -103,9 +103,7 @@

About

You can find the source of the web front-end and the tool C++ Insights on Github.

-

If you like to support the project, consider submitting - a patch. Another alternative is to become a Patreon - supporter.

+

If you like to support the project, checkout the supporters page.

Contact: andy at cppinsights.io