'use client'; import { Canvas, useFrame } from '@react-three/fiber'; import { Float, Box, Sphere } from '@react-three/drei'; import { useRef } from 'react'; import * as THREE from 'three'; function RotatingLogo({ isScrolled }: { isScrolled: boolean }) { const group = useRef(null); useFrame((state, delta) => { if (group.current) { group.current.rotation.y += delta; group.current.rotation.x = Math.sin(state.clock.elapsedTime * 2) * 0.1; } }); const color = isScrolled ? '#00bc84' : '#10b981'; return ( {/* Abstract "J" shape for Jaiben */} ); } export default function Logo3D({ scrolled = false, className = "w-12 h-12" }: { scrolled?: boolean, className?: string }) { return (
); }