feat: implement management folder architecture, hover-only tool sliders, grain transform animation, and prominent upload studio
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
|
||||
interface NeuralGrainOverlayProps {
|
||||
intensity?: number;
|
||||
active?: boolean;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
export function NeuralGrainOverlay({
|
||||
intensity = 0.22,
|
||||
active = true,
|
||||
className = '',
|
||||
}: NeuralGrainOverlayProps) {
|
||||
if (!active) return null;
|
||||
|
||||
return (
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className={`pointer-events-none absolute inset-0 z-10 overflow-hidden mix-blend-overlay ${className}`}
|
||||
style={{ opacity: intensity }}
|
||||
>
|
||||
{/* High-frequency animated SVG noise filter */}
|
||||
<svg className="absolute inset-0 h-full w-full opacity-65">
|
||||
<filter id="neural-grain-noise">
|
||||
<feTurbulence
|
||||
type="fractalNoise"
|
||||
baseFrequency="0.75"
|
||||
numOctaves="3"
|
||||
stitchTiles="stitch"
|
||||
>
|
||||
<animate
|
||||
attributeName="seed"
|
||||
from="1"
|
||||
to="60"
|
||||
dur="1.8s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</feTurbulence>
|
||||
<feColorMatrix type="saturate" values="0" />
|
||||
</filter>
|
||||
<rect width="100%" height="100%" filter="url(#neural-grain-noise)" />
|
||||
</svg>
|
||||
|
||||
{/* Latent Neural Scan Sweep Beam */}
|
||||
<div className="absolute inset-y-0 w-28 bg-gradient-to-r from-transparent via-blue-400/25 to-transparent animate-neural-sweep pointer-events-none" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user