16 lines
611 B
TypeScript
16 lines
611 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
|
|
export default function NoiseOverlay() {
|
|
return (
|
|
<div
|
|
className="fixed inset-0 w-full h-full pointer-events-none z-[99999] opacity-[0.025]"
|
|
style={{
|
|
backgroundImage: `url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`,
|
|
backgroundRepeat: "repeat",
|
|
}}
|
|
/>
|
|
);
|
|
}
|