Skip to content

Commit

Permalink
feat(templates): implement new design of 404 page of Boilerplate #8880 (
Browse files Browse the repository at this point in the history
  • Loading branch information
msynk authored Oct 16, 2024
1 parent 2ed2bef commit dd137fe
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
@attribute [Route("{culture?}" + Urls.NotFoundPage)]
@inherits AppPageBase

<div class="main">
<h1 class="title">404</h1>
<div class="description">
@Localizer[nameof(AppStrings.NotFoundText)]
</div>
</div>
<section>
<BitStack HorizontalAlign="BitAlignment.Center">
<BitImage Src="_content/Boilerplate.Client.Core/images/404.svg" Width="100%" Style="max-width:600px" />
<BitText Typography="BitTypography.H4">@Localizer[nameof(AppStrings.NotFoundText)]</BitText>
<BitButton Href="@Urls.HomePage">@Localizer[nameof(AppStrings.BackToHome)]</BitButton>
</BitStack>
</section>
Original file line number Diff line number Diff line change
@@ -1,30 +1,7 @@
@import '../../Styles/abstracts/_functions.scss';
@import '../../Styles/abstracts/_media-queries.scss';

.main {
display: flex;
align-items: center;
justify-content: center;
flex-flow: column nowrap;
section {
width: 100%;
height: 100%;
}

.title {
font-weight: 600;
font-size: rem2(120px);
line-height: rem2(168px);

@include lt-xl {
font-size: rem2(100px);
}
}

.description {
font-weight: 400;
font-size: rem2(18px);
line-height: rem2(28px);

@include lt-xl {
font-size: rem2(16px);
line-height: rem2(24px);
}
::deep {
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dd137fe

Please sign in to comment.