Skip to content

Commit

Permalink
tryfix: noise broken on some devices
Browse files Browse the repository at this point in the history
  • Loading branch information
flagg2 committed Jul 18, 2024
1 parent 76636d2 commit 9bec6c8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/components/sections/hero/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,19 @@ export default function HeroSection() {

return (
<AnimateOnView className="relative lg:min-h-[820px]">
<div className="inset-0 pointer-events-none bg-repeat bg-[url(/noise.svg)] bg-[center_bottom] absolute z-10 mix-blend-multiply opacity-60 filter grayscale"></div>
<div
style={{
inset: 0,
pointerEvents: "none",
backgroundRepeat: "repeat",
backgroundImage: "url(/noise.svg)",
position: "absolute",
zIndex: 10,
mixBlendMode: "multiply",
opacity: 0.6,
filter: "grayscale(1)",
}}
></div>
<div
ref={sectionRef}
className="bg-cover bg-[center_bottom] bg-no-repeat lg:min-h-[820px] brightness-110"
Expand Down

0 comments on commit 9bec6c8

Please sign in to comment.