Skip to content

Commit cec2e97

Browse files
committed
tweak
1 parent 024c86f commit cec2e97

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

apps/svelte.dev/src/routes/docs/RemovedPage.svelte

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { onMount } from 'svelte';
33
import { goto } from '$app/navigation';
44
import { page } from '$app/stores';
5+
import { Text } from '@sveltejs/site-kit/components';
56
67
interface Props {
78
docs: Map<string, string[]>;
@@ -30,18 +31,22 @@
3031
</svelte:head>
3132

3233
<div class="page">
33-
<h1>This page no longer exists</h1>
34-
35-
<h2>You may be looking for:</h2>
36-
37-
<ul>
38-
{#each docs as doc}
39-
<li>
40-
<span style="font-weight:bold">{doc[1][0]}</span> is now located at
41-
<a href={doc[1][1]}>{doc[1][1]}</a>
42-
</li>
43-
{/each}
44-
</ul>
34+
<header>
35+
<h1>This page no longer exists</h1>
36+
</header>
37+
38+
<Text>
39+
<p>You may be looking for one of the following:</p>
40+
41+
<ul>
42+
{#each docs as doc}
43+
<li>
44+
<span style="font-weight:bold">{doc[1][0]}</span> is now
45+
<a href={doc[1][1]}>here</a>
46+
</li>
47+
{/each}
48+
</ul>
49+
</Text>
4550
</div>
4651

4752
<style>
@@ -53,10 +58,6 @@
5358
text-wrap: balance;
5459
}
5560
56-
h1 {
57-
padding-bottom: 2rem;
58-
}
59-
6061
ul {
6162
list-style-type: none;
6263
}

0 commit comments

Comments
 (0)