oliverbooth.dev/OliverBooth/Pages/Contact/Index.cshtml

64 lines
2.9 KiB
Plaintext
Raw Normal View History

@page
2023-08-05 20:54:55 +01:00
@{
ViewData["Title"] = "Contact";
}
<h1 class="display-4">Contact</h1>
<p>
Thanks for getting in touch! While I do my best to read to all inquiries, I cannot guarantee that I will be able to
respond to your message. Nevertheless, I appreciate you taking the time to reach out to me and I will respond if I
can.
</p>
2023-10-01 14:58:15 +01:00
<div class="alert alert-warning">
<p class="lead"><i class="fa-solid fa-triangle-exclamation"></i> Spam warning</p>
<p>
In the short time that this site has been live, I have received a considerable amount of spam that I suspect is
automated. As such, I added background reCaptcha validation to this form to minimise the amount of
bot-written junk I receive. However, some spam still gets through - that means there are humans reading this.
</p>
<p>
I am politely asking that you respect my inbox and keep your unsolicited advertising away. This is a simple
request.
</p>
<p>
If you send me any kind of spam after this, you have demonstrated that you do not have the basic human decency
to respect my wishes or my privacy, and you have lost the privilege for me to respect yours. I
<strong>will</strong> block your email address and report you to your email provider. I will also begin to
maintain a public blacklist of spammers, so that others may do the same. You will lose all credibility, and you
<strong>will</strong> be publicly shamed for it.
</p>
<p>
This <strong>does not apply</strong> to legitimate businesses who are offering something genuine
<span style="text-decoration: underline;">to me specifically</span>, nor to individuals who are interested in my
services.
</p>
</div>
<form method="post" asp-controller="Contact" asp-action="HandleForm">
<input type="hidden" name="contact-type" value="other">
<div class="form-group" style="margin-top: 10px;">
<label for="name">Your Name</label>
<input type="text" class="form-control" id="name" name="name" placeholder="Who are you?" required>
</div>
<div class="form-group" style="margin-top: 10px;">
<label for="email">Your Email Address</label>
<input type="email" class="form-control" id="email" name="email" placeholder="How can I reach you?" required>
</div>
<div class="form-group" style="margin-top: 10px;">
<label for="subject">Subject</label>
<input type="text" class="form-control" id="subject" name="subject" placeholder="What's the gist?" maxlength="100" required>
</div>
<div class="form-group" style="margin-top: 10px;">
<label for="message">Message</label>
<textarea class="form-control" id="message" name="message" rows="5" required placeholder="What's on your mind?"></textarea>
</div>
<recaptcha/>
<button class="btn btn-primary" style="margin-top: 10px;">Submit</button>
</form>