2023-09-22 14:57:04 +01:00
|
|
|
@page
|
2024-05-05 02:18:20 +01:00
|
|
|
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
2023-09-22 14:57:04 +01:00
|
|
|
@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>
|
2023-09-22 14:57:04 +01:00
|
|
|
<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>
|
|
|
|
}
|