Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature page #64

Merged
merged 9 commits into from
Nov 7, 2024
3 changes: 3 additions & 0 deletions SharpSite.Web/Components/PageNotFound.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>@Localizer["sharpsite_pagenotfound"]</p>

<p><a href="/">@Localizer["sharpsite_backtohome"]</a></p>
2 changes: 1 addition & 1 deletion SharpSite.Web/Components/Pages/DisplayPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
else
{
<p>Page not found</p>
<PageNotFound />
}

@code {
Expand Down
2 changes: 1 addition & 1 deletion SharpSite.Web/Locales/SharedResource.en-US.resx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<value>Packages Used</value>
<comment/>
</data>
<data name="sharpsite_backtohome" xml:space="preserve">
<data name="" xml:space="preserve">
<value>Back to home</value>
<comment/>
</data>
Expand Down