Basic contact page
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
{% include 'header.html' %}
|
||||
<main>
|
||||
<main id="contact-main">
|
||||
<h2>Contact Me</h2>
|
||||
<p>Got a question or want to talk about something on this site? Drop me a message below:</p>
|
||||
|
||||
<form action="#" method="post">
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" name="name">
|
||||
<input type="text" name="name" required>
|
||||
<label for="email">Email Address:</label>
|
||||
<input type="email" name="email">
|
||||
<input type="email" name="email" required>
|
||||
<label for="message">Message:</label>
|
||||
<textarea name="message"></textarea>
|
||||
<textarea name="message" rows="10"></textarea>
|
||||
<div class="cf-turnstile" data-sitekey="0x4AAAAAAA45FeR26JuvqKy7"></div>
|
||||
<input type="submit" name="submit" value="Submit">
|
||||
</form>
|
||||
{% if user_message is not none %}
|
||||
<p id="{{ 'contact-error' if error else 'contact-message' }}">{{ user_message }}</p>
|
||||
{% endif %}
|
||||
</main>
|
||||
{% include 'footer.html' %}
|
@@ -12,12 +12,14 @@
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<script src="/static/js/filter_projects.js"></script>
|
||||
<script src="/static/js/update_copyright.js"></script>
|
||||
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav id="top-nav">
|
||||
<a href="/">About</a>
|
||||
<a href="/projects/">Projects</a>
|
||||
<a href="/contact/">Contact</a>
|
||||
</nav>
|
||||
<div id="logo-container">
|
||||
<div id="logo">
|
||||
|
Reference in New Issue
Block a user