mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-05 23:43:57 +00:00
fix: background colour in not found page
This commit is contained in:
committed by
Carlos Valente
parent
7918063753
commit
4b27d080b6
@@ -2,10 +2,16 @@
|
||||
|
||||
.notFound {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 100vh;
|
||||
padding-top: 20vh;
|
||||
background-color: var(--background-color-override, $viewer-background-color);
|
||||
margin-top: 10vh;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
color: $ui-white;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -5,15 +5,17 @@ import style from './NotFound.module.scss';
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<div className={style.notFound}>
|
||||
<EmptyImage />
|
||||
<h1>Not found</h1>
|
||||
<div>
|
||||
The page you are after was not found.
|
||||
<br />
|
||||
It may have moved or your URL may be incorrect.
|
||||
<br />
|
||||
Double check the URL and try again.
|
||||
</div>
|
||||
<section className={style.content}>
|
||||
<EmptyImage />
|
||||
<h1>Not found</h1>
|
||||
<div>
|
||||
The page you are after was not found.
|
||||
<br />
|
||||
It may have moved or your URL may be incorrect.
|
||||
<br />
|
||||
Double check the URL and try again.
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user