MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / HeroGrid

Function HeroGrid

freebuff/web/src/components/hero-grid.tsx:5–38  ·  view source on GitHub ↗
({ className }: { className?: string })

Source from the content-addressed store, hash-verified

3import { cn } from '@/lib/utils'
4
5export function HeroGrid({ className }: { className?: string }) {
6 return (
7 <div className={cn('absolute inset-0 overflow-hidden', className)}>
8 {/* Dot grid pattern */}
9 <div
10 className="absolute inset-0 opacity-[0.03]"
11 style={{
12 backgroundImage:
13 'radial-gradient(circle, #7CFF3F 1px, transparent 1px)',
14 backgroundSize: '32px 32px',
15 }}
16 />
17 {/* Horizontal scan line */}
18 <div className="absolute inset-0 animate-scan-line">
19 <div
20 className="h-px w-full"
21 style={{
22 background:
23 'linear-gradient(90deg, transparent, rgba(124,255,63,0.15) 20%, rgba(124,255,63,0.3) 50%, rgba(124,255,63,0.15) 80%, transparent)',
24 }}
25 />
26 </div>
27 {/* Vertical grid lines */}
28 <div
29 className="absolute inset-0 opacity-[0.025]"
30 style={{
31 backgroundImage:
32 'linear-gradient(90deg, #7CFF3F 1px, transparent 1px)',
33 backgroundSize: '120px 120px',
34 }}
35 />
36 </div>
37 )
38}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected