Add the Support page.
This commit is contained in:
parent
5d349deab2
commit
41e5f38d19
5 changed files with 34 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
@ -52,6 +52,11 @@ def sidebar(v):
|
||||||
def rules(v):
|
def rules(v):
|
||||||
return render_template('rules.html', v=v)
|
return render_template('rules.html', v=v)
|
||||||
|
|
||||||
|
@app.get('/support')
|
||||||
|
@auth_desired
|
||||||
|
def support(v):
|
||||||
|
return render_template('support.html', v=v)
|
||||||
|
|
||||||
@app.get("/stats")
|
@app.get("/stats")
|
||||||
@auth_required
|
@auth_required
|
||||||
@cache.memoize(timeout=86400, make_name=make_name)
|
@cache.memoize(timeout=86400, make_name=make_name)
|
||||||
|
|
|
@ -118,6 +118,8 @@
|
||||||
|
|
||||||
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="https://github.com/themotte/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source Code</a>
|
<a class="dropdown-item" rel="nofollow noopener noreferrer" href="https://github.com/themotte/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source Code</a>
|
||||||
|
|
||||||
|
<a class="dropdown-item" href="/support"><i class="fas fa-hippo fa-fw mr-3"></i>Support {{SITE_NAME}}</a>
|
||||||
|
|
||||||
<a class="dropdown-item" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact Us</a>
|
<a class="dropdown-item" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact Us</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="px-2">
|
<div class="px-2">
|
||||||
|
@ -165,6 +167,8 @@
|
||||||
|
|
||||||
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://github.com/themotte/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source Code</a>
|
<a class="nav-item nav-link" rel="nofollow noopener noreferrer" href="https://github.com/themotte/rDrama"><i class="fab fa-github fa-fw mr-3"></i>Source Code</a>
|
||||||
|
|
||||||
|
<a class="nav-item nav-link" href="/support"><i class="fas fa-hippo fa-fw mr-3"></i>Support {{SITE_NAME}}</a>
|
||||||
|
|
||||||
<a class="nav-item nav-link" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact Us</a>
|
<a class="nav-item nav-link" href="/contact"><i class="fas fa-file-signature fa-fw mr-3"></i>Contact Us</a>
|
||||||
|
|
||||||
{% include "nav_secondary.html" %}
|
{% include "nav_secondary.html" %}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
<div class="mx-4 mt-2 mb-6">
|
<div class="mx-4 mt-2 mb-6">
|
||||||
<h1 class="text-muted text-uppercase">Rules</h5>
|
<h1 class="text-muted text-uppercase">Rules</h1>
|
||||||
|
|
||||||
<div id="sidebar" class="my-3">
|
<div id="sidebar" class="my-3">
|
||||||
<div id="toc_container">
|
<div id="toc_container">
|
||||||
|
|
23
files/templates/support.html
Normal file
23
files/templates/support.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{% extends "default.html" %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
<title>{{SITE_TITLE}} - Support Us</title>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<pre>
|
||||||
|
|
||||||
|
|
||||||
|
</pre>
|
||||||
|
<div class="mx-4 mt-2 mb-6">
|
||||||
|
<h1 class="text-muted text-uppercase">Support the Site</h1>
|
||||||
|
|
||||||
|
<p>Running your own site, and maintaining a viable community on that site, is difficult. We're asking for funding, first to help with server costs. Funds past that amount will be used to help grow the site. There's a lot of paths this could take, including advertising, hiring an editor to work on a Best Of page, increasing available development time for requested features, and doubtless many more ideas proposed by our userbase. None of this can happen without support.</p>
|
||||||
|
|
||||||
|
<h2 class="text-center"><a href="https://www.patreon.com/themotte">Support The Motte on Patreon</a> (preferred!)</h2>
|
||||||
|
|
||||||
|
<p class="mt-5 text-center">Contribute ETH: 0xa97e126DCEcC7Ea3AF05d252B49c03ae35547dD9</p>
|
||||||
|
|
||||||
|
<p class="text-center">Contribute BTC: <a href="bitcoin:bc1qnj0mvg90dfawjq3kxq4wdvcq0ejksgyf2m0xnq">bc1qnj0mvg90dfawjq3kxq4wdvcq0ejksgyf2m0xnq</a></p>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue