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

26 lines
864 B
Plaintext
Raw Permalink Normal View History

@page
@model OliverBooth.Pages.Contact.Result
@{
ViewData["Title"] = "Contact";
}
@if (Model.WasSuccessful)
{
<h1 class="display-4 text-success"><i class="fa-solid fa-circle-check"></i> Sent successfully!</h1>
<p>Thank you for getting in touch. I will get back to you as soon as possible.</p>
<p>
In the meantime, why not check out my <a asp-page="/Blog/Index">blog</a> or
<a asp-page="/Projects/Index">portfolio</a>?
</p>
}
else
{
<h1 class="display-4 text-danger"><i class="fa-solid fa-circle-xmark"></i> A problem occured</h1>
2023-09-25 19:57:47 +01:00
<p>Sorry, something went wrong. This has been logged and if it's a problem on my end, I'll get to it soon.</p>
<p>
You can <a asp-page="Index">try again</a>, or check out my <a asp-page="/Blog/Index">blog</a> or
<a asp-page="/Projects/Index">portfolio</a>!
</p>
}