@@ -31,47 +31,49 @@ export default component$(() => {
31
31
</ div >
32
32
33
33
{ /* Navigation Links */ }
34
- < div class = "flex space-x-1 bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-xl p-1 shadow-lg border border-white/20 dark:border-gray-700 mb-8" >
35
- < a
36
- href = "/playground/parser/state"
37
- class = { `flex-1 px-4 py-3 rounded-lg font-medium transition-all duration-200 ${
38
- selectedTab . value === 'state'
39
- ? 'bg-blue-500 text-gray-900 shadow-md'
40
- : 'text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700'
41
- } `}
42
- >
43
- < span class = "flex items-center gap-2" >
44
- < svg class = "w-4 h-4" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
45
- < path
46
- stroke-linecap = "round"
47
- stroke-linejoin = "round"
48
- stroke-width = "2"
49
- d = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
50
- />
51
- </ svg >
52
- State Parser
53
- </ span >
54
- </ a >
55
- < a
56
- href = "/playground/parser/html"
57
- class = { `flex-1 px-4 py-3 rounded-lg font-medium transition-all duration-200 ${
58
- selectedTab . value === 'html'
59
- ? 'bg-green-500 text-gray-900 shadow-md'
60
- : 'text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700'
61
- } `}
62
- >
63
- < span class = "flex items-center gap-2" >
64
- < svg class = "w-4 h-4" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
65
- < path
66
- stroke-linecap = "round"
67
- stroke-linejoin = "round"
68
- stroke-width = "2"
69
- d = "M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"
70
- />
71
- </ svg >
72
- HTML Parser
73
- </ span >
74
- </ a >
34
+ < div class = "flex justify-center mb-8" >
35
+ < div class = "gap-1 inline-flex space-x-0.5 bg-white/80 dark:bg-gray-800/80 backdrop-blur-sm rounded-xl p-0.5 shadow-lg border border-white/20 dark:border-gray-700" >
36
+ < a
37
+ href = "/playground/parser/state"
38
+ class = { `px-2 py-2 rounded-lg font-medium text-sm transition-all duration-200 ${
39
+ selectedTab . value === 'state'
40
+ ? 'bg-blue-500 text-gray-900 shadow-md'
41
+ : 'text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700'
42
+ } `}
43
+ >
44
+ < span class = "flex items-center gap-1.5" >
45
+ < svg class = "w-3 h-3" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
46
+ < path
47
+ stroke-linecap = "round"
48
+ stroke-linejoin = "round"
49
+ stroke-width = "2"
50
+ d = "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"
51
+ />
52
+ </ svg >
53
+ State Parser
54
+ </ span >
55
+ </ a >
56
+ < a
57
+ href = "/playground/parser/html"
58
+ class = { `px-2 py-2 rounded-lg font-medium text-sm transition-all duration-200 ${
59
+ selectedTab . value === 'html'
60
+ ? 'bg-green-500 text-gray-900 shadow-md'
61
+ : 'text-gray-600 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700'
62
+ } `}
63
+ >
64
+ < span class = "flex items-center gap-1.5" >
65
+ < svg class = "w-3 h-3" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
66
+ < path
67
+ stroke-linecap = "round"
68
+ stroke-linejoin = "round"
69
+ stroke-width = "2"
70
+ d = "M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"
71
+ />
72
+ </ svg >
73
+ HTML Parser
74
+ </ span >
75
+ </ a >
76
+ </ div >
75
77
</ div >
76
78
77
79
{ /* Content Area */ }
0 commit comments