import React, { useState, useEffect, useRef } from 'react'; import { ArrowRight, Github, ExternalLink, Mail, Terminal, Code, Shield, FileCode, User, Clock, Send } from 'lucide-react'; // Main App Component export default function CyberpunkPortfolio() { const [isLoading, setIsLoading] = useState(true); const [loadingProgress, setLoadingProgress] = useState(0); const [activeSection, setActiveSection] = useState('home'); const [terminalInput, setTerminalInput] = useState(''); const [terminalHistory, setTerminalHistory] = useState([ { type: 'system', content: 'System initialized. Type "help" for available commands.' } ]); const [isDarkMode, setIsDarkMode] = useState(true); const terminalRef = useRef(null); const [typedText, setTypedText] = useState(''); const fullText = "I'm a full-stack developer and ethical hacker specializing in secure application development and penetration testing."; const typingSpeed = 50; // Simulate loading sequence useEffect(() => { const loadingInterval = setInterval(() => { setLoadingProgress(prev => { if (prev >= 100) { clearInterval(loadingInterval); setTimeout(() => setIsLoading(false), 500); return 100; } return prev + Math.floor(Math.random() * 5) + 1; }); }, 100); return () => clearInterval(loadingInterval); }, []); // Typing effect for hero section useEffect(() => { if (isLoading) return; let index = 0; const typeNextChar = () => { if (index < fullText.length) { setTypedText(fullText.substring(0, index + 1)); index++; setTimeout(typeNextChar, typingSpeed); } }; typeNextChar(); }, [isLoading]); // Matrix background effect useEffect(() => { if (isLoading) return; const canvas = document.getElementById('matrix-bg'); const ctx = canvas.getContext('2d'); canvas.width = window.innerWidth; canvas.height = window.innerHeight; const chars = "01アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン"; const fontSize = 14; const columns = canvas.width / fontSize; const drops = []; for (let i = 0; i < columns; i++) { drops[i] = Math.floor(Math.random() * -100); } const draw = () => { ctx.fillStyle = 'rgba(10, 14, 23, 0.05)'; ctx.fillRect(0, 0, canvas.width, canvas.height); ctx.fillStyle = '#00ff9d20'; ctx.font = `${fontSize}px monospace`; for (let i = 0; i < drops.length; i++) { const text = chars[Math.floor(Math.random() * chars.length)]; ctx.fillText(text, i * fontSize, drops[i] * fontSize); if (drops[i] * fontSize > canvas.height && Math.random() > 0.975) { drops[i] = 0; } drops[i]++; } }; const matrixInterval = setInterval(draw, 50); const handleResize = () => { canvas.width = window.innerWidth; canvas.height = window.innerHeight; }; window.addEventListener('resize', handleResize); return () => { clearInterval(matrixInterval); window.removeEventListener('resize', handleResize); }; }, [isLoading]); // Terminal functionality const handleTerminalSubmit = (e) => { e.preventDefault(); const input = terminalInput.trim().toLowerCase(); setTerminalHistory(prev => [...prev, { type: 'input', content: `> ${input}` }]); let response; switch (input) { case 'help': response = ` Available commands: - help: Display this help message - about: Learn about me - skills: View my technical skills - projects: Browse my portfolio - blog: Read my technical articles - contact: Get in touch - clear: Clear terminal history `; break; case 'about': setActiveSection('about'); response = "Navigating to About section..."; break; case 'skills': response = ` Technical Skills: - Frontend: React, Next.js, TypeScript, TailwindCSS - Backend: Node.js, Python, Go, PostgreSQL, MongoDB - DevOps: Docker, Kubernetes, AWS, CI/CD - Security: Penetration Testing, Vulnerability Assessment, OWASP Top 10 - Tools: Burp Suite, Metasploit, Wireshark, Nmap `; break; case 'projects': setActiveSection('portfolio'); response = "Navigating to Portfolio section..."; break; case 'blog': setActiveSection('blog'); response = "Navigating to Blog section..."; break; case 'contact': setActiveSection('contact'); response = "Navigating to Contact section..."; break; case 'clear': setTerminalHistory([{ type: 'system', content: 'Terminal cleared. Type "help" for available commands.' }]); setTerminalInput(''); return; default: response = `Command not recognized: ${input}. Type "help" for available commands.`; } setTerminalHistory(prev => [...prev, { type: 'system', content: response }]); setTerminalInput(''); // Auto-scroll terminal to bottom if (terminalRef.current) { setTimeout(() => { terminalRef.current.scrollTop = terminalRef.current.scrollHeight; }, 10); } }; // Loading screen if (isLoading) { return (

SYSTEM BOOT SEQUENCE

Initializing cybersecurity protocols...

BOOT_SEQUENCE {loadingProgress}%

> Initializing system kernel...

> Loading security modules...

> Establishing secure connection...

> Running vulnerability scan...

> Deploying frontend components...

50 ? "mb-1" : "mb-1 hidden"}> > Optimizing rendering engine...

70 ? "mb-1" : "mb-1 hidden"}> > Finalizing cryptographic handshake...

90 ? "mb-1" : "mb-1 hidden"}> > System ready. Preparing interface...

> ACCESS GRANTED

); } return (
{/* Matrix background */} {/* Noise overlay */}
{/* Header */}
CYBERDEV
{/* Hero Section */} {activeSection === 'home' && (

ETHICAL HACKER & DEVELOPER

{typedText}

terminal@cyberdev:~
{terminalHistory.map((entry, index) => (
{entry.content}
))}
{'>'} setTerminalInput(e.target.value)} className="flex-1 bg-transparent border-none outline-none text-[#e0e0e0] font-mono" autoFocus />
)} {/* About Section */} {activeSection === 'about' && (

/ ABOUT ME

I'm a passionate full-stack developer and ethical hacker with over 8 years of experience building secure, high-performance web applications and identifying security vulnerabilities.

My approach combines creative problem-solving with rigorous security practices. I believe that truly great software must be both functional and secure from the ground up.

When I'm not coding or hunting for vulnerabilities, I contribute to open-source projects and participate in CTF competitions to sharpen my skills.

Development

  • Full-Stack Web Development
  • Mobile App Development
  • API Design & Integration
  • Performance Optimization

Security

  • Penetration Testing
  • Vulnerability Assessment
  • Security Code Reviews
  • Bug Bounty Hunting

Technical Skills

Frontend Development 90%
Backend Development 85%
Web Security 95%
DevOps & Cloud 80%
Mobile Development 75%

Certifications

  • Certified Ethical Hacker (CEH)

    EC-Council

  • OSCP (Offensive Security Certified Professional)

    Offensive Security

  • AWS Certified Solutions Architect

    Amazon Web Services

)} {/* Portfolio Section */} {activeSection === 'portfolio' && (

/ PORTFOLIO

Development Projects

{/* Project 1 */}

SecureAuth Platform

A zero-trust authentication platform with biometric verification and real-time threat detection.

React Node.js WebAuthn JWT
{/* Project 2 */}

CryptoVault

A blockchain-based secure storage solution with multi-signature authentication and audit trails.

TypeScript Solidity Web3.js Next.js
{/* Project 3 */}

ThreatScanner

An automated vulnerability scanner with ML-powered threat detection and remediation suggestions.

Python TensorFlow Docker Flask

Security Research

{/* Security Research 1 */}

OAuth 2.0 Implementation Vulnerabilities

Discovered and responsibly disclosed critical authentication bypass vulnerabilities in popular OAuth 2.0 implementations affecting multiple enterprise applications.

Authentication OAuth CVE-2022-XXXX
Read Case Study
{/* Security Research 2 */}

GraphQL Injection Techniques

Researched and documented novel GraphQL injection techniques that bypass traditional API security measures, affecting multiple high-profile applications.

GraphQL Injection API Security
Read Paper

CTF Achievements

DEF CON CTF

Finalist (Team: CyberPhantoms)

Las Vegas, 2022

HackTheBox Pro Labs

Ranked #12 Globally

2021-2023

Google CTF

3rd Place (Web Exploitation)

Online, 2023

)} {/* Blog Section */} {activeSection === 'blog' && (

/ TECHNICAL BLOG

{/* Featured Article */}
FEATURED
Security June 15, 2023

Securing Modern Web Applications: Beyond the OWASP Top 10

An in-depth analysis of emerging web security threats that go beyond the traditional OWASP Top 10, with practical mitigation strategies for developers and security professionals.

Read Article
{/* Regular Articles */}
Development May 22, 2023

Building Secure React Applications with TypeScript

Learn how to leverage TypeScript's type system to prevent common security vulnerabilities in React applications, from XSS protection to secure state management.

Read Article
Security April 10, 2023

JWT Security: Common Pitfalls and Best Practices

A comprehensive guide to securing JSON Web Tokens in your applications, covering everything from algorithm selection to token validation and secure storage.

Read Article
DevOps March 5, 2023

Secure CI/CD Pipelines: Protecting Your Development Workflow

Discover how to implement security controls throughout your CI/CD pipeline to prevent supply chain attacks and ensure the integrity of your deployment process.

Read Article
Cryptography February 18, 2023

Practical Cryptography for Web Developers

A developer-friendly introduction to modern cryptographic techniques, with practical examples of implementing secure encryption, hashing, and digital signatures in web applications.

Read Article
)} {/* Experience Timeline */} {activeSection === 'experience' && (

/ EXPERIENCE

{/* Experience 1 */}

Lead Security Engineer

CyberShield Technologies

2021 - Present
  • Led a team of 5 security engineers in implementing zero-trust architecture across enterprise applications
  • Developed and implemented secure SDLC practices, reducing critical vulnerabilities by 78%
  • Created an automated security testing framework integrated with CI/CD pipelines
{/* Experience 2 */}

Senior Full-Stack Developer

TechNova Solutions

2018 - 2021
  • Architected and developed scalable microservices using Node.js, React, and AWS
  • Implemented secure authentication and authorization systems for financial applications
  • Mentored junior developers on secure coding practices and performance optimization
{/* Experience 3 */}

Security Researcher

Independent Consultant

2016 - 2018
  • Participated in bug bounty programs, discovering and reporting critical vulnerabilities
  • Conducted security assessments and penetration tests for various clients
  • Published research on novel web application attack vectors
)} {/* Contact Section */} {activeSection === 'contact' && (

/ CONTACT

Interested in working together or have a security inquiry? Feel free to reach out through the form or via the contact methods below.

Email

contact@cyberdev.com

GitHub

github.com/cyberdev

LinkedIn

linkedin.com/in/cyberdev

PGP Key

For secure communications, you can encrypt your message using my PGP public key.

                      -----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGJhX3YBEAC7t7IvgY5yR+WjRlrw3QNfYIHJFu0WZ0NR...
[PGP KEY TRUNCATED]
-----END PGP PUBLIC KEY BLOCK-----

Send a Message

)}
{/* Global Styles */}
); }