generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 1520 404 page not found screen development (#1663)
Co-authored-by: mgaseta <[email protected]>
- Loading branch information
Showing
7 changed files
with
201 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const fourOhFourTexts = { | ||
title: 'Page not found', | ||
supportText1: 'Oops! It looks like this page got lost in the forest.', | ||
supportText2: 'This page doesn\'t exist or was removed.', | ||
buttonLabel: 'Back to home', | ||
altText: 'Cone confused while reading a map in forest' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,55 @@ | ||
@use '@bcgov-nr/nr-theme/design-tokens/variables.scss' as vars; | ||
@use '@carbon/type'; | ||
|
||
.fof-container { | ||
margin: 0; | ||
max-width: 100%; | ||
min-height: 100vh; | ||
padding: 1rem; | ||
background-color: rgb(131, 217, 200); | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
.four-oh-four-page { | ||
img { | ||
width: 25%; | ||
min-width: 21.875rem; | ||
height: 100%; | ||
width: 100%; | ||
object-fit: contain; | ||
} | ||
|
||
.list { | ||
li { | ||
list-style-type: none; | ||
} | ||
h1 { | ||
@include type.type-style('fluid-heading-05', true); | ||
color: var(--#{vars.$bcgov-prefix}-text-primary); | ||
margin-bottom: 2.5rem; | ||
} | ||
|
||
p { | ||
@include type.type-style('fluid-paragraph-01', true); | ||
color: var(--#{vars.$bcgov-prefix}-text-secondary); | ||
margin-bottom: 0.25rem; | ||
} | ||
|
||
button { | ||
margin-top: 2rem; | ||
margin-bottom: 3rem; | ||
inline-size: 16rem; | ||
} | ||
|
||
.four-oh-four-row { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
@media only screen and (min-width: 1920px) { | ||
img { | ||
height: 80%; | ||
width: 80%; | ||
} | ||
} | ||
|
||
.link { | ||
margin-bottom: 0.5rem; | ||
position: relative; | ||
display: inline-block; | ||
transition: color var(--#{vars.$bcgov-prefix}-transition-base); | ||
color: var(--#{vars.$bcgov-prefix}-text-01); | ||
text-decoration: none; | ||
margin-left: 1rem; | ||
|
||
&:before { | ||
content: '\21B3'; //"↳" | ||
position: absolute; | ||
left: -1rem; | ||
color: var(--#{vars.$bcgov-prefix}-text-01); | ||
cursor: pointer; | ||
@media only screen and (max-width: 1055px) { | ||
margin-top: 0; | ||
margin-left: 0; | ||
img { | ||
height: 50vh; | ||
width: 90vw; | ||
} | ||
} | ||
|
||
.fof-text { | ||
text-align: center; | ||
font-family: cursive; | ||
font-weight: 700; | ||
font-size: 13rem; | ||
transform: translate(0, -20%); | ||
letter-spacing: 0.02em; | ||
color: #F9f1cc; | ||
text-shadow: 5px 5px 0px #FFB650, | ||
10px 10px 0px #FFD662, | ||
15px 15px 0px #FF80BF, | ||
20px 20px 0px #EF5097, | ||
25px 25px 0px #6868AC, | ||
30px 30px 0px #90B1E0; | ||
@media only screen and (max-width: 672px) { | ||
margin-top: 0; | ||
} | ||
} |