@@ -13,46 +13,51 @@ export const Preview: FC = () => {
13
13
const $isWasmLoaded = useStore ( ( state ) => state . isWasmLoaded ) ;
14
14
15
15
return (
16
- < ResizablePanel className = "relative flex flex-col items-start gap-6 p-8" >
17
- { ! $isWasmLoaded ? ( < div className = "absolute top-0 left-0 z-10 flex h-full w-full items-center justify-center backdrop-blur-sm" >
18
- < WasmLoading />
19
- </ div > ) : null }
20
- < div className = "flex w-full items-center justify-between" >
21
- < p className = "font-semibold text-3xl text-content-primary" >
22
- Parameters
23
- </ p >
24
- < Button variant = "destructive" > Reset form</ Button >
25
- </ div >
16
+ < ResizablePanel className = "relative" >
17
+ { ! $isWasmLoaded ? (
18
+ < div className = "absolute top-0 left-0 z-10 flex h-full w-full items-center justify-center backdrop-blur-sm" >
19
+ < WasmLoading />
20
+ </ div >
21
+ ) : null }
26
22
27
- < div className = "flex h-full w-full items-center justify-center rounded-xl border p-4" >
28
- < div className = "flex flex-col items-center justify-center gap-3" >
29
- < div className = "flex items-center justify-center rounded-[6px] bg-highlight-sky p-2" >
30
- < ActivityIcon
31
- className = "text-content-invert"
32
- width = { 24 }
33
- height = { 24 }
34
- />
35
- </ div >
23
+ < div aria-hidden = { ! $isWasmLoaded } className = "flex h-full w-full flex-col items-start gap-6 p-8" >
24
+ < div className = "flex w-full items-center justify-between" >
25
+ < p className = "font-semibold text-3xl text-content-primary" >
26
+ Parameters
27
+ </ p >
28
+ < Button variant = "destructive" > Reset form</ Button >
29
+ </ div >
30
+
31
+ < div className = "flex h-full w-full items-center justify-center rounded-xl border p-4" >
32
+ < div className = "flex flex-col items-center justify-center gap-3" >
33
+ < div className = "flex items-center justify-center rounded-[6px] bg-highlight-sky p-2" >
34
+ < ActivityIcon
35
+ className = "text-content-invert"
36
+ width = { 24 }
37
+ height = { 24 }
38
+ />
39
+ </ div >
36
40
37
- < div className = "flex flex-col items-center gap-2" >
38
- < div className = "flex max-w-[258px] flex-col items-center gap-1" >
39
- < p className = "text-nowrap text-center font-semibold text-2xl text-content-primary" >
40
- Parameters Playground
41
- </ p >
42
- < p className = "text-center font-medium text-content-secondary text-sm" >
43
- Create dynamic parameters here, I need to figure out a better
44
- copy.
45
- </ p >
41
+ < div className = "flex flex-col items-center gap-2" >
42
+ < div className = "flex max-w-[258px] flex-col items-center gap-1" >
43
+ < p className = "text-nowrap text-center font-semibold text-2xl text-content-primary" >
44
+ Parameters Playground
45
+ </ p >
46
+ < p className = "text-center font-medium text-content-secondary text-sm" >
47
+ Create dynamic parameters here, I need to figure out a better
48
+ copy.
49
+ </ p >
50
+ </ div >
51
+ < a
52
+ href = "#todo"
53
+ className = "flex items-center gap-0.5 text-content-link text-sm"
54
+ >
55
+ Read the docs
56
+ < span className = "inline" >
57
+ < ExternalLinkIcon width = { 16 } />
58
+ </ span >
59
+ </ a >
46
60
</ div >
47
- < a
48
- href = "#todo"
49
- className = "flex items-center gap-0.5 text-content-link text-sm"
50
- >
51
- Read the docs
52
- < span className = "inline" >
53
- < ExternalLinkIcon width = { 16 } />
54
- </ span >
55
- </ a >
56
61
</ div >
57
62
</ div >
58
63
</ div >
0 commit comments