mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +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 "./_404.css";
|
||||
|
||||
export function NotFound() {
|
||||
return (
|
||||
<Section title="404: Not Found">
|
||||
<p>It's gone :(</p>
|
||||
<Section title="404: Not Found" className="section-404">
|
||||
The page you were looking for could not be found. Maybe it was deleted or the URL is incorrect.
|
||||
</Section>
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user