Added Contact and Donate Page

This commit is contained in:
pg 2022-03-18 10:43:30 +01:00
parent 622d648d31
commit eaf87b24f2
4 changed files with 56 additions and 3 deletions

View File

@ -40,8 +40,13 @@ def index():
@app.route("/contact")
def contact():
return render_template('contact.html')
@app.route("/donate")
def donate():
return render_template('donate.html')
@ -94,8 +99,8 @@ def get_evererything(steamid):
if __name__ == "__main__": if __name__ == "__main__":
#app.run(host="127.0.0.1", port=8080, debug=True) app.run(host="127.0.0.1", port=8080, debug=True)
serve(app, host='0.0.0.0', port=8080) #serve(app, host='0.0.0.0', port=8080)

View File

@ -60,6 +60,18 @@
.input-form-container textarea.status_screen_input { .input-form-container textarea.status_screen_input {
resize: none; resize: none;
} }
.footer {
position:absolute;
bottom:0;
width:100%;
background: #212121;
margin 0 auto;
}
.text-muted{
margin 0 auto;
}
</style> </style>
</head> </head>
<body> <body>
@ -89,6 +101,11 @@
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</div> </div>
<footer class="footer">
<div class="container">
<a href="/contact" class="text-muted"> Contact</a>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
</body> </body>
</html> </html>

View File

@ -0,0 +1,17 @@
{% extends "base.html" %}
{% block titel %}Faceit Elo Search by HerZ{% endblock %}
{% block content %}
<div class="card" style="margin: 0 auto; width: 40%;">
<div class="card-body">
<h5 class="card-title">Contact</h5>
<p class="card-text">You can reach out to me via the following methods</p>
</div>
<ul class="list-group list-group-flush" >
<li class="list-group-item" style="background-color: #424242; color: #ffffff;">Philipp Glaser</li>
<li class="list-group-item" style="background-color: #424242; color: #ffffff;">Fließstraße 23, 67158 Ellerstadt</li>
<li class="list-group-item" style="background-color: #424242; color: #ffffff;">mail@philipp-glaser.de</li>
<li class="list-group-item" style="background-color: #424242; color: #ffffff;">+4917663057697</li>
</ul>
</div>
{% endblock %}

View File

@ -0,0 +1,14 @@
{% extends "base.html" %}
{% block titel %}Faceit Elo Search by HerZ{% endblock %}
{% block content %}
<div class="card" style="margin: 0 auto; width: 40%;">
<div class="card-body">
<h5 class="card-title">Donate</h5>
<p class="card-text">If u want to support this project u can donate some change via my StreamElements page</p>
</div>
<ul class="list-group list-group-flush" >
<li class="list-group-item" style="background-color: #424242; color: #ffffff;"><a href="https://streamelements.com/herzgegenfame/tip" target="_blank">HerZ StreamElements</li>
</ul>
</div>
{% endblock %}