diff --git a/apps/partners/src/app/components/grid-pattern.tsx b/apps/partners/src/app/components/grid-pattern.tsx new file mode 100644 index 00000000..adff2a44 --- /dev/null +++ b/apps/partners/src/app/components/grid-pattern.tsx @@ -0,0 +1,59 @@ +"use client"; + +import { cn } from "@umamin/ui/lib/utils"; +import { useId } from "react"; + +interface GridPatternProps { + width?: any; + height?: any; + x?: any; + y?: any; + squares?: Array<[x: number, y: number]>; + strokeDasharray?: any; + className?: string; + [key: string]: any; +} + +export function GridPattern({ + width = 40, + height = 40, + x = -1, + y = -1, + strokeDasharray = 0, + squares, + className, + ...props +}: GridPatternProps) { + const id = useId(); + + return ( + + ); +} + +export default GridPattern; diff --git a/apps/partners/src/app/page.tsx b/apps/partners/src/app/page.tsx index d162f87d..0358e9cd 100644 --- a/apps/partners/src/app/page.tsx +++ b/apps/partners/src/app/page.tsx @@ -3,10 +3,12 @@ import { ExternalLink } from "lucide-react"; import { cn } from "@umamin/ui/lib/utils"; import { Button } from "@umamin/ui/components/button"; import { AnimatedShinyText } from "@umamin/ui/components/animated-shiny-text"; +import GridPattern from "./components/grid-pattern"; export default function Home() { return (
+