// components/AboutHealth.js 'use client' // components/AboutHealth.js import Image from "next/image"; import Link from "next/link"; import { useState, useEffect } from "react"; export default function AboutHealth() { const [currentSlide, setCurrentSlide] = useState(0); const slides = [ { content: "At Operify Health, we believe every patient deserves answers that are not only accurate — but actionable. By harnessing the power of Next Generation Sequencing (NGS), we transform patient samples into rich genomic insights that enable clinicians and oncologists to make informed, personalized decisions. From rare genetic disorders to complex oncological cases, our solutions help uncover what traditional diagnostics often miss." }, { content: "At Operify Health, we believe every patient deserves answers that are not only accurate — but actionable. By harnessing the power of Next Generation Sequencing (NGS), we transform patient samples into rich genomic insights that enable clinicians and oncologists to make informed, personalized decisions. From rare genetic disorders to complex oncological cases, our solutions help uncover what traditional diagnostics often miss." }, { content: "At Operify Health, we believe every patient deserves answers that are not only accurate — but actionable. By harnessing the power of Next Generation Sequencing (NGS), we transform patient samples into rich genomic insights that enable clinicians and oncologists to make informed, personalized decisions. From rare genetic disorders to complex oncological cases, our solutions help uncover what traditional diagnostics often miss." } ]; // Auto-advance slides every 5 seconds useEffect(() => { const timer = setInterval(() => { setCurrentSlide((prev) => (prev + 1) % slides.length); }, 5000); return () => clearInterval(timer); }, [slides.length]); const goToSlide = (index) => { setCurrentSlide(index); }; const nextSlide = () => { setCurrentSlide((prev) => (prev + 1) % slides.length); }; const prevSlide = () => { setCurrentSlide((prev) => (prev - 1 + slides.length) % slides.length); }; return (
{/* Left Side - Content */}
{/* Brand/Title */}

Operify Health

{/* Content Slider */}
{slides[currentSlide].content}
{/* Navigation */}
{/* Progress Indicators */}
{slides.map((_, index) => (
{/* Right Side - Image */}
Healthcare professional working in modern laboratory
{/* Subtle border */}
); }