diff --git a/.npmrc b/.npmrc index b6f27f1..7bd89a5 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -engine-strict=true +store-dir=C:\Users\shats\AppData\Local\pnpm-test-store\store\v10 diff --git a/apps/web/eslint.config.js b/apps/web/eslint.config.js index c4a1019..2629a63 100644 --- a/apps/web/eslint.config.js +++ b/apps/web/eslint.config.js @@ -5,7 +5,7 @@ import reactRefresh from 'eslint-plugin-react-refresh' import globals from 'globals' export default tseslint.config( - { ignores: ['dist', 'src/routeTree.gen.ts'] }, + { ignores: ['dist', 'src/routeTree.gen.ts', 'src/components/blocks/**'] }, { extends: [js.configs.recommended, ...tseslint.configs.recommended], files: ['**/*.{ts,tsx}'], diff --git a/apps/web/src/components/blocks/card-18/components/card-grid.tsx b/apps/web/src/components/blocks/card-18/components/card-grid.tsx new file mode 100644 index 0000000..27705fe --- /dev/null +++ b/apps/web/src/components/blocks/card-18/components/card-grid.tsx @@ -0,0 +1,15 @@ +import { CardItem } from "./card-item" +import { CARDS } from "./data" + +export function CardGrid() { + return ( +
+ {/* Grid */} +
+ {CARDS.map((card) => ( + + ))} +
+
+ ) +} \ No newline at end of file diff --git a/apps/web/src/components/blocks/card-18/components/card-item.tsx b/apps/web/src/components/blocks/card-18/components/card-item.tsx new file mode 100644 index 0000000..bc83bf4 --- /dev/null +++ b/apps/web/src/components/blocks/card-18/components/card-item.tsx @@ -0,0 +1,34 @@ +import { + Frame, + FrameHeader, + FramePanel, +} from "@/components/reui/frame" +import { ICard } from "./data" +import { LinkIcon } from "lucide-react" + +export function CardItem({ card }: { card: ICard }) { + return ( + + {/* Header */} + +
+ {card.icon} + + {card.label} + +
+
+ {/* Content */} + +

{card.description}

+ + +
+ + ) +} \ No newline at end of file diff --git a/apps/web/src/components/blocks/card-18/components/data.tsx b/apps/web/src/components/blocks/card-18/components/data.tsx new file mode 100644 index 0000000..499f753 --- /dev/null +++ b/apps/web/src/components/blocks/card-18/components/data.tsx @@ -0,0 +1,39 @@ +import { type ReactNode } from "react" +import { PackageIcon, TrendingUp, MapPinIcon } from "lucide-react" + +export interface ICard { + label: string + icon: ReactNode + description: string + link: string +} + +export const CARDS: ICard[] = [ + { + label: "Binance", + icon: ( +