mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
feat(website): improve 404 page
This commit is contained in:
parent
4954fa89b5
commit
428abb4591
9
apps/website2/src/pages/_404.css
Normal file
9
apps/website2/src/pages/_404.css
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
section.section-404 {
|
||||||
|
text-align: center;
|
||||||
|
background: var(--background-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
section.section-404 h2 {
|
||||||
|
color: var(--brand-3);
|
||||||
|
margin: 1em;
|
||||||
|
}
|
@ -1,9 +1,10 @@
|
|||||||
import Section from "../components/Section";
|
import Section from "../components/Section";
|
||||||
|
import "./_404.css";
|
||||||
|
|
||||||
export function NotFound() {
|
export function NotFound() {
|
||||||
return (
|
return (
|
||||||
<Section title="404: Not Found">
|
<Section title="404: Not Found" className="section-404">
|
||||||
<p>It's gone :(</p>
|
The page you were looking for could not be found. Maybe it was deleted or the URL is incorrect.
|
||||||
</Section>
|
</Section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user