import React, { useMemo, useState } from "react";
import { motion } from "framer-motion";
const cyan = "#00f5ff";
function Icon({ type = "terminal", className = "" }) {
const common = { className, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true };
const paths = {
home: <>>,
shield: <>>,
code: <>>,
monitor: <>>,
file: <>>,
mail: <>>,
user: <>>,
tools: <>>,
briefcase: <>>,
folder: <>>,
starshield: <>>,
server: <>>,
globe: <>>,
clock: <>>,
target: <>>,
lock: <>>,
brain: <>>,
fingerprint: <>>,
download: <>>,
github: <>>,
linkedin: <>>,
youtube: <>>,
cube: <>>,
};
return ;
}
const certs = [
{ name: "ISC2 Certified in Cybersecurity (CC)", issuer: "ISC2", date: "Oct 2025", expires: "Oct 2029", logo: "ISC²", accent: "cyan" },
{ name: "LPIC-1", issuer: "Linux Professional Institute", date: "Oct 2016", expires: "Never Expires", logo: "L", accent: "yellow" },
{ name: "Google Cybersecurity Specialization", issuer: "Google", date: "Sep 2024", expires: "Active", logo: "G", accent: "cyan" },
{ name: "AWS Cloud Solutions Architect", issuer: "AWS", date: "Oct 2023", expires: "Active", logo: "aws", accent: "orange" },
];
const skills = [
["Linux / Sysadmin", 95, "cyan"],
["Cybersecurity", 95, "cyan"],
["Threat Hunting", 90, "cyan"],
["DFIR / Forensics", 90, "cyan"],
["Penetration Testing", 90, "purple"],
["Cloud Security", 85, "purple"],
["AI / AI Security", 80, "orange"],
["Networking", 75, "orange"],
["Automation", 85, "cyan"],
];
const nav = [
["home", "Home"], ["user", "About"], ["starshield", "Certifications"], ["code", "Skills"],
["monitor", "Projects"], ["tools", "Tools"], ["briefcase", "Experience"], ["file", "Blog"], ["mail", "Contact"],
];
function MatrixRain() {
const columns = useMemo(() => Array.from({ length: 88 }, (_, i) => ({ id: i, left: i * 1.2, delay: -(i % 18), speed: 8 + (i % 8) })), []);
return
{columns.map((c) =>
{Array.from({ length: 60 }, (_, i) => {Math.random() > .5 ? "1" : "0"}
)}
)}
;
}
function HudPanel({ children, className = "" }) {
return
{children}
;
}
function HackerAvatar() {
return ;
}
function WorldMap() {
const points = useMemo(() => Array.from({ length: 420 }, (_, i) => {
const x = Math.random() * 100;
const y = Math.random() * 70 + 6;
const band = Math.sin(x / 7) * 12 + 38;
const inLand = Math.abs(y - band) < 18 || (x > 10 && x < 30 && y > 15 && y < 50) || (x > 45 && x < 70 && y > 8 && y < 42) || (x > 68 && x < 94 && y > 20 && y < 58);
return { x, y, show: inLand || Math.random() > .72 };
}).filter(p => p.show), []);
return ;
}
function TopNav() {
const top = [["home", "Home"], ["starshield", "Certifications"], ["code", "Skills"], ["monitor", "Projects"], ["file", "Resume"], ["mail", "Contact"]];
return
{top.map(([icon, label], i) =>
{label})}
System Status:Online
;
}
function Sidebar() {
return ;
}
function CertPanel() {
return
Certifications
{certs.map(c =>
{c.logo}
{c.name}
{c.issuer}
Issued: {c.date} • {c.expires}
ACTIVE
)}
;
}
function SkillsPanel() {
return
Skills Matrix
{skills.map(([name, val, color]) =>
)}
;
}
function StatsPanel() {
const stats = [["starshield", "150+", "Certifications", "cyan"], ["server", "12+", "Platforms", "cyan"], ["globe", "20+", "Domains", "purple"], ["clock", "5000+", "Hours Invested", "purple"], ["code", "10+", "Active Projects", "purple"], ["target", "100%", "Pass Rate", "cyan"]];
return
Quick Stats
{stats.map(([icon, num, label, color]) =>
)}
;
}
function Projects() {
const cards = [["terminal", "Threat Hunting Lab", "End-to-end threat hunting lab using ELK, Sigma, YARA & Zeek.", "Threat Hunting", "cyan"], ["lock", "Linux Hardening Suite", "Automated Linux hardening scripts for secure baseline configurations.", "Linux", "cyan"], ["fingerprint", "DFIR Case Studies", "Digital forensics case walkthroughs and analysis with real-world scenarios.", "DFIR", "purple"], ["brain", "AI Security Research", "Exploring AI security, prompt injection, and adversarial AI threats.", "AI Security", "orange"]];
return
Featured Projects
{cards.map(([icon, title, text, tag, color]) =>
)}
;
}
export default function XE1PHIXPortfolio() {
return
Welcome to the system
XE1PHIX_
Cybersecurity Engineer
Linux Specialist • Threat Hunter • AI Enthusiast
I secure systems. Hunt threats. Automate the future.
Linux is my foundation. Security is my mission.
› whoami
xe1phix@root:~$ specialist in
linux, cybersecurity, dfir, threat
hunting, automation & ai security
› access_granted █
;
}