import React, { useState, useEffect } from 'react'; import { motion } from 'framer-motion'; import mypicture from "../../images/mypic.webp"; import 'animate.css'; /* --------------------------- ROTATING TITLES ---------------------------- */ const rotatingTexts = [ "I'm Victor Bodude", "I'm a Software Engineer", "I'm a Web Developer", "I'm a Cloud Engineer", "I'm a Blockchain Innovator", "I'm a Tech Entrepreneur" ]; function RotatingTitles() { const [index, setIndex] = useState(0); useEffect(() => { const timer = setInterval(() => { setIndex((prev) => (prev + 1) % rotatingTexts.length); }, 3000); return () => clearInterval(timer); }, []); return ( {rotatingTexts[index]} ); } /* --------------------------- ANIMATION FUNCTION ---------------------------- */ const fadeIn = (direction, delay) => { return { hidden: { y: direction === 'up' ? 40 : direction === 'down' ? -40 : 0, x: direction === 'left' ? 40 : direction === 'right' ? -40 : 0, opacity: 0, }, show: { y: 0, x: 0, opacity: 1, transition: { type: 'spring', once: true, duration: 1.2, delay: delay, ease: [0.5, 0.25, 0.25, 0.75], }, }, }; }; /* --------------------------- HOME COMPONENT ---------------------------- */ export default function Home() { return (
{/* LEFT CONTENT */} {/* STATUS */}
Software Engineer • Tech Entrepreneur
{/* ROTATING TITLES */} {/* INTRO TEXT */}

I build clean, scalable applications and cloud platforms using modern technologies. I specialize in Full-Stack Engineering, Cloud Infrastructure, AI Systems, Cybersecurity, Blockchain Innovation, and high-performance backend architecture.

My mission is to create meaningful digital solutions that impact businesses, creators, and Africa’s growing tech ecosystem.

{/* MY CV BUTTON (UPDATED) */} My CV
{/* RIGHT IMAGE */} Victor Bodude
); }