26 lines
838 B
Plaintext
26 lines
838 B
Plaintext
|
@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>
|
||
|
<p>Sorry, something went wrong. This has been logged and if 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>
|
||
|
}
|