1
1
"use client" ;
2
2
import { cn } from "../../../lib/uitls" ;
3
3
import React from "react" ;
4
- // import { BentoGrid, BentoGridItem } from "../../_Core/ui/bento-grid";
5
- // import {
6
- // IconBoxAlignRightFilled,
7
- // IconClipboardCopy,
8
- // IconFileBroken,
9
- // IconSignature,
10
- // IconTableColumn,
11
- // } from "@tabler/icons-react";
4
+ import { BentoGrid , BentoGridItem } from "../../_Core/ui/bento-grid" ;
5
+ import {
6
+ IconBoxAlignRightFilled ,
7
+ IconClipboardCopy ,
8
+ IconFileBroken ,
9
+ IconSignature ,
10
+ IconTableColumn ,
11
+ } from "@tabler/icons-react" ;
12
12
import { motion } from "framer-motion" ;
13
13
import Image from "next/image" ;
14
14
import { ItemsVerticalList } from "../Inventory/UserOwnedItems" ;
@@ -32,19 +32,19 @@ export function BentoGridThirdDemo() {
32
32
}
33
33
34
34
export function BentoGridMobileDemo ( ) {
35
- return ( < > </ >
36
- // <BentoGrid className="max-w-4xl mx-auto md:auto-rows-[20rem]">
37
- // {mobileItems.map((item, i) => (
38
- // <BentoGridItem
39
- // key={i}
40
- // title={item.title}
41
- // description={item.description}
42
- // header={item.header}
43
- // className={cn("[&>p:text-lg]", item.className)}
44
- // icon={item.icon}
45
- // />
46
- // ))}
47
- // </BentoGrid>
35
+ return (
36
+ < BentoGrid className = "max-w-4xl mx-auto md:auto-rows-[20rem]" >
37
+ { mobileItems . map ( ( item , i ) => (
38
+ < BentoGridItem
39
+ key = { i }
40
+ title = { item . title }
41
+ description = { item . description }
42
+ header = { item . header }
43
+ className = { cn ( "[&>p:text-lg]" , item . className ) }
44
+ icon = { item . icon }
45
+ />
46
+ ) ) }
47
+ </ BentoGrid >
48
48
) ;
49
49
}
50
50
@@ -315,7 +315,7 @@ const mobileItems = [
315
315
) ,
316
316
header : < SkeletonOne /> ,
317
317
className : "md:col-span-1" ,
318
- // icon: <IconClipboardCopy className="h-4 w-4 text-neutral-500" />,
318
+ icon : < IconClipboardCopy className = "h-4 w-4 text-neutral-500" /> ,
319
319
} ,
320
320
{
321
321
title : "" ,
@@ -324,7 +324,7 @@ const mobileItems = [
324
324
) ,
325
325
header : < SkeletonFour /> ,
326
326
className : "md:col-span-2" ,
327
- // icon: <IconTableColumn className="h-4 w-4 text-neutral-500" />,
327
+ icon : < IconTableColumn className = "h-4 w-4 text-neutral-500" /> ,
328
328
} ,
329
329
] ;
330
330
0 commit comments