Added a patreon page to the donations

This commit is contained in:
xemeds
2020-08-18 12:20:07 +03:00
parent 543686dbe8
commit 789afe8554
5 changed files with 18 additions and 11 deletions
-1
View File
@@ -39,7 +39,6 @@ def validate_URL(form, field):
# Add http:// to the beginning of the URL
field.data = "http://" + field.data
class URLForm(FlaskForm):
url = StringField(validators=[DataRequired(),
Length(min=4, max=2000, message="Invalid URL Length"),
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

+14 -8
View File
@@ -119,16 +119,22 @@ body {
margin-bottom: 2vh;
}
.donation h4 {
.donation h3 {
margin-bottom: 4vh;
}
.donation img {
width: 30vh;
padding: 1vh;
background-color: #ffffff;
.donation a:link {
color: #bb86fc;
text-decoration: none;
}
.donation a:visited {
color: #bb86fc;
}
.donation a:hover {
color: #7b59a5;
}
.page-container {
position: relative;
@@ -157,16 +163,16 @@ footer {
display: inline;
}
.footer-list li a:link {
.footer-list a:link {
color: #bb86fc;
text-decoration: none;
}
.footer-list li a:visited {
.footer-list a:visited {
color: #bb86fc;
}
.footer-list li a:hover {
.footer-list a:hover {
color: #7b59a5;
}
+3 -2
View File
@@ -9,8 +9,9 @@
<ul class="donation">
<li><h1>Bitcoin Address</h1></li>
<li><h4>1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR</h4></li>
<li><img src="{{ url_for('static', filename='qr.png') }}" alt="Bitcoin QR Code"></li>
<li><h3>1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR</h3></li>
<li><h1>Patreon</h1></li>
<li><a href="https://www.patreon.com/xemeds" target="_blank"><h3>patreon.com/xemeds</h3></a></li>
</ul>
</body>
{% endblock %}