import { useState, useEffect } from 'react'; import Link from 'next/link'; import { VscArrowRight } from 'react-icons/vsc'; import styles from '@/styles/HomePage.module.css'; export default function HomePage() { const [activeLineIndex, setActiveLineIndex] = useState(0); const codeLines = [ { code: 'const HomePage = () => {', type: 'function' }, { code: ' const [isLoaded, setIsLoaded] = useState(true);', type: 'variable', }, { code: ' const developerInfo = {', type: 'variable' }, { code: " name: 'Ahmed Galadima',", type: 'array-item' }, { code: " role: 'Senior QA Engineer & Consultant',", type: 'array-item' }, { code: " bio: 'Dynamic Senior QA Engineer & Consultant with over 10+ years of expertise'", type: 'array-item' }, { code: ' };', type: 'array-end' }, { code: '', type: 'blank' }, { code: ' useEffect(() => {', type: 'nested-function' }, { code: ' document.title = `${developerInfo.name} | Portfolio`;', type: 'return', }, { code: ' setIsLoaded(true);', type: 'function-call' }, { code: ' }, []);', type: 'close' }, { code: '', type: 'blank' }, { code: ' return (', type: 'return-object' }, { code: '
', type: 'object-method' }, { code: '

{developerInfo.name}

', type: 'object-method' }, { code: '

{developerInfo.role}

', type: 'object-method' }, { code: '
', type: 'object-method' }, { code: ' View Projects', type: 'object-method', }, { code: '
', type: 'object-method' }, { code: '
', type: 'object-method' }, { code: ' );', type: 'close' }, { code: '};', type: 'close-function' }, { code: '', type: 'blank' }, { code: 'export default HomePage;', type: 'function-call' }, ]; useEffect(() => { const interval = setInterval(() => { setActiveLineIndex((prev) => (prev + 1) % codeLines.length); }, 2000); return () => clearInterval(interval); }, [codeLines.length]); return (
{codeLines.map((_, index) => (
{index + 1}
))}
{codeLines.map((line, index) => (
{line.code}
))}

Ahmed Galadima

Senior QA Engineer & Consultant

Dynamic Senior QA Engineer & Consultant with 10+ years of expertise in delivering 30% faster software releases and 40%+ cost savings for startups and enterprises. Specialize in transforming chaotic workflows into streamlined, automation-driven processes that ensure client products exceed market standards.

View Projects
{'{'}
{'}'}
{'<>'}
{'/>'}
{'()'}
{'[]'}
{'=>'}
); } export async function getStaticProps() { return { props: { title: 'Home' }, }; }