File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed
apps/svelte.dev/src/routes/docs Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change 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 []>;
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 >
5358 text-wrap : balance ;
5459 }
5560
56- h1 {
57- padding-bottom : 2rem ;
58- }
59-
6061 ul {
6162 list-style-type : none ;
6263 }
You can’t perform that action at this time.
0 commit comments