diff --git a/components/Reveal.tsx b/components/Reveal.tsx index 53a6b8c62..a50dc2781 100644 --- a/components/Reveal.tsx +++ b/components/Reveal.tsx @@ -1,6 +1,6 @@ 'use client'; -import React, { useEffect, useRef, useState } from 'react'; +import React from 'react'; import { cn } from '@/components/ui'; interface RevealProps { @@ -10,40 +10,12 @@ interface RevealProps { delay?: number; } -export default function Reveal({ children, className, threshold = 0.1, delay = 0 }: RevealProps) { - const [isVisible, setIsVisible] = useState(false); - const ref = useRef(null); - - useEffect(() => { - const observer = new IntersectionObserver( - ([entry]) => { - if (entry.isIntersecting) { - setIsVisible(true); - observer.unobserve(entry.target); - } - }, - { threshold } - ); - - const currentRef = ref.current; - if (currentRef) { - observer.observe(currentRef); - } - - return () => { - if (currentRef) { - observer.unobserve(currentRef); - } - }; - }, [threshold]); - +export default function Reveal({ children, className }: RevealProps) { + // Reveal animation disabled due to flickering issues on mobile/hydration return ( -
+
{children}
); } + diff --git a/components/blocks/CompetenceBentoGrid.tsx b/components/blocks/CompetenceBentoGrid.tsx index ad7f74528..93347b6e6 100644 --- a/components/blocks/CompetenceBentoGrid.tsx +++ b/components/blocks/CompetenceBentoGrid.tsx @@ -86,10 +86,6 @@ export function CompetenceBentoGrid(props: CompetenceBentoGridProps) {

{badge}

{title}

-
diff --git a/lib/standorte-data.ts b/lib/standorte-data.ts index 14171975b..425017c14 100644 --- a/lib/standorte-data.ts +++ b/lib/standorte-data.ts @@ -67,7 +67,7 @@ export const standorteData: StandortData[] = [ 'Central project management' ] }, - image: '/assets/photos/Etib_E-tib_Tiefbau_Guben_Netzanbindung_Energie-100.jpg', + image: '/assets/photos/DSC02114.jpg', gallery: [ '/assets/photos/DSC02114.jpg', '/assets/photos/Etib_E-tib_Tiefbau_Guben_Netzanbindung_Energie-45.jpg'