Spaces:
Running
Running
Download web/src/components/command/domain-grid.tsx from SZLHOLDINGS/a11oy: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/116a7e045f7364476d7335eb8a77a174ad7e9e09/web/src/components/command/domain-grid.tsx
- Command line
-
hf download hf://spaces/SZLHOLDINGS/a11oy@116a7e045f7364476d7335eb8a77a174ad7e9e09/web/src/components/command/domain-grid.tsx
-
curl -L -o domain-grid.tsx https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/116a7e045f7364476d7335eb8a77a174ad7e9e09/web/src/components/command/domain-grid.tsx
404 Bytes
| import type { DomainData } from '../types'; | |
| import { DomainCard } from './domain-card'; | |
| interface DomainGridProps { | |
| domains: DomainData[]; | |
| } | |
| export function DomainGrid({ domains }: DomainGridProps) { | |
| return ( | |
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| {domains.map((domain) => ( | |
| <DomainCard key={domain.id} data={domain} /> | |
| ))} | |
| </div> | |
| ); | |
| } | |