MCPcopy Create free account
hub / github.com/KartikLabhshetwar/foliox / DiagonalPattern

Function DiagonalPattern

components/portfolio/diagonal-pattern.tsx:8–19  ·  view source on GitHub ↗
({ side, className = '' }: DiagonalPatternProps)

Source from the content-addressed store, hash-verified

6}
7
8export default function DiagonalPattern({ side, className = '' }: DiagonalPatternProps) {
9 return (
10 <div className={`absolute ${side}-0 top-0 w-[60px] h-full overflow-hidden sm:block hidden ${className}`}>
11 <div
12 className="absolute dark:opacity-[0.04] opacity-[0.06] inset-0 w-[60px] h-full border dark:border-[#eee] border-[#000]/70"
13 style={{
14 backgroundImage: 'repeating-linear-gradient(-45deg, transparent, transparent 2px, currentcolor 2px, currentcolor 3px, transparent 3px, transparent 6px)'
15 }}
16 />
17 </div>
18 )
19}
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected