File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
examples/solid/start-clerk-basic/src/components Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -17,28 +17,28 @@ export function DefaultCatchBoundary({ error }: ErrorComponentProps) {
1717 console . error ( error )
1818
1919 return (
20- < div className = "min-w-0 flex-1 p-4 flex flex-col items-center justify-center gap-6" >
20+ < div class = "min-w-0 flex-1 p-4 flex flex-col items-center justify-center gap-6" >
2121 < ErrorComponent error = { error } />
22- < div className = "flex gap-2 items-center flex-wrap" >
22+ < div class = "flex gap-2 items-center flex-wrap" >
2323 < button
2424 onClick = { ( ) => {
2525 router . invalidate ( )
2626 } }
27- className = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded-sm text-white uppercase font-extrabold` }
27+ class = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded-sm text-white uppercase font-extrabold` }
2828 >
2929 Try Again
3030 </ button >
3131 { isRoot ? (
3232 < Link
3333 to = "/"
34- className = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded-sm text-white uppercase font-extrabold` }
34+ class = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded-sm text-white uppercase font-extrabold` }
3535 >
3636 Home
3737 </ Link >
3838 ) : (
3939 < Link
4040 to = "/"
41- className = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded-sm text-white uppercase font-extrabold` }
41+ class = { `px-2 py-1 bg-gray-600 dark:bg-gray-700 rounded-sm text-white uppercase font-extrabold` }
4242 onClick = { ( e ) => {
4343 e . preventDefault ( )
4444 window . history . back ( )
Original file line number Diff line number Diff line change @@ -2,20 +2,20 @@ import { Link } from '@tanstack/solid-router'
22
33export function NotFound ( { children } : { children ?: any } ) {
44 return (
5- < div className = "space-y-2 p-2" >
6- < div className = "text-gray-600 dark:text-gray-400" >
5+ < div class = "space-y-2 p-2" >
6+ < div class = "text-gray-600 dark:text-gray-400" >
77 { children || < p > The page you are looking for does not exist.</ p > }
88 </ div >
9- < p className = "flex items-center gap-2 flex-wrap" >
9+ < p class = "flex items-center gap-2 flex-wrap" >
1010 < button
1111 onClick = { ( ) => window . history . back ( ) }
12- className = "bg-emerald-500 text-white px-2 py-1 rounded-sm uppercase font-black text-sm"
12+ class = "bg-emerald-500 text-white px-2 py-1 rounded-sm uppercase font-black text-sm"
1313 >
1414 Go back
1515 </ button >
1616 < Link
1717 to = "/"
18- className = "bg-cyan-600 text-white px-2 py-1 rounded-sm uppercase font-black text-sm"
18+ class = "bg-cyan-600 text-white px-2 py-1 rounded-sm uppercase font-black text-sm"
1919 >
2020 Start Over
2121 </ Link >
You can’t perform that action at this time.
0 commit comments