File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
<script >
2
2
import { page } from ' $app/state' ;
3
+ import { base } from ' $app/paths' ;
3
4
import { emojis } from ' $lib/components/emojis.js' ;
4
5
</script >
5
6
11
12
<div id =" notfound" >
12
13
<div class =" notfound" >
13
14
<div class =" notfound-404" >
14
- <h1 >Oops!</h1 >
15
- {emojis [page .status ] ?? emojis [500 ]}
16
- <h2 >ERROR {page .status }: {page .error .message }</h2 >
15
+ <h1 >Oops! <span >{emojis [page .status ] ?? emojis [500 ]}</span ></h1 >
16
+ <h2 class ="my-4" >ERROR {page .status }: {page .error .message }</h2 >
17
17
</div >
18
18
<p >
19
19
Uh-oh! It seems the page you're looking for has either been removed, relocated, or may not
20
20
exist at all. Before you venture further, double-check the URL in your browser. If all seems
21
21
well, consider navigating back to our homepage to explore anew. Thanks for your understanding!
22
22
</p >
23
- <a href =" /" >Go To Homepage</a >
23
+ <a href =" { base } /" >Go To Homepage</a >
24
24
</div >
25
25
</div >
26
26
47
47
font-size : 1rem ;
48
48
text-decoration : none ;
49
49
text-transform : uppercase ;
50
- background : #333 ;
50
+ background : #fefefe ;
51
51
display : inline-block ;
52
52
padding : 1rem 2rem ;
53
53
border-radius : 1rem ;
54
- color : #fff ;
54
+ color : #333 ;
55
55
font-weight : 700 ;
56
56
box-shadow : 0 4px 15px -5px #333 ;
57
57
}
Original file line number Diff line number Diff line change 14
14
15
15
body {
16
16
font-family : sans-serif;
17
+ background-color : # 333 ;
18
+ color : # fefefe
17
19
}
18
20
19
21
# notfound {
42
44
font-size : 1rem ;
43
45
text-decoration : none;
44
46
text-transform : uppercase;
45
- background : # 333 ;
47
+ background : # fefefe ;
46
48
display : inline-block;
47
49
padding : 1rem 2rem ;
48
50
border-radius : 1rem ;
49
- color : # fff ;
51
+ color : # 333 ;
50
52
font-weight : 700 ;
51
53
box-shadow : 0 4px 15px -5px # 333 ;
52
54
}
53
55
</ style >
56
+ < script >
57
+
58
+ </ script >
54
59
</ head >
55
60
56
61
< body >
57
62
< div id ="notfound ">
58
63
< div class ="notfound ">
59
64
< div class ="notfound-404 ">
60
- < h1 > Oops!</ h1 >
65
+ < h1 > Oops! 🤔 </ h1 >
61
66
</ div >
62
67
< h2 > 404 - Page not found</ h2 >
63
68
< p >
You can’t perform that action at this time.
0 commit comments