Use FastAPI instead of Django

This commit is contained in:
Joakim Hellsén 2024-05-21 02:43:53 +02:00
commit b462be40af
No known key found for this signature in database
GPG key ID: D196AE66FEBE1DC9
43 changed files with 1105 additions and 1688 deletions

34
templates/contact.html Normal file
View file

@ -0,0 +1,34 @@
{% extends "base.html" %}
{% block content %}
<h2>Contact</h2>
<p>
If you have any questions, suggestions, or feedback, feel free to contact me. I am always happy to help.
<br>
You can contact me through the following methods:
</p>
<p>
<ul>
<li>
<a href="https://github.com/TheLovinator1/FeedVault.se/issues">GitHub issues</a>
</li>
<li>
<a href="mailto:tlovinator@gmail.com">tlovinator@gmail.com</a>
</li>
<li>TheLovinator#9276 on Discord</li>
<li>Use the form below to send me a message</li>
</ul>
</p>
<h3>Send a message</h3>
<form method="post" action='{{ url_for("contact") }}'>
<p>
<label for="message">Message</label>
<textarea id="message"
name="message"
rows="4"
cols="50"
required
placeholder="Enter your message"></textarea>
</p>
<button type="submit">Send message</button>
</form>
{% endblock content %}