We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f188de commit f802f8cCopy full SHA for f802f8c
src/routes/+error.svelte
@@ -1,11 +1,12 @@
1
-<img class="centered" src="logo404.png" alt=""/>
+<img class="centered" src="/logo404.png" alt="logo with 404" />
2
+
3
<style>
- .centered {
4
- text-align: center;
5
- position: absolute;
6
- top: 20%;
7
- left: 50%;
8
- transform: translate(-50%, -50%);
9
- width: 300px;
10
-}
11
-</style>
+ .centered {
+ text-align: center;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ width: 300px;
+ }
12
+</style>
src/routes/+layout.ts
@@ -1 +1,2 @@
export const prerender = true;
+export const trailingSlash = "always";
src/routes/404/+page.svelte
0 commit comments