@@ -99,8 +99,8 @@ export default function Component() {
99
99
}
100
100
101
101
return (
102
- < Card className = "min-h-screen text-gray-100 md:p-8" >
103
- < div className = "grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-6" >
102
+ < Card className = "min-h-screen mt-7 text-gray-100 md:p-8" >
103
+ < div className = "grid grid-cols-1 md:grid-cols-3 mid- lg:grid-cols-4 gap-3 xl: gap-6" >
104
104
{ /* Revenue Card */ }
105
105
< Card className = "md:col-span-2 border-gray-800" >
106
106
< CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
@@ -131,7 +131,7 @@ export default function Component() {
131
131
</ Card >
132
132
133
133
{ /* Subscriptions Card */ }
134
- < Card className = "md:row -span-` border-gray-800" >
134
+ < Card className = "md:col -span-1 border-gray-800" >
135
135
< CardHeader >
136
136
< CardTitle className = "text-sm font-medium" > Subscriptions</ CardTitle >
137
137
</ CardHeader >
@@ -174,7 +174,7 @@ export default function Component() {
174
174
< CardHeader >
175
175
< CardTitle className = "text-sm font-medium" > Schedule</ CardTitle >
176
176
</ CardHeader >
177
- < CardContent className = "w-[93%] mx-auto rounded-md border border-gray-800" >
177
+ < CardContent className = "p-2 mx-auto w-[93%] rounded-md border border-gray-800" >
178
178
< Calendar
179
179
mode = "single"
180
180
selected = { date }
@@ -191,7 +191,7 @@ export default function Component() {
191
191
< Users className = "h-4 w-4 text-purple-400" />
192
192
</ CardHeader >
193
193
< CardContent >
194
- < ScrollArea className = "h-[200px]" >
194
+ < ScrollArea className = "pt-5 h-[240px]" >
195
195
< div className = "space-y-4" >
196
196
{ [
197
197
{ name : "Sofia Davis" , role : "Product Manager" , image : "/placeholder.svg?height=32&width=32" } ,
@@ -207,7 +207,7 @@ export default function Component() {
207
207
</ Avatar >
208
208
< div >
209
209
< div className = "font-medium" > { member . name } </ div >
210
- < div className = "text-sm text-gray-400" > { member . role } </ div >
210
+ < div className = "text-xs text-gray-400" > { member . role } </ div >
211
211
</ div >
212
212
</ div >
213
213
) ) }
@@ -222,27 +222,20 @@ export default function Component() {
222
222
< CardTitle className = "text-sm font-medium" > App Settings</ CardTitle >
223
223
</ CardHeader >
224
224
< CardContent className = "space-y-4" >
225
- < div className = "flex items-center justify-between" >
226
- < div className = "space-y-0.5" >
227
- < Label > Dark Mode</ Label >
228
- < div className = "text-xs text-gray-400" > Toggle dark mode on/off</ div >
229
- </ div >
230
- < Switch />
231
- </ div >
232
- < div className = "flex items-center justify-between" >
233
- < div className = "space-y-0.5" >
234
- < Label > Notifications</ Label >
235
- < div className = "text-xs text-gray-400" > Receive push notifications</ div >
236
- </ div >
237
- < Switch />
238
- </ div >
239
- < div className = "flex items-center justify-between" >
240
- < div className = "space-y-0.5" >
241
- < Label > Data Saver</ Label >
242
- < div className = "text-xs text-gray-400" > Reduce data usage</ div >
225
+ { [
226
+ { label : "Dark Mode" , description : "Toggle dark mode on/off" } ,
227
+ { label : "Notifications" , description : "Receive push notifications" } ,
228
+ { label : "Data Saver" , description : "Reduce data usage" } ,
229
+ { label : "Auto Updates" , description : "Automatically install updates" } ,
230
+ ] . map ( ( setting , index ) => {
231
+ return < div key = { index } className = "flex items-center justify-between" >
232
+ < div className = "space-y-0.5" >
233
+ < Label > { setting . label } </ Label >
234
+ < div className = "text-[11px] text-gray-400" > { setting . description } </ div >
235
+ </ div >
236
+ < Switch />
243
237
</ div >
244
- < Switch />
245
- </ div >
238
+ } ) }
246
239
</ CardContent >
247
240
</ Card >
248
241
@@ -354,7 +347,7 @@ export default function Component() {
354
347
</ div >
355
348
</ CardContent >
356
349
</ Card >
357
- < Card className = "md:col-span-1 lg:col-span-1 border-gray-800" >
350
+ < Card className = "md:col-span-1 lg:col-span-2 border-gray-800" >
358
351
< CardHeader className = "flex flex-row items-center justify-between space-y-0 pb-2" >
359
352
< CardTitle className = "text-sm font-medium" > Customize</ CardTitle >
360
353
< Palette className = "h-4 w-4 " />
0 commit comments