@@ -76,16 +76,8 @@ const DashboardCard = () => {
76
76
< div className = "flex justify-center gap-1 px-2 py-1 rounded-3 border border-gray-a3" >
77
77
< NotionLogoIcon width = "20" height = "20" className = "text-blue-9" />
78
78
< DiscordLogoIcon width = "20" height = "20" className = "text-lime-9" />
79
- < LinkedInLogoIcon
80
- width = "20"
81
- height = "20"
82
- className = "text-yellow-9"
83
- />
84
- < GitHubLogoIcon
85
- width = "20"
86
- height = "20"
87
- className = "text-tomato-9"
88
- />
79
+ < LinkedInLogoIcon width = "20" height = "20" className = "text-yellow-9" />
80
+ < GitHubLogoIcon width = "20" height = "20" className = "text-tomato-9" />
89
81
</ div >
90
82
</ Flex >
91
83
</ Flex >
@@ -202,17 +194,10 @@ export default function Dashboard() {
202
194
< body >
203
195
{ /* <NextThemeProvider> */ }
204
196
< Theme asChild appearance = "dark" grayColor = "gray" accentColor = "blue" >
205
- < div
206
- id = "root"
207
- className = "w-full h-[100vh] bg-gray-1 flex flex-no-wrap p-2"
208
- >
197
+ < div id = "root" className = "w-full h-[100vh] bg-gray-1 flex flex-no-wrap p-2" >
209
198
< ThemePanel />
210
199
< aside className = "h-full w-[300px] py-2 px-4" >
211
- < Flex
212
- direction = "column"
213
- justify = "between"
214
- style = { { height : '100%' } }
215
- >
200
+ < Flex direction = "column" justify = "between" style = { { height : '100%' } } >
216
201
< div >
217
202
< Flex px = "2" py = "4" >
218
203
< Popover . Root >
@@ -237,11 +222,7 @@ export default function Dashboard() {
237
222
fallback=" A "
238
223
/ >
239
224
< Box grow = "1" >
240
- < TextArea
241
- size = "2"
242
- placeholder = "Write a comment…"
243
- style = { { height : 80 } }
244
- />
225
+ < TextArea size = "2" placeholder = "Write a comment…" style = { { height : 80 } } />
245
226
246
227
< Flex gap = "3" mt = "3" justify = "between" >
247
228
< Flex align = "center" gap = "2" asChild >
@@ -317,11 +298,7 @@ export default function Dashboard() {
317
298
< DropdownMenu . Root >
318
299
< DropdownMenu . Trigger >
319
300
< IconButton variant = "surface" size = "3" >
320
- < GearIcon
321
- width = "20"
322
- height = "20"
323
- color = "var(--gray-10)"
324
- />
301
+ < GearIcon width = "20" height = "20" color = "var(--gray-10)" />
325
302
</ IconButton >
326
303
</ DropdownMenu . Trigger >
327
304
< DropdownMenu . Content align = "end" size = "2" >
@@ -333,9 +310,7 @@ export default function Dashboard() {
333
310
< DropdownMenu . Item > Air Cover</ DropdownMenu . Item >
334
311
< DropdownMenu . Item > Cancellations</ DropdownMenu . Item >
335
312
< DropdownMenu . Sub >
336
- < DropdownMenu . SubTrigger >
337
- Hosting
338
- </ DropdownMenu . SubTrigger >
313
+ < DropdownMenu . SubTrigger > Hosting</ DropdownMenu . SubTrigger >
339
314
340
315
< DropdownMenu . SubContent >
341
316
< DropdownMenu . Item > Resources</ DropdownMenu . Item >
@@ -356,13 +331,7 @@ export default function Dashboard() {
356
331
</ aside >
357
332
< main className = "h-full flex-1 rounded-5 border border-solid border-gray-a4 dark:bg-[rgba(255,255,255,0.01)]" >
358
333
< Box pl = "7" pr = "6" >
359
- < Flex
360
- pt = "4"
361
- pb = "4"
362
- direction = "row"
363
- align = "center"
364
- justify = "between"
365
- >
334
+ < Flex pt = "4" pb = "4" direction = "row" align = "center" justify = "between" >
366
335
< Box >
367
336
< Breadcrumbs . Root >
368
337
< Breadcrumbs . Item > PRODUCTS</ Breadcrumbs . Item >
@@ -452,12 +421,7 @@ export default function Dashboard() {
452
421
</ Flex >
453
422
</ Flex >
454
423
< Flex mt = "6" >
455
- < Button
456
- variant = "soft"
457
- color = "gray"
458
- style = { { width : '100%' } }
459
- size = "4"
460
- >
424
+ < Button variant = "soft" color = "gray" style = { { width : '100%' } } size = "4" >
461
425
Load more
462
426
</ Button >
463
427
</ Flex >
0 commit comments