Changeset View
Changeset View
Standalone View
Standalone View
web/e.cash_v2/app/components/Atoms/GridPattern.tsx
- This file was moved from web/e.cash_v2/app/components/GridPattern.tsx.
| // Copyright (c) 2025 The Bitcoin developers | // Copyright (c) 2025 The Bitcoin developers | ||||
| // Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
| // file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
| import { cn } from "../utils/cn"; | import { cn } from "../../utils/cn"; | ||||
| export default function GridPattern({ className }: { className?: string }) { | export default function GridPattern({ className }: { className?: string }) { | ||||
| return ( | return ( | ||||
| <div | <div | ||||
| className={cn( | className={cn( | ||||
| "absolute inline-flex w-96 flex-wrap content-center items-center justify-start gap-5 opacity-10", | "absolute inline-flex w-96 flex-wrap content-center items-center justify-start gap-5 opacity-10", | ||||
| className | className | ||||
| )} | )} | ||||
| > | > | ||||
| {Array.from({ length: 192 }).map((_, i) => ( | {Array.from({ length: 192 }).map((_, i) => ( | ||||
| <div key={i} className="h-1 w-1 rotate-45 bg-zinc-300" /> | <div key={i} className="h-1 w-1 rotate-45 bg-zinc-300" /> | ||||
| ))} | ))} | ||||
| </div> | </div> | ||||
| ); | ); | ||||
| } | } | ||||