Skip to content

Commit e4c10ad

Browse files
authored
Add 404 frog (#55)
1 parent 3ef5aab commit e4c10ad

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

public/static/files/404frog.png

814 KB
Loading

src/main/pages/NotFound.js

+16-8
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,22 @@ import { Page } from '../components';
44
export const NotFound = () => {
55
return (
66
<Page>
7-
<div className="p-4">
8-
<p>
9-
Error 404; Page not found :(
10-
<br />
11-
</p>
12-
<p className="text-blue-400">
13-
<a href="#">Click me!</a>
14-
</p>
7+
<div className="flex flex-col justify-center items-center w-full h-full">
8+
<img
9+
src="/static/files/404frog.png"
10+
alt="404 Frog"
11+
style={{
12+
width: '50%',
13+
height: '50%',
14+
objectFit: 'contain',
15+
filter: 'drop-shadow(8px 8px 64px rgb(82 82 91))' // zinc-700
16+
}}
17+
/>
18+
<h1 className="text-lg font-bold">ERROR 404</h1>
19+
<p className="text-sm text-zinc-400">Page not found :(</p>
20+
<a className="text-sm text-blue-400 underline" href="/">
21+
Go home
22+
</a>
1523
</div>
1624
</Page>
1725
);

0 commit comments

Comments
 (0)