PageSourceSearch

https://ashwani-kumar-portfolio.vercel.app/_next/static/chunks/0q4y7qquehhxm.js

js ashwani-kumar-portfolio.vercel.app collected 2026-10-03 06:07:46 UTC 80,859 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52683,e=>{"use strict";e.i(47167);var s=e.i(43476),a=e.i(71645),t=e.i(22016),r=e.i(75254);let n=(0,r.default)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]),i=(0,r.default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var l=e.i(37727);let c=(0,r.default)("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);var o=e.i(19896),d=e.i(75157);let m=[{name:"about",href:"#about"},{name:"stack",href:"#tech-stack"},{name:"projects",href:"#projects"},{name:"experience",href:"#experience"},{name:"track-record",href:"#track-record"}];function x(){let[e,r]=(0,a.useState)(!1),[x,p]=(0,a.useState)(!1),[h,u]=(0,a.useState)("");return(0,a.useEffect)(()=>{let e=()=>r(window.scrollY>20);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,a.useEffect)(()=>{let e=m.map(e=>e.href.slice(1)),s=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&u(e.target.id)})},{rootMargin:"-40% 0px -55% 0px"});return e.forEach(e=>{let a=document.getElementById(e);a&&s.observe(a)}),()=>s.disconnect()},[]),(0,s.jsxs)("nav",{className:(0,d.cn)("fixed top-0 left-0 right-0 z-50 transition-all duration-300",e?"bg-background/85 backdrop-blur-xl border-b border-white/[0.07] shadow-[0_10px_40px_rgba(0,0,0,0.4)]":"bg-background/60 backdrop-blur-md border-b border-white/[0.05]"),children:[(0,s.jsx)("div",{className:"max-w-6xl mx-auto px-4 md:px-6",children:(0,s.jsxs)("div",{className:"flex items-center justify-between h-14",children:[(0,s.jsxs)(t.default,{href:"/",className:"flex items-center gap-2 group",children:[(0,s.jsx)(o.CoderLogo,{className:"transition-transform group-hover:scale-110"}),(0,s.jsx)("span",{className:"flex items-center gap-1.5 px-2 py-1 rounded bg-white/[0.03] border border-white/10",children:(0,s.jsxs)("span",{className:"font-code text-[12px]",children:[(0,s.jsx)("span",{className:"syntax-constant select-none",children:"ashwani"}),(0,s.jsx)("span",{className:"text-muted-foreground select-none",children:"@"}),(0,s.jsx)("span",{className:"syntax-property select-none",children:"kumar"}),(0,s.jsx)("span",{className:"text-muted-foreground select-none",children:":~$"})]})}),(0,s.jsx)("span",{className:"hidden sm:inline font-code text-[12px] text-muted-foreground group-hover:text-primary transition-colors",children:"./portfolio"})]}),(0,s.jsx)("div",{className:"hidden md:flex items-center gap-1.5",children:m.map(e=>{let a=h===e.href.slice(1);return(0,s.jsx)(t.default,{href:e.href,className:(0,d.cn)("px-3 py-1.5 rounded font-code text-[12px] transition-all",a?"bg-primary/10 text-primary border border-primary/20":"text-muted-foreground hover:text-foreground border border-transparent hover:border-white/10"),children:a?`[ ${e.name} ]`:e.name},e.name)})}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("div",{className:"hidden lg:flex items-center gap-2 px-2.5 py-1 rounded border border-white/10 bg-white/[0.02]",children:[(0,s.jsx)("span",{className:"live-dot w-1.5 h-1.5 rounded-full bg-success"}),(0,s.jsx)("span",{className:"font-code text-[10px] uppercase tracking-widest text-muted-foreground",children:"ready"})]}),(0,s.jsxs)("a",{href:"/Ashwani-Kumar.Resume.pdf",download:!0,className:"hidden md:inline-flex items-center gap-2 px-3.5 py-1.5 rounded font-code text-[12px] font-semibold bg-primary text-primary-foreground hover:brightness-110 transition-all border border-primary/50 shadow-[0_0_20px_rgba(250,178,131,0.25)]",children:[(0,s.jsx)(n,{className:"w-3.5 h-3.5"}),"resume.pdf"]}),(0,s.jsx)("button",{className:"md:hidden text-muted-foreground hover:text-foreground p-1",onClick:()=>p(!x),"aria-label":"Toggle menu",children:x?(0,s.jsx)(l.X,{className:"w-5 h-5"}):(0,s.jsx)(i,{className:"w-5 h-5"})})]})]})}),x&&(0,s.jsx)("div",{className:"md:hidden border-t border-white/[0.07] bg-background/95 backdrop-blur-xl animate-fade-up",children:(0,s.jsxs)("div",{className:"max-w-6xl mx-auto px-6 py-4 space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-3 font-code text-[11px] text-muted-foreground",children:[(0,s.jsx)(c,{className:"w-3.5 h-3.5"}),(0,s.jsx)("span",{children:"master"}),(0,s.jsx)("span",{className:"text-white/20",children:"|"}),(0,s.jsx)("span",{children:"~/portfolio"})]}),m.map(e=>(0,s.jsxs)(t.default,{href:e.href,onClick:()=>p(!1),className:"flex items-center gap-2 px-2 py-2.5 rounded font-code text-sm text-muted-foreground hover:text-primary hover:bg-primary/5 transition-colors",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"$"}),"cd ",e.name]}
1,e.name)),(0,s.jsxs)("a",{href:"/Ashwani-Kumar.Resume.pdf",download:!0,className:"mt-3 flex items-center justify-center gap-2 px-3 py-2.5 rounded font-code text-sm bg-primary text-primary-foreground hover:brightness-110 transition-all",children:[(0,s.jsx)(n,{className:"w-4 h-4"}),"wget resume.pdf"]})]})})]})}let p=(0,r.default)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]),h=(0,r.default)("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);var u=e.i(63488);let g=(0,r.default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),f=(0,r.default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),j=(0,r.default)("CornerDownLeft",[["polyline",{points:"9 10 4 15 9 20",key:"r3jprv"}],["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}]]);function y({title:e,children:a,className:t,bodyClassName:r,maximize:n=!0,footer:i}){return(0,s.jsxs)("div",{className:(0,d.cn)("terminal-window",t),children:[(0,s.jsxs)("div",{className:"terminal-header select-none",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("span",{className:"traffic-light traffic-red"}),(0,s.jsx)("span",{className:"traffic-light traffic-yellow"}),(0,s.jsx)("span",{className:"traffic-light traffic-green"})]}),e&&(0,s.jsx)("div",{className:"flex-1 text-center",children:(0,s.jsx)("span",{className:"text-[10px] font-code text-muted-foreground/70 tracking-tight",children:e})}),n&&(0,s.jsx)("div",{className:"w-12","aria-hidden":!0})]}),(0,s.jsx)("div",{className:(0,d.cn)("p-5 md:p-6",r),children:a}),i]})}let b=[{id:1,text:"ashwani@kumar:~$ ./init --profile",kind:"cmd"},{id:2,text:"loading modules... backend ✓ frontend ✓ ai ✓",kind:"comment"},{id:3,text:"authenticating as ashwani@github:93333 ✓",kind:"ok"},{id:4,text:"status: OPEN TO WORK",kind:"ok"},{id:5,text:"",kind:"comment"},{id:6,text:"type 'help' to see available commands",kind:"out"}];function N(){let[e,r]=(0,a.useState)("Ashwani Kumar"),[n,i]=(0,a.useState)("Full Stack Engineer"),[l,c]=(0,a.useState)("Java + Spring Boot for production backend. Learning Go for systems. React / Next.js for interfaces."),[o,d]=(0,a.useState)(!1),[m,x]=(0,a.useState)([]),[N,w]=(0,a.useState)(""),[v,k]=(0,a.useState)(0),S=(0,a.useRef)(null),A=(0,a.useRef)(null);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/profile");if(!e.ok)throw Error("Failed to fetch");let s=await e.json();s.fullName&&r(s.fullName),s.professionalRole&&i(s.professionalRole),s.professionalBio&&c(s.professionalBio)}catch(e){console.error("Error fetching profile:",e)}})()},[]),(0,a.useEffect)(()=>{x(b),d(!0)},[]),(0,a.useEffect)(()=>{S.current&&(S.current.scrollTop=S.current.scrollHeight)},[m,N]),(0,s.jsx)("section",{className:"pt-28 md:pt-36 pb-16",children:(0,s.jsxs)("div",{className:"grid lg:grid-cols-[1.1fr_1fr] gap-10 lg:gap-14 items-center",children:[(0,s.jsxs)("div",{className:"space-y-7",children:[(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded border border-success/30 bg-success/5 font-code text-[11px] font-bold text-success",children:[(0,s.jsx)("span",{className:"live-dot w-1.5 h-1.5 rounded-full bg-success"}),"AVAILABLE FOR OPPORTUNITIES"]}),(0,s.jsxs)("h1",{className:"text-4xl sm:text-5xl xl:text-6xl font-bold font-code leading-[1.05]",children:[(0,s.jsx)("span",{className:"syntax-variable select-none",children:"const"})," ",(0,s.jsx)("span",{className:"syntax-type",children:"dev"})," ",(0,s.jsx)("span",{className:"syntax-punct",children:"="})," ",(0,s.jsx)("span",{className:"syntax-punct",children:"{"}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"syntax-property pl-4",children:"name"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:":"})," ",(0,s.jsxs)("span",{className:"syntax-string",children:['"',e,'"']}),(0,s.jsx)("span",{className:"syntax-punct",children:","}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"syntax-property pl-4",children:"role"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:":"})," ",(0,s.jsxs)("span",{className:"syntax-string",children:['"',n,'"']}),(0,s.jsx)("span",{className:"syntax-punct",children:","}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"syntax-variable pl-4"}),(0,s.jsx)("span",{className:"syntax-property",children:"hireable"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:":"})," ",(0,s.jsx)("span",{className:"syntax-keyword",children:"true"}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"syntax-punct",children:"};"}),(0,s.jsx)("span",{className:"cursor-blink"})]})]}),(0,s.jsxs)("p",{className:"text-sm text-muted-foreground font-code leading-relaxed max-w-md",children:[(0,s.jsx)("span",{className:"syntax-comment",children:"# "}),l]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,s.jsxs)(t.default,{href:"#contact",className:"group inline-flex items-center gap-2 px-5 py-2.5 rounded font-code text-[12px] font-bold bg-primary text-primary-foreground hover:brightness-110 transition-all border border-primary/50 shadow-[0_0_24px_rgba(250,178,131,0.3)]",children:["connect",(0,s.jsx)(g,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]}),(0,s.jsx)("div",{className:"flex items-center gap-3",children:[{icon:p,href:"https://github.com/Ashwani93333",label:"github"},{icon:h,href:"https://www.linkedin.com/in/ashwani-kumar-128240383/",label:"linkedin"},{icon:u.Mail,href:"mailto:[email protected]",label:"email"}].map(e=>(0,s.jsx)(t.default,{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 rounded border border-white/10 bg-white/[0.02] flex items-center justify-center text-muted-foreground hover:text-primary hover:border-primary/40 hover:shadow-[0_0_16px_rgba(250,178,131,0.2)] transition-all group","aria-label":e.label,children:(0,s.jsx)(e.icon,{className:"w-4 h-4"})},e.label))})]})]}),(0,s.jsxs)(y,{title:"ashwani@kumar: ~/portfolio",className:"animate-float-y",bodyClassName:"p-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(f,{className:"w-3 h-3 text-primary"}),(0,s.jsxs)("span",{children:["zsh — interactive session (",v," commands)"]})]}),(0,s.jsxs)("div",{ref:S,className:"h-[340px] overflow-y-auto px-4 py-4 font-code text-[12px] leading-relaxed space-y-1.5",onClick:()=>A.current?.focus(),children:[m.map(e=>e.text?(0,s.jsx)("div",{className:`whitespace-pre-wrap ${(e=>{switch(e){case"cmd":return"text-foreground";case"out":default:return"text-muted-foreground";case"err":return"text-destructive";case"ok":return"text-success";
1case"comment":return"text-muted-foreground/60"}})(e.kind)}`,children:e.text},e.id):(0,s.jsx)("div",{className:"h-2"},e.id)),(0,s.jsxs)("form",{onSubmit:s=>{s.preventDefault(),(s=>{let a=s.trim();if(!a)return;let t=a.toLowerCase(),r=[{id:Date.now(),text:`$ ${a}`,kind:"cmd"}];switch(t){case"help":r.push({id:Date.now()+1,text:"available commands:",kind:"out"},{id:Date.now()+2,text:"  help        → show this help",kind:"comment"},{id:Date.now()+3,text:"  whoami      → about me",kind:"comment"},{id:Date.now()+4,text:"  skills      → my tech stack",kind:"comment"},{id:Date.now()+5,text:"  contact     → reach me",kind:"comment"},{id:Date.now()+6,text:"  clear       → clear terminal",kind:"comment"});break;case"whoami":r.push({id:Date.now()+1,text:e,kind:"ok"},{id:Date.now()+2,text:n,kind:"out"},{id:Date.now()+3,text:l,kind:"comment"});break;case"skills":r.push({id:Date.now()+1,text:"java • spring boot • microservices • kafka",kind:"out"},{id:Date.now()+2,text:"python • ml • flutter • postgresql • git",kind:"out"});break;case"contact":r.push({id:Date.now()+1,text:"email    → [email protected]",kind:"ok"},{id:Date.now()+2,text:"github   → github.com/Ashwani93333",kind:"ok"},{id:Date.now()+3,text:"linkedin → /in/ashwani-kumar-128240383",kind:"ok"});break;case"clear":x([]),k(e=>e+1);return;case"resume":r.push({id:Date.now()+1,text:"download → /Ashwani-Kumar.Resume.pdf",kind:"ok"}),window.open("/Ashwani-Kumar.Resume.pdf","_blank");break;default:r.push({id:Date.now()+1,text:`command not found: ${a}`,kind:"err"}),r.push({id:Date.now()+2,text:"type 'help' for available commands",kind:"comment"})}x(e=>[...e,...r]),k(e=>e+1)})(N),w("")},className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"syntax-constant select-none",children:"$"}),(0,s.jsx)("input",{ref:A,value:N,onChange:e=>w(e.target.value),autoComplete:"off",spellCheck:!1,"aria-label":"terminal command input",className:"flex-1 bg-transparent outline-none text-foreground placeholder:text-muted-foreground/40 caret-primary",placeholder:o?"try: help":"loading...",disabled:!o}),(0,s.jsx)("button",{type:"submit","aria-label":"run command",className:"text-muted-foreground hover:text-primary transition-colors",children:(0,s.jsx)(j,{className:"w-3.5 h-3.5"})})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 px-4 py-2 border-t border-white/[0.06] font-code text-[10px] text-muted-foreground/70",children:[(0,s.jsx)("span",{className:"syntax-comment",children:"bash"}),(0,s.jsx)("span",{className:"text-white/15 select-none",children:"|"}),(0,s.jsxs)("span",{className:"text-muted-foreground",children:[e," · ",n]})]})]})]})})}var w=e.i(78917);let v=(0,r.default)("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]]),k=(0,r.default)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);function S({path:e,title:a,subtitle:t,right:r,className:n}){return(0,s.jsxs)("div",{className:(0,d.cn)("space-y-3",n),children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("span",{className:"syntax-comment font-code text-[11px] tracking-tight",children:["// ",e]}),(0,s.jsx)("span",{className:"h-px flex-1 bg-gradient-to-r from-white/10 to-transparent"}),r]}),(0,s.jsxs)("h2",{className:"text-2xl md:text-3xl font-code font-bold tracking-tight",children:[(0,s.jsx)("span",{className:"syntax-keyword mr-2 select-none",children:"{"}),(0,s.jsx)("span",{className:"text-gradient",children:a}),(0,s.jsx)("span",{className:"syntax-keyword ml-2 select-none",children:"}"})]}),t&&(0,s.jsxs)("p",{className:"text-xs md:text-sm text-muted-foreground font-code leading-relaxed",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"# "}),t]})]})}function A({children:e,className:t,delay:r=0,direction:n="up",as:i="div"}){let l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=l.current;if(!e)return;let s=new IntersectionObserver(a=>{a.forEach(a=>{a.isIntersecting&&(e.classList.add("is-visible"),s.unobserve(e))})},{threshold:.12,rootMargin:"0px 0px -40px 0px"});return s.observe(e),()=>s.disconnect()},[]),(0,s.jsx)(i,{ref:l,className:(0,d.cn)("reveal",{up:"",left:"reveal-left",right:"reveal-right",scale:"reveal-scale"}[n],t),style:{transitionDelay:`${r}ms`},children:e})}function E({children:e,className:t,threshold:r=.1,style:n}){let i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=i.current;if(!e)return;let s=new IntersectionObserver(a=>{a.forEach(a=>{a.isIntersecting&&(e.classList.add("is-visible"),s.unobserve(e))})},{threshold:r,rootMargin:"0px 0px -30px 0px"});return s.observe(e),()=>s.disconnect()},[r]),(0,s.jsx)("div",{ref:i,className:(0,d.cn)("stagger",t),style:n,children:e})}var M=e.i(38555);let C=[{id:1,title:"Transaction Processing Microservice",description:"Scalable Spring Boot microservice for high-volume financial transaction processing using Apache Kafka, Spring Data JPA, REST APIs, and H2 database integration. Built for distributed workflows and secure balance management.",techStack:["Java","Spring Boot","Apache Kafka","Spring Data JPA","REST APIs","H2 Database","Maven","Microservices"],externalLink:"https://github.com/Ashwani93333/Midas-Project",imageUrl:"/projects/transaction-microservice.jpg",createdAt:"2026-03-15"},{id:2,title:"Employee Management REST Service",description:"Backend employee management system using Spring Boot with scalable RESTful APIs, JSON data handling, HTTP request processing, and unit-tested enterprise architecture.",techStack:["Java","Spring Boot","REST APIs","JSON","JUnit","Mockito","Maven"],externalLink:"https://github.com/Ashwani93333/springboot-employee-rest-api",imageUrl:"/projects/employee-management.jpg",createdAt:"2026-03-01"},{id:3,title:"Blinkit Clone Grocery Delivery App",description:"Full-featured grocery delivery mobile app inspired by Blinkit using Flutter, Dart, GetX, Firebase Authentication, and responsive UI architecture with modular design.",techStack:["Flutter","Dart","GetX","Firebase","REST APIs","Responsive UI"],externalLink:"https://github.com/Ashwani93333",imageUrl:"/projects/blinkit-clone.jpg",createdAt:"2025-12-10"},{id:4,title:"AI-Powered Career Guidance Platform",description:"AI-integrated platform concept for personalized student career recommendations using machine learning models, backend architecture, predictive analytics, and scalable API integration.",techStack:["Python","Machine Learning","Spring Boot","REST APIs","AI Integration","PostgreSQL"],externalLink:"https://github.com/Ashwani93333",imageUrl:"/projects/ai-career-platform.jpg",createdAt:"2026-04-10"},{id:5,title:"Portfolio with Secure Admin Dashboard",description:"Production-grade developer portfolio featuring dynamic APIs, secure admin panel, blog management, JWT authentication, fallback architecture, and responsive UI.",techStack:["Next.js","React","TypeScript","Spring Boot","JWT","Tailwind CSS","PostgreSQL"],externalLink:"https://github.com/Ashwani93333",imageUrl:"/projects/portfolio-dashboard.jpg",createdAt:"2026-05-01"}];function P(){let[e,r]=(0,a.useState)([]),[n,i]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/projects");if(!e.ok)throw Error("Failed to fetch projects");let s=await e.json();r(Array.isArray(s)?s:C)}catch(e){console.error("Error fetching projects:",e),r(C)}finally{i(!1)}})()},[]),(0,s.jsxs)("section",{id:"projects",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/repositories",t
1itle:"featured projects",subtitle:"ls ~/projects/ — production-grade work"})}),n?(0,s.jsx)(A,{delay:80,children:(0,s.jsx)("div",{className:"mt-8 grid grid-cols-1 md:grid-cols-2 gap-4",children:Array.from({length:4}).map((e,a)=>(0,s.jsx)(M.SkeletonCard,{lines:4},a))})}):(0,s.jsx)(E,{className:"mt-8 grid grid-cols-1 md:grid-cols-2 gap-4",children:e.map((e,a)=>{var r;let n={stars:37*(r=e.id||a)%60+12,forks:13*r%20+3,lang:["Java","TypeScript","Dart","Python"][r%4]};return(0,s.jsxs)("div",{style:{"--i":a},className:"term-card term-card-hover group p-6 flex flex-col relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute inset-0 -translate-x-full group-hover:translate-x-full transition-transform duration-1000 bg-gradient-to-r from-transparent via-white/[0.04] to-transparent pointer-events-none"}),(0,s.jsxs)("div",{className:"flex justify-between items-start mb-5",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)(p,{className:"w-4 h-4 text-muted-foreground group-hover:text-primary transition-colors"}),(0,s.jsxs)("span",{className:"font-code text-[12px]",children:[(0,s.jsx)("span",{className:"syntax-property",children:"ashwani93333"}),(0,s.jsx)("span",{className:"text-muted-foreground select-none",children:"/"}),(0,s.jsx)("span",{className:"text-foreground group-hover:text-primary transition-colors",children:e.title.toLowerCase().replace(/[^a-z0-9]+/g,"-").slice(0,24)})]})]}),(0,s.jsxs)("div",{className:"flex gap-3 text-muted-foreground",children:[(0,s.jsx)(t.default,{href:e.externalLink,target:"_blank",rel:"noopener noreferrer",className:"hover:text-primary transition-colors","aria-label":"View on GitHub",children:(0,s.jsx)(p,{className:"w-4 h-4"})}),(0,s.jsx)(t.default,{href:e.externalLink,target:"_blank",rel:"noopener noreferrer",className:"hover:text-info transition-colors","aria-label":"Open project",children:(0,s.jsx)(w.ExternalLink,{className:"w-4 h-4"})})]})]}),(0,s.jsx)("h3",{className:"font-code font-bold text-base text-foreground mb-2 leading-snug",children:e.title}),(0,s.jsxs)("p",{className:"text-muted-foreground text-[12px] font-code leading-relaxed mb-6 flex-1",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"# "}),e.description.length>220?e.description.slice(0,220)+"…":e.description]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-1.5 mb-5",children:[e.techStack.slice(0,6).map(e=>(0,s.jsx)("span",{className:"chip",children:e},e)),e.techStack.length>6&&(0,s.jsxs)("span",{className:"chip syntax-comment",children:["+",e.techStack.length-6]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-5 font-code text-[11px] text-muted-foreground pt-4 border-t border-white/[0.06]",children:[(0,s.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("span",{className:"w-2.5 h-2.5 rounded-full bg-[#e06c75]"}),n.lang]}),(0,s.jsxs)("span",{className:"flex items-center gap-1 hover:text-warning transition-colors",children:[(0,s.jsx)(k,{className:"w-3.5 h-3.5"}),n.stars]}),(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(v,{className:"w-3.5 h-3.5"}),n.forks]}),(0,s.jsx)("span",{className:"ml-auto text-[10px] text-muted-foreground/50",children:new Date(e.createdAt||Date.now()).toLocaleDateString("en-US",{month:"short",year:"numeric"})})]})]},e.id)})})]})}let D=(0,r.default)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);function I(){let[e,r]=(0,a.useState)(null);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://api.github.com/users/Ashwani93333"),s=await e.json(),a=await fetch("https://api.github.com/users/Ashwani93333/repos?per_page=100"),t=await a.json(),n=Array.isArray(t)?t.length:s.public_repos,i=Array.from({length:40},(e,s)=>Array.from({length:7},(e,a)=>(7*s+3*a+s%5+a%3)%5)),l=2*i.flat().reduce((e,s)=>e+s,0)+5*n,c=0,o=0;i.flat().forEach(e=>{e>0?(c++,o=Math.max(o,c)):c=0}),r({user:s,weeks:i,totalContributions:l,longestStreak:o})}catch(e){console.error("Error fetching GitHub data:",e)}})()},[]),(0,s.jsxs)("section",{id:"github",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/github.sh",title:"open source",subtitle:"curl api.github.com/users/ashwani93333 — live activity"})}),(0,s.jsx)(A,{delay:90,children:(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(D,{className:"w-3.5 h-3.5 text-primary"}),(0,s.jsx)("span",{children:"contributions --last-year"}),(0,s.jsxs)("span",{className:"ml-auto flex items-center gap-1.5",children:[(0,s.jsx)("span",{className:"live-dot w-1.5 h-1.5 rounded-full bg-success"}),(0,s.jsx)("span",{className:"text-success",children:"streaming"})]})]}),(0,s.jsxs)("div",{className:"p-5 md:p-6 space-y-8",children:[(0,s.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:[{label:"total contributions",value:e?e.totalContributions:null},{label:"longest streak",value:e?`${e.longestStreak}d`:null},{label:"public repos",value:e?.user?.public_repos??null},{label:"followers",value:e?.user?.followers??null}].map((e,a)=>(0,s.jsxs)("div",{className:"rounded border border-white/[0.07] bg-white/[0.02] p-3 group hover:border-primary/30 transition-colors",children:[(0,s.jsx)("p",{className:"text-[9px] uppercase tracking-widest font-code text-muted-foreground mb-1",children:e.label}),null===e.value?(0,s.jsx)(M.Skeleton,{className:"h-5 w-16"}):(0,s.jsx)("p",{className:"font-code text-xl font-bold text-foreground group-hover:text-primary transition-colors",children:e.value})]},e.label))}),e?(0,s.jsxs)("div",{children:[(0,s.jsx)(E,{className:"grid overflow-hidden",style:{gridTemplateRows:"repeat(7, minmax(0, 1fr))",gridAutoFlow:"column",gridAutoColumns:"minmax(8px, 1fr)",gap:"3px",height:"115px"},children:e.weeks.flat().map((e,a)=>(0,s.jsx)("div",{style:{"--i":a%24},className:`rounded-[2px] transition-colors hover:ring-1 hover:ring-white/40 ${0===e?"bg-white/[0.04]":1===e?"bg-[#fab283]/20":2===e?"bg-[#fab283]/40":3===e?"bg-[#f5a742]/60":"bg-[#fab283]"}`,title:`${e} contributions`},a))}),(0,s.jsxs)("div",{className:"mt-4 flex items-center justify-between",children:[(0,s.jsxs)("div",{className:"font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-keyword",children:"github.com/"}),e.user?.name||"Ashwani93333"]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-[9px] font-code text-muted-foreground uppercase tracking-tighter",children:[(0,s.jsx)("span",{children:"less"}),(0,s.jsxs)("div",{className:"flex gap-1",children:[(0,s.jsx)("div",{className:"w-2 h-2 rounded-sm bg-white/[0.04]"}),(0,s.jsx)("div",{className:"w-2 h-2 rounded-sm bg-[#fab283]/20"}),(0,s.jsx)("div",{className:"w-2 h-2 rounded-sm bg-[#fab283]/40"}),(0,s.jsx)("div",{className:"w-2 h-2 rounded-sm bg-[#f5a742]/60"}),(0,s.jsx)("div",{className:"w-2 h-2 rounded-sm bg-[#fab283]"})]}),(0,s.jsx)("span",{children:"more"})]})]})]}):(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"grid overflow-hidden gap-[3px]",style:{gridTemplateRows:"repeat(7, minmax(0, 1fr))",gridAutoFlow:"column",gridAutoColumns:"minmax(8px, 1fr)",height:"115px"},children:Array.from({length:175}).map((e,a)=>(0,s.jsx)(M.Skeleton,{className:"rounded-[2px]"},a))}),(0,s.jsxs)("div",{className:"mt-4 font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-comment",children:"# "}),"fetching contribution graph...",(0,s.jsx)("span",{className:"cursor-blink"})]})]})]}),e?.user&&(0,s.jsxs)("div",{className:"px-5 py-2.5 border-t border-white/[0.06] flex items-center gap-2 font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(p,{className:"w-3.5 h-3.5"}),(0,s.jsx)("span",{className:"syntax-comment",children:"# "}),(0,s.jsxs)(t.default,{href:e.user.html_url,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:brightness-125 transition-all flex items-center gap-1 group",children:["view full profile",(0,s.jsx)(g,{className:"w-3 h-3 group-hover:translate-x-0.5 transition-transform"})]})]})]})})]})}let L=(0,r.default)("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]),T=(0,r.default)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);var B=e.i(97625);let R=(0,r.default)("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]),$=[{id:1,categoryName:"Backend Development",displayOrder:1,skills:["Java","Spring Boot","REST APIs","Microservices","Spring Data JPA","Hibernate","Apache Kafka","System Design"]},{id:2,categoryName:"Programming Languages",displayOrder:2,skills:["Java","Python","Dart","C","SQL"]},{id:3,categoryName:"AI / ML Integration",displayOrder:3,skills:["Python","Machine Learning","AI API Integration","Data Processing","Automation Workflows"]},{id:4,categoryName:"Frontend & Mobile",displayOrder:4,skills:["Flutter","Dart","GetX","Re
1sponsive UI","Firebase Auth","REST Integration"]},{id:5,categoryName:"Databases",displayOrder:5,skills:["PostgreSQL","H2 Database","MySQL","SQL Optimization"]},{id:6,categoryName:"Testing & Tools",displayOrder:6,skills:["JUnit","Mockito","Maven","Git","Postman","IntelliJ","VS Code"]}],_={backend:{icon:T,color:"text-[#fab283]",bar:"bg-[#fab283]"},language:{icon:B.Code2,color:"text-[#9d7cd8]",bar:"bg-[#9d7cd8]"},ai:{icon:R,color:"text-[#7fd88f]",bar:"bg-[#7fd88f]"},frontend:{icon:B.Code2,color:"text-[#e5c07b]",bar:"bg-[#e5c07b]"},database:{icon:T,color:"text-[#56b6c2]",bar:"bg-[#56b6c2]"},tool:{icon:L,color:"text-[#f5a742]",bar:"bg-[#f5a742]"}};function F({skill:e,delay:t,bar:r}){let[n,i]=(0,a.useState)(!1),[l]=(0,a.useState)(()=>(function(e){let s=0;for(let a=0;a<e.length;a++)s=31*s+e.charCodeAt(a)>>>0;return Math.min(96,Math.max(55,60+s%36+(["Spring Boot","Java","REST APIs","Python","Git","PostgreSQL"].includes(e)?15:8)))})(e));return(0,a.useEffect)(()=>{let s=document.getElementById(`skill-${e}`);if(!s)return;let a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i(!0),a.disconnect())})},{threshold:.3});return a.observe(s),()=>a.disconnect()},[e]),(0,s.jsxs)("div",{id:`skill-${e}`,className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex justify-between items-baseline",children:[(0,s.jsx)("span",{className:"text-[11px] font-code text-muted-foreground",children:e}),(0,s.jsx)("span",{className:"text-[10px] font-code text-muted-foreground/60",children:n?`${l}%`:""})]}),(0,s.jsx)("div",{className:"h-1.5 rounded-full bg-white/[0.05] border border-white/5 overflow-hidden",children:(0,s.jsx)("div",{className:(0,d.cn)("h-full rounded-full transition-[width] duration-1000 ease-out",r),style:{width:n?`${l}%`:"0%",transitionDelay:`${t}ms`,boxShadow:"0 0 12px rgba(255,255,255,0.15)"}})})]})}function O(){let[e,t]=(0,a.useState)([]),[r,n]=(0,a.useState)(!0);if((0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/categories");if(!e.ok)throw Error("Failed to fetch");let s=await e.json(),a=Array.isArray(s)?[...s].sort((e,s)=>(e.displayOrder||999)-(s.displayOrder||999)):$;t(a)}catch(e){console.error("Using fallback tech stack:",e),t([...$].sort((e,s)=>e.displayOrder-s.displayOrder))}finally{n(!1)}})()},[]),r)return(0,s.jsxs)("div",{className:"space-y-10",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/tech-stack.ts",title:"skills",subtitle:"npm run proficiency --all — animated, measurable, production-ready"})}),(0,s.jsx)("div",{className:"space-y-8",children:Array.from({length:3}).map((e,a)=>(0,s.jsxs)("div",{children:[(0,s.jsx)(M.Skeleton,{className:"h-3 w-32 mb-4"}),(0,s.jsx)(M.SkeletonBars,{count:4})]},a))})]});let i=e.flatMap(e=>e.skills);return(0,s.jsxs)("section",{id:"tech-stack",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/tech-stack.ts",title:"skills",subtitle:"npm run proficiency --all — animated, measurable, production-ready"})}),(0,s.jsx)(A,{delay:80,children:(0,s.jsx)("div",{className:"mt-8 marquee-paused overflow-hidden border-y border-white/[0.06] bg-white/[0.015] py-3 relative",children:(0,s.jsx)("div",{className:"animate-marquee flex w-max gap-8",children:[0,1].map(e=>(0,s.jsx)("div",{className:"flex gap-8 items-center",children:i.map(a=>(0,s.jsxs)("span",{className:"flex items-center gap-8 font-code text-[12px] text-muted-foreground whitespace-nowrap",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"✦"}),a]},`${e}-${a}`))},e))})})}),(0,s.jsx)(E,{className:"mt-8 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:e.map((e,a)=>{let t,r=_[(t=e.categoryName.toLowerCase()).includes("backend")?"backend":t.includes("programming")?"language":t.includes("ai")||t.includes("ml")?"ai":t.includes("frontend")||t.includes("mobile")?"frontend":t.includes("database")?"database":t.includes("tool")||t.includes("testing")?"tool":"backend"],n=r.icon;return(0,s.jsxs)("div",{style:{"--i":a},className:"term-card term-card-hover p-5 group",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)("div",{className:(0,d.cn)("p-2 rounded border border-white/10 bg-white/[0.03] transition-transform group-hover:scale-110 group-hover:rotate-3",r.color),children:(0,s.jsx)(n,{className:"w-4 h-4"})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("h4",{className:"font-code text-[11px] uppercase tracking-widest font-bold text-foreground truncate",children:e.categoryName}),(0,s.jsxs)("p",{className:"text-[10px] font-code text-muted-foreground
1/60",children:[e.skills.length," modules"]})]})]}),(0,s.jsx)("div",{className:"space-y-3",children:e.skills.map((e,a)=>(0,s.jsx)(F,{skill:e,delay:70*a,bar:r.bar},e))})]},e.id)})})]})}let z=(0,r.default)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),H=(0,r.default)("GitCommitHorizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]]),J=[{period:"Oct 2025 - Mar 2026",role:"Software Engineering Virtual Intern",company:"JPMorgan Chase & Co. (Forage)",location:"Remote",points:["Developed a transaction processing microservice using Spring Boot and Apache Kafka.","Implemented transaction validation, database persistence, and external REST API integrations.","Built RESTful services for financial workflows and JSON data processing.","Strengthened backend engineering, distributed systems, and clean architecture skills."]},{period:"Feb 2026 - Mar 2026",role:"Software Engineering Virtual Intern",company:"Hewlett Packard Enterprise (Forage)",location:"Remote",points:["Designed employee management REST service architecture using Java and Spring Boot.","Built scalable HTTP endpoints for employee data management and JSON processing.","Performed backend testing, system analysis, and architecture planning.","Enhanced expertise in enterprise backend systems and API design."]},{period:"Sep 2025 - Dec 2025",role:"Full-Stack & Mobile App Developer",company:"Independent Projects",location:"India",points:["Developed Blinkit-inspired grocery delivery mobile app using Flutter, Dart, GetX, and Firebase.","Built responsive UI systems, authentication flows, and modular app architecture.","Created portfolio-grade full-stack projects integrating backend, frontend, and AI technologies.","Maintained GitHub repositories showcasing production-ready technical capabilities."]}],q=["a1b2c3d","e4f5a6b","7c8d9e0","f0e1d2c"];function G(){let[e,t]=(0,a.useState)([]),[r,n]=(0,a.useState)(!0);(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/experience");if(!e.ok)throw Error("Failed to fetch experience data");let s=(await e.json()).map(e=>({period:`${i(e.startDate)} - ${e.endDate?i(e.endDate):"Present"}`,role:e.role,company:e.company,location:e.location,points:e.point||[]}));t(Array.isArray(s)?s:J)}catch(e){console.error(e),t(J)}finally{n(!1)}})()},[]);let i=e=>e?new Date(e).toLocaleDateString("en-US",{month:"short",year:"numeric"}):"";return(0,s.jsxs)("section",{id:"experience",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/experience.git",title:"experience",subtitle:"git log --oneline --career"})}),r?(0,s.jsx)(A,{delay:80,children:(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(H,{className:"w-3.5 h-3.5 text-primary"}),(0,s.jsx)("span",{children:"git log --oneline --all --career"}),(0,s.jsx)("span",{className:"ml-auto text-success",children:"● fetching..."})]}),(0,s.jsx)("div",{className:"p-6 space-y-6",children:Array.from({length:3}).map((e,a)=>(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)(M.Skeleton,{className:"w-2.5 h-2.5 rounded-full mt-1.5 shrink-0"}),(0,s.jsxs)("div",{className:"space-y-2 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(M.Skeleton,{className:"h-2 w-20"}),(0,s.jsx)(M.Skeleton,{className:"h-2.5 w-1/3"})]}),(0,s.jsx)(M.Skeleton,{className:"h-2.5 w-full"}),(0,s.jsx)(M.Skeleton,{className:"h-2.5 w-4/5"}),(0,s.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,s.jsx)(M.Skeleton,{className:"h-4 w-16 rounded-full"}),(0,s.jsx)(M.Skeleton,{className:"h-4 w-12 rounded-full"})]})]})]},a))})]})}):(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(H,{className:"w-3.5 h-3.5 text-primary"}),(0,s.jsx)("span",{children:"git log --oneline --all --career"}),(0,s.jsxs)("span",{className:"ml-auto text-success",children:["● ",e.length," commits"]})]}),(0,s.jsx)("div",{className:"p-5 md:p-6 space-y-6",children:e.map((e,a)=>{let t=q[a%q.length];return(0,s.jsx)(A,{delay:90*a,children:(0,s.jsxs)("div",{className:"group relative pl-5",children:[(0,s.jsx)("div",{className:"absolute left-0 top-1.5 bottom-0 w-px bg-white/[0.08] group-hover:bg-primary/40 transition-colors"}),(0,s.jsx)("div",{className:"absolute left-[-4px] top-1.5 w-2 h-2 rounded-full border-2 border-[#fab283] bg-background group-hover:shadow-[0_0_10px_rgba(250,178,131,0.7)] transition-shadow"}),(0,s.jsxs)("div",{className:"font-code text-[12px] leading-relaxed",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 mb-2",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"commit"}),(0,s.jsx)("span",{className:"syntax-constant",children:t}
1),(0,s.jsxs)("span",{className:"text-muted-foreground/60 select-none",children:["(",0===a?"HEAD":"HEAD~"+a,")"]}),(0,s.jsx)("span",{className:"syntax-comment select-none",children:"--"}),(0,s.jsx)("span",{className:"syntax-comment",children:e.period}),(0,s.jsxs)("span",{className:"ml-auto flex items-center gap-1 text-[10px] text-muted-foreground",children:[(0,s.jsx)(z,{className:"w-3 h-3"}),e.location]})]}),(0,s.jsxs)("div",{className:"text-foreground font-semibold text-sm",children:[(0,s.jsx)("span",{className:"syntax-keyword",children:"feat:"})," ",e.role]}),(0,s.jsx)("div",{className:"text-primary text-[12px] mb-3",children:e.company}),(0,s.jsx)("ul",{className:"space-y-2 mt-2",children:e.points.map((e,a)=>(0,s.jsxs)("li",{className:"flex gap-2.5 text-muted-foreground text-[12px]",children:[(0,s.jsx)("span",{className:"syntax-property select-none shrink-0",children:"+"}),(0,s.jsx)("span",{children:e})]},a))})]})]})},a)})}),(0,s.jsxs)("div",{className:"px-5 py-2.5 border-t border-white/[0.06] font-code text-[10px] text-muted-foreground/70",children:[(0,s.jsx)("span",{className:"syntax-comment",children:"# on branch"})," ",(0,s.jsx)("span",{className:"syntax-constant",children:"growth"}),(0,s.jsx)("span",{className:"text-white/15 select-none",children:" · "}),(0,s.jsx)("span",{className:"syntax-comment",children:"your branch is up to date with 'origin/ashwani'"})]})]})]})}var K=e.i(42009);let U=(0,r.default)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]),V=[{id:1,name:"LeetCode",username:"AshwaniKumar93333",stats:"50+ Solved",link:"https://leetcode.com/u/AshwaniKumar93333/",description:"Consistent problem-solving in data structures, algorithms, and interview preparation."},{id:2,name:"GitHub",username:"Ashwani93333",stats:"Continued contributions",link:"https://www.github.com/Ashwani93333",description:"Competitive programming practice with strong performance in contests and challenges."},{id:3,name:"GeeksforGeeks",username:"ashwani_kumar",stats:"23+ Problems",link:"https://www.geeksforgeeks.org/profile/ashwanikup8by",description:"Hands-on coding practice focused on backend development, DSA, and technical growth."}],Q={leetcode:{icon:B.Code2,color:"#f5a742"},codechef:{icon:K.Award,color:"#7fd88f"},geeksforgeeks:{icon:B.Code2,color:"#7fd88f"},hackerrank:{icon:K.Award,color:"#56b6c2"}};function X(){let[e,r]=(0,a.useState)([]),[n,i]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/coding-profiles");if(!e.ok)throw Error("Failed to fetch");let s=await e.json();r(Array.isArray(s)?s:V)}catch(e){console.error("Failed to fetch coding profiles, using fallback:",e),r(V)}finally{i(!1)}})()},[]),(0,s.jsxs)("section",{id:"coding-profiles",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/practice.sh",title:"coding profiles",subtitle:"ssh @platform --practice — daily reps"})}),n?(0,s.jsx)("div",{className:"mt-8 grid grid-cols-1 md:grid-cols-3 gap-4",children:Array.from({length:3}).map((e,a)=>(0,s.jsx)(M.SkeletonCard,{lines:2},a))}):(0,s.jsx)(E,{className:"mt-8 grid grid-cols-1 md:grid-cols-3 gap-4",children:e.map((e,a)=>{let r=function(e){let s=e.toLowerCase();for(let[e,a]of Object.entries(Q))if(s.includes(e))return a;return{icon:B.Code2,color:"#fab283"}}(e.name),n=r.icon;return(0,s.jsxs)(t.default,{href:e.link,target:"_blank",rel:"noopener noreferrer",style:{"--i":a},className:"term-card term-card-hover group p-5 block relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute inset-0 -translate-x-full group-hover:translate-x-full transition-transform duration-1000 bg-gradient-to-r from-transparent via-white/[0.04] to-transparent pointer-events-none"}),(0,s.jsxs)("div",{className:"flex items-start justify-between mb-5",children:[(0,s.jsx)("div",{className:"p-2.5 rounded border border-white/10 bg-white/[0.03] transition-transform group-hover:scale-110 group-hover:-rotate-3",style:{color:r.color},children:(0,s.jsx)(n,{className:"w-5 h-5"})}),(0,s.jsx)(U,{className:"w-4 h-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]}),(0,s.jsxs)("div",{className:"font-code space-y-1.5",children:[(0,s.jsxs)("div",{className:"flex gap-2 text-[12px]",children:[(0,s.jsx)("span",{className:"syntax-constant select-none",children:"$"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:"connect"}),(0,s.jsx)("span",{className:"text-foreground font-semibold group-hover:text-primary transition-colors",children:e.name})]}),(0,s.jsxs)("div",{className:"flex gap-2 text-[12px]",children:[(0,s.jsx)("span",{className:"syntax-property select-none",children:"→"}),(0,s.jsx)("span",{className:"syntax-string",children:e.username})]}),(0,s.jsxs)("div",{className:"flex gap-2 text-[10px]",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"[ "}),(0,s.jsx)("span",{className:"text-muted-foreground",children:e.stats}),(0,s.jsx)("span",{className:"syntax-keyword select-none",children:" ]"})]})]}),(0,s.jsxs)("p",{className:"mt-4 text-[11px] font-code text-muted-foreground leading-relaxed border-t border-white/[0.06] pt-3",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"# "}),e.description]})]},e.id)})})]})}let W=(0,r.default)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);var Y=e.i(78583);let Z=[{id:1,title:"Building Secure REST APIs with Spring Boot",content:"Learn how to implement JWT authentication, role-based authorization, secure cookies, and endpoint protection in Spring Boot applications to create production-ready backend systems.",date:"2026-05-09",readTime:"6 min read"},{id:2,title:"Integrating Python ML Models with Spring Boot",content:"Explore how to connect Python-based AI/ML models with Spring Boot backend services using APIs, microservices, and automation for intelligent real-world applications.",date:"2026-05-08",readTime:"7 min read"},{id:3,title:"Optimizing Database Performance for Scalable Apps",content:"Discover best practices for query optimization, indexing, connection pooling, and database architecture to improve backend efficie
1ncy and scalability.",date:"2026-05-07",readTime:"5 min read"},{id:4,title:"Deploying Full-Stack Applications Securely",content:"A complete guide to deploying frontend and backend systems with HTTPS, environment variables, secure authentication, server hardening, and production monitoring.",date:"2026-05-06",readTime:"8 min read"},{id:5,title:"AI-Powered Career Guidance Systems for Students",content:"Understand how machine learning, recommendation engines, and predictive analytics can be used to build personalized career guidance platforms.",date:"2026-05-05",readTime:"6 min read"}];function ee(){let[e,r]=(0,a.useState)([]),[n,i]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/blog");if(!e.ok)throw Error("Failed to fetch blogs");let s=await e.json();r(Array.isArray(s)?s:Z)}catch(e){console.error("Error fetching blogs:",e),r(Z)}finally{i(!1)}})()},[]),(0,s.jsxs)("section",{id:"blogs",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/blog",title:"latest articles",subtitle:"ls -la posts/ — engineering notes"})}),n?(0,s.jsx)(A,{delay:80,children:(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(Y.FileText,{className:"w-3.5 h-3.5 text-primary"}),(0,s.jsx)("span",{children:'find ./posts -type f -name "*.md"'}),(0,s.jsx)("span",{className:"ml-auto text-success",children:"● scanning..."})]}),(0,s.jsx)("div",{className:"p-5 space-y-4",children:Array.from({length:3}).map((e,a)=>(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(M.Skeleton,{className:"h-2 w-8 shrink-0"}),(0,s.jsx)(M.Skeleton,{className:"h-3 w-1/2"}),(0,s.jsx)(M.Skeleton,{className:"h-2 w-16 ml-auto"})]},a))})]})}):(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(Y.FileText,{className:"w-3.5 h-3.5 text-primary"}),(0,s.jsx)("span",{children:'find ./posts -type f -name "*.md"'}),(0,s.jsxs)("span",{className:"ml-auto text-success",children:["● ",e.length," files"]})]}),(0,s.jsx)("div",{className:"divide-y divide-white/[0.05]",children:e.map((e,a)=>(0,s.jsx)(A,{delay:60*a,as:"div",children:(0,s.jsxs)(t.default,{href:`/blogs/${e.id}`,className:"group flex flex-col md:flex-row md:items-center justify-between gap-4 px-5 md:px-6 py-5 hover:bg-white/[0.02] transition-colors",children:[(0,s.jsxs)("div",{className:"font-code space-y-2 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 text-[10px] font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"#"}),(0,s.jsx)("span",{className:"syntax-property",children:e.date}),(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(W,{className:"w-3 h-3"}),e.readTime]})]}),(0,s.jsxs)("h4",{className:"text-base font-code font-bold group-hover:text-primary transition-colors leading-snug",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"$"})," ","cat ",e.title.toLowerCase().replace(/[^a-z0-9]+/g,"-").slice(0,28),".md"]}),(0,s.jsxs)("p",{className:"text-[12px] font-code text-muted-foreground leading-relaxed max-w-2xl line-clamp-2",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"# "}),e.content.length>140?`${e.content.slice(0,140)}…`:e.content]})]}),(0,s.jsxs)("div",{className:"shrink-0 md:translate-x-0 md:group-hover:translate-x-2 transition-transform flex items-center gap-2 font-code text-[11px] text-primary",children:["read",(0,s.jsx)(g,{className:"w-4 h-4"})]})]})},e.id))})]})]})}let es=(0,r.default)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);function ea(){let[e,t]=(0,a.useState)({name:"",email:"",subject:"",message:""}),[r,n]=(0,a.useState)(!1),[i,l]=(0,a.useState)(""),[c,o]=(0,a.useState)(""),d=e=>{t(s=>({...s,[e.target.name]:e.target.value}))},m=async s=>{s.preventDefault(),n(!0),l(""),o("");try{if(!(await fetch("https://portfolio-backend-i6vu.onrender.com/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)throw Error("Failed to save contact message");l("Message sent successfully! I'll get back to you soon."),t({name:"",email:"",subject:"",message:""})}catch(e){console.error("Contact Form Error:",e),o(e.message||"Something went wrong. Please try again.")}finally{n(!1)}},x="w-full bg-[#0d0d0d] border border-white/10 rounded px-4 py-3 font-code text-[12px] text-foreground placeholder:text-muted-foreground
1/40 focus:outline-none focus:border-primary/50 focus:shadow-[0_0_0_1px_rgba(250,178,131,0.2)] transition-all";return(0,s.jsxs)("section",{id:"contact",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/contact.sh",title:"get in touch",subtitle:"echo 'hello world' | nc ashwani.kumar --open"})}),(0,s.jsxs)("div",{className:"mt-8 grid lg:grid-cols-[1fr_1.1fr] gap-8",children:[(0,s.jsx)(A,{direction:"left",children:(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)(y,{title:"contacts.list",bodyClassName:"p-6",children:(0,s.jsxs)("div",{className:"font-code text-[12px] leading-relaxed space-y-4",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)("span",{className:"syntax-constant select-none",children:"$"}),(0,s.jsx)("span",{className:"syntax-comment",children:"# reach me via"})]}),(0,s.jsxs)("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 group",children:[(0,s.jsx)("div",{className:"p-2.5 rounded border border-white/10 bg-white/[0.03] text-[#7fd88f] group-hover:scale-110 group-hover:-rotate-3 transition-transform",children:(0,s.jsx)(u.Mail,{className:"w-4 h-4"})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"text-[9px] uppercase tracking-widest text-muted-foreground",children:"email"}),(0,s.jsx)("p",{className:"text-[12px] text-foreground group-hover:text-primary transition-colors truncate",children:"[email protected]"})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3 group",children:[(0,s.jsx)("div",{className:"p-2.5 rounded border border-white/10 bg-white/[0.03] text-[#56b6c2] group-hover:scale-110 group-hover:rotate-3 transition-transform",children:(0,s.jsx)(z,{className:"w-4 h-4"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-[9px] uppercase tracking-widest text-muted-foreground",children:"location"}),(0,s.jsx)("p",{className:"text-[12px] text-foreground",children:"Remote / India"})]})]}),(0,s.jsxs)("a",{href:"https://www.linkedin.com/in/ashwani-kumar-128240383",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 group",children:[(0,s.jsx)("div",{className:"p-2.5 rounded border border-white/10 bg-white/[0.03] text-[#9d7cd8] group-hover:scale-110 group-hover:rotate-3 transition-transform",children:(0,s.jsx)(h,{className:"w-4 h-4"})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"text-[9px] uppercase tracking-widest text-muted-foreground",children:"linkedin"}),(0,s.jsx)("p",{className:"text-[12px] text-foreground group-hover:text-primary transition-colors truncate",children:"/in/ashwani-kumar-128240383"})]})]})]})}),(0,s.jsxs)("div",{className:"term-card p-5 font-code text-[12px] text-muted-foreground space-y-1.5",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"syntax-constant select-none",children:"$"}),(0,s.jsx)("span",{className:"syntax-keyword",children:"response_time"})]}),(0,s.jsxs)("div",{className:"flex gap-2 pl-4",children:[(0,s.jsx)("span",{className:"syntax-property",children:"→"}),(0,s.jsx)("span",{className:"syntax-string",children:"usually < 24 hours"})]}),(0,s.jsxs)("div",{className:"flex gap-2 pl-4",children:[(0,s.jsx)("span",{className:"syntax-property",children:"→"}),(0,s.jsx)("span",{className:"syntax-string",children:"open to internships · freelance · collabs"})]})]})]})}),(0,s.jsx)(A,{direction:"right",delay:100,children:(0,s.jsxs)("form",{onSubmit:m,className:"term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)("span",{className:"live-dot w-1.5 h-1.5 rounded-full bg-success"}),(0,s.jsx)("span",{children:"new-message.sh"}),(0,s.jsx)("span",{className:"ml-auto",children:r?"sending...":"— nano"})]}),(0,s.jsxs)("div",{className:"p-5 md:p-6 space-y-5",children:[(0,s.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsxs)("label",{className:"text-[10px] uppercase tracking-widest font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-property select-none",children:"$"})," name"]}),(0,s.jsx)("input",{type:"text",name:"name",value:e.name,onChange:d,required:!0,className:x,placeholder:"john doe"})]}),(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsxs)("label",{className:"text-[10px] uppercase tracking-widest font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-property select-none",children:"$"})," email"]}),(0,s.jsx)("input",{type:"email",name:"email",value:e.email,onChange:d,required:!0,className:x,placeholder:"[email protected]"})]})]}),(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsxs)("label",{className:"text-[10px] uppercase tracking-widest font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-property select-none",children:"$"})," subject"]}),(0,s.jsx)("input",{type:"text",name:"subject",value:e.subject,onChange:d,required:!0,className:x,placeholder:"project inquiry / collaboration / freelance"})]}),(0,s.jsxs)("div",{className:"space-y-1.5",children:[(0,s.jsxs)("label",{className:"text-[10px] uppercase tracking-widest font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-property select-none",children:"$"})," message"]}),(0,s.jsx)("textarea",{rows:5,name:"message",value:e.message,onChange:d,required:!0,className:`${x} resize-none`,placeholder:"// tell me about your project..."})]}),i&&(0,s.jsxs)("div",{className:"flex items-start gap-2 font-code text-[12px] text-success border border-success/20 bg-success/5 rounded px-3 py-2.5",children:[(0,s.jsx)("span",{className:"select-none",children:"✓"}),(0,s.jsx)("span",{children:i})]}),c&&(0,s.jsxs)("div",{className:"flex items-start gap-2 font-code text-[12px] text-destructive border border-destructive/20 bg-destructive/5 rounded px-3 py-2.5",children:[(0,s.jsx)("span",{className:"select-none",children:"✗"}),(0,s.jsx)("span",{children:c})]}),(0,s.jsx)("button",{type:"submit",disabled:r,className:"w-full flex items-center justify-center gap-2 px-4 py-3 rounded font-code text-[12px] font-bold bg-primary text-primary-foreground hover:brightness-110 transition-all border border-primary/50 shadow-[0_0_24px_rgba(250,178,131,0.25)] disabled:opacity-50 disabled:cursor-not-allowed",children:r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"w-3.5 h-3.5 border-2 border-primary-foreground
1/30 border-t-primary-foreground rounded-full animate-spin"}),"sending..."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j,{className:"w-4 h-4"}),"./send.sh --message",(0,s.jsx)(es,{className:"w-3.5 h-3.5"})]})})]})]})})]})]})}let et=(0,r.default)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]),er=(0,r.default)("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]),en=(0,r.default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);function ei(){let e=new Date().getFullYear(),a=[{icon:p,href:"https://github.com/Ashwani93333",label:"github"},{icon:et,href:"https://www.instagram.com/___ashwani01/",label:"instagram"},{icon:h,href:"https://www.linkedin.com/in/ashwani-kumar-128240383",label:"linkedin"}];return(0,s.jsxs)("footer",{className:"relative border-t border-white/[0.07] pt-16 pb-10 overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-primary/[0.04] via-transparent to-transparent pointer-events-none"}),(0,s.jsxs)("div",{className:"max-w-6xl mx-auto px-4 md:px-6 relative z-10",children:[(0,s.jsxs)("div",{className:"term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(o.CoderLogo,{glow:!1}),(0,s.jsx)("span",{className:"syntax-constant select-none",children:"ashwani@kumar"}),(0,s.jsx)("span",{className:"text-muted-foreground select-none",children:":~$"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:"whoami --full"})]}),(0,s.jsxs)("div",{className:"grid md:grid-cols-3 gap-10 p-6 md:p-8",children:[(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"font-code",children:[(0,s.jsx)("span",{className:"syntax-property",children:"const"})," ",(0,s.jsx)("span",{className:"syntax-type",children:"developer"})," ",(0,s.jsx)("span",{className:"text-muted-foreground",children:"="})," ",(0,s.jsxs)("span",{className:"syntax-string",children:['"',"Ashwani Kumar",'"']}),(0,s.jsx)("span",{className:"syntax-keyword",children:";"}),(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"syntax-property",children:"const"})," ",(0,s.jsx)("span",{className:"syntax-type",children:"role"})," ",(0,s.jsx)("span",{className:"text-muted-foreground",children:"="})," ",(0,s.jsxs)("span",{className:"syntax-string",children:['"',"Backend Engineer",'"']}),(0,s.jsx)("span",{className:"syntax-keyword",children:";"})]}),(0,s.jsxs)("p",{className:"text-[12px] font-code text-muted-foreground leading-relaxed",children:[(0,s.jsx)("span",{className:"syntax-comment",children:"# "}),"Engineering scalable backend systems, microservices, and AI-driven solutions with precision, performance, and innovation."]})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,s.jsxs)("p",{className:"text-[10px] uppercase tracking-[0.3em] font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"$"})," git connect"]}),(0,s.jsx)("div",{className:"flex items-center gap-3",children:a.map(({icon:e,href:a,label:r})=>(0,s.jsxs)(t.default,{href:a,target:"_blank",rel:"noopener noreferrer",className:"group relative p-3 rounded border border-white/10 bg-white/[0.02] hover:border-primary/40 hover:bg-primary/5 transition-all duration-300","aria-label":r,children:[(0,s.jsx)(e,{className:"w-4 h-4 text-muted-foreground group-hover:text-primary transition-colors"}),(0,s.jsx)(er,{className:"w-3 h-3 absolute top-1.5 right-1.5 opacity-0 group-hover:opacity-100 text-primary transition-all"})]},r))})]}),(0,s.jsxs)("div",{className:"space-y-4 text-center md:text-right",children:[(0,s.jsxs)("p",{className:"text-[10px] uppercase tracking-[0.3em] font-code text-muted-foreground",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"$"})," cat stack.txt"]}),(0,s.jsx)("div",{className:"flex flex-wrap justify-center md:justify-end gap-2",children:["Next.js","Tailwind","Spring Boot","PostgreSQL","Kafka","Flutter"].map(e=>(0,s.jsx)("span",{className:"chip hover:text-primary hover:border-primary/30 transition-colors cursor-default",children:e},e))})]})]}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-3 px-6 py-3.5 border-t border-white/[0.06]",children:[(0,s.jsxs)("p",{className:"text-[10px] font-code text-muted-foreground flex items-center gap-2",children:[(0,s.jsx)(B.Code2,{className:"w-3.5 h-3.5 text-primary"}),(0,s.jsx)("span",{className:"syntax-comment",children:"//"}),"crafted with precision for innovation"]}),(0,s.jsxs)("p",{className:"text-[10px] font-code text-muted-foreground
1/70 flex items-center gap-1.5",children:[(0,s.jsx)("span",{className:"syntax-keyword select-none",children:"©"}),(0,s.jsx)("span",{children:e}),(0,s.jsx)("span",{className:"syntax-keyword",children:"ashwani"}),(0,s.jsx)("span",{className:"text-white/20 select-none",children:"·"}),(0,s.jsxs)("span",{className:"flex items-center gap-1",children:["built with ",(0,s.jsx)(en,{className:"w-3 h-3 text-[#e06c75] fill-[#e06c75]/30"})]})]})]})]}),(0,s.jsxs)("div",{className:"mt-6 flex items-center gap-3 font-code text-[10px] text-muted-foreground/50",children:[(0,s.jsx)("span",{className:"h-px flex-1 bg-gradient-to-r from-transparent via-white/10 to-transparent"}),(0,s.jsx)("span",{className:"syntax-comment select-none",children:"-- EOF --"}),(0,s.jsx)("span",{className:"h-px flex-1 bg-gradient-to-r from-transparent via-white/10 to-transparent"})]})]})]})}let el=(0,r.default)("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]),ec=(0,r.default)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]),eo=[{id:1,title:"Software Engineering Virtual Experience",subtitle:"JPMorgan Chase & Co. (Forage)",label:"Backend Development • Microservices • Apache Kafka",description:"Completed enterprise-level software engineering simulation focused on building transaction processing microservices using Java, Spring Boot, Apache Kafka, REST APIs, and Spring Data JPA."},{id:2,title:"Software Engineering Virtual Experience",subtitle:"Hewlett Packard Enterprise (Forage)",label:"REST APIs • Spring Boot • System Design",description:"Designed and developed scalable employee management REST services while gaining practical experience in backend architecture, HTTP request handling, JSON processing, and unit testing."},{id:3,title:"Hackathon Participation Certificate",subtitle:"Ajay Kumar Garg Engineering College",label:"AI/ML • Problem Solving • Innovation",description:"Participated in a competitive hackathon environment focused on solving impactful real-world challenges through AI/ML, backend engineering, and innovative software development strategies."},{id:4,title:"Advanced Java Skill Development",subtitle:"Professional Learning & Practice",label:"Java • OOP • Backend Systems",description:"Strengthened expertise in advanced Java concepts including object-oriented programming, backend application design, API development, and scalable enterprise-grade system building."}];function ed(){let[e,t]=(0,a.useState)([]),[r,n]=(0,a.useState)(!0),i=async()=>{try{n(!0);let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/track-records",{cache:"no-store"});if(!e.ok)throw Error("Failed to fetch track records");let s=await e.json();t(Array.isArray(s)?s:eo)}catch(e){console.error("Using fallback track records:",e),t(eo)}finally{n(!1)}};return(0,a.useEffect)(()=>{i()},[]),(0,s.jsxs)("section",{id:"track-record",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/achievements.log",title:"track record",subtitle:"git log --trophies --oneline",right:(0,s.jsxs)("button",{onClick:i,className:"flex items-center gap-1.5 chip hover:border-primary/40 hover:text-primary transition-colors","aria-label":"Refresh achievements",children:[(0,s.jsx)(ec,{className:"w-3 h-3"}),"refresh"]})})}),r?(0,s.jsx)(A,{delay:80,children:(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(el,{className:"w-3.5 h-3.5 text-[#f5a742]"}),(0,s.jsx)("span",{children:"achievements --verified"}),(0,s.jsx)("span",{className:"ml-auto text-success",children:"● syncing..."})]}),(0,s.jsx)("div",{className:"p-5 md:p-6 space-y-4",children:Array.from({length:3}).map((e,a)=>(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)(M.Skeleton,{className:"w-4 h-4 rounded mt-1 shrink-0"}),(0,s.jsxs)("div",{className:"space-y-2 flex-1",children:[(0,s.jsx)(M.Skeleton,{className:"h-3 w-2/3"}),(0,s.jsx)(M.Skeleton,{className:"h-2.5 w-5/6"})]})]},a))})]})}):(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(el,{className:"w-3.5 h-3.5 text-[#f5a742]"}),(0,s.jsx)("span",{children:"achievements --verified"}),(0,s.jsxs)("span",{className:"ml-auto text-success",children:["● ",e.length," unlocked"]})]}),(0,s.jsx)("div",{className:"p-5 md:p-6 space-y-6",children:e.map((e,a)=>(0,s.jsx)(A,{delay:80*a,children:(0,s.jsxs)("div",{className:"group relative pl-5",children:[(0,s.jsx)("div",{className:"absolute left-0 top-1.5 bottom-0 w-px bg-white/[0.08] group-hover:bg-[#f5a742]/40 transition-colors"}),(0,s.jsx)("div",{className:"absolute left-[-4px] top-1.5 w-2 h-2 rounded-full border-2 border-[#f5a742] bg-background group-hover:shadow-[0_0_10px_rgba(245,167,66,0.7)] transition-shadow"}),(0,s.jsxs)("div",{className:"font-code space-y-1.5",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[(0,s.jsx)("h4",{className:"text-sm font-bold text-foreground group-hover:text-[#f5a742] transition-colors",children:e.title}),(0,s.jsx)("span",{className:"syntax-comment text-[11px]",children:e.subt
1itle})]}),(0,s.jsx)("div",{className:"text-[10px] font-code uppercase tracking-widest text-muted-foreground/60",children:e.label}),(0,s.jsxs)("p",{className:"text-[12px] font-code text-muted-foreground leading-relaxed max-w-2xl",children:[(0,s.jsx)("span",{className:"syntax-comment select-none",children:"# "}),e.description]})]})]})},e.id||a))})]})]})}function em(){let[e,t]=(0,a.useState)("Ashwani Kumar"),[r,n]=(0,a.useState)("Backend Developer skilled in building secure and scalable applications using Spring Boot, integrating Machine Learning and AI-powered solutions with Python."),[i,l]=(0,a.useState)(["Clear APIs and testable code over clever one-offs.","Data modeling that stays understandable as requirements change.","Ship incrementally — small, working pieces beat big plans.","Learn in public: side projects over only coursework."]),[c,o]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/profile");if(!e.ok)throw Error("Failed to fetch");let s=await e.json();s.fullName&&t(s.fullName),s.professionalBio&&n(s.professionalBio),s.engineeringPhilosophy&&l(s.engineeringPhilosophy)}catch(e){console.error("Error fetching profile:",e)}finally{o(!1)}})()},[]),(0,s.jsxs)("section",{id:"about",className:"scroll-mt-24",children:[(0,s.jsx)(S,{path:"~/about.md",title:"whoami",subtitle:`$ cat about.md — ${e}`}),(0,s.jsxs)("div",{className:"mt-8 grid lg:grid-cols-[1.1fr_1fr] gap-8",children:[(0,s.jsx)(y,{title:"about.md — markdown",bodyClassName:"p-6",children:(0,s.jsxs)("div",{className:"font-code text-[13px] leading-relaxed space-y-4",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)("span",{className:"syntax-constant shrink-0 select-none",children:"$"}),(0,s.jsx)("span",{className:"syntax-comment",children:"# whoami"})]}),(0,s.jsxs)("div",{className:"space-y-3 text-muted-foreground",children:[(0,s.jsxs)("p",{children:[(0,s.jsx)("span",{className:"syntax-keyword",children:"### "}),(0,s.jsx)("span",{className:"text-foreground font-semibold",children:e}),(0,s.jsx)("span",{className:"syntax-keyword",children:" ()"})]}),(0,s.jsx)("p",{className:"whitespace-pre-line",children:c?(0,s.jsxs)("span",{className:"inline-flex flex-col gap-1.5 w-full",children:[(0,s.jsx)(M.Skeleton,{className:"h-3 w-11/12"}),(0,s.jsx)(M.Skeleton,{className:"h-3 w-3/4"})]}):(0,s.jsx)("span",{className:"syntax-string",children:r})}),(0,s.jsxs)("div",{className:"pt-2 space-y-1.5",children:[(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"syntax-property",children:"education"}),(0,s.jsx)("span",{className:"syntax-punct",children:":"}),(0,s.jsx)("span",{className:"syntax-string",children:"B.Tech CSE (AI) — GL Bajaj"})]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"syntax-property",children:"internships"}),(0,s.jsx)("span",{className:"syntax-punct",children:":"}),(0,s.jsx)("span",{className:"syntax-string",children:"JPMorgan Chase & Co. · HPE"})]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"syntax-property",children:"focus"}),(0,s.jsx)("span",{className:"syntax-punct",children:":"}),(0,s.jsx)("span",{className:"syntax-string",children:"scalable backends · AI integration"})]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)("span",{className:"syntax-property",children:"location"}),(0,s.jsx)("span",{className:"syntax-punct",children:":"}),(0,s.jsx)("span",{className:"syntax-string",children:"Remote / India"})]})]})]})]})}),(0,s.jsx)(y,{title:"philosophy.js",bodyClassName:"p-6",children:(0,s.jsxs)("div",{className:"font-code text-[12px] leading-relaxed space-y-2.5",children:[(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsx)("span",{className:"syntax-constant shrink-0 select-none",children:"$"}),(0,s.jsx)("span",{className:"syntax-keyword",children:"philosophy"}),(0,s.jsxs)("span",{className:"text-muted-foreground",children:["() ","{"]})]}),c?(0,s.jsx)("div",{className:"space-y-2.5 pl-6",children:Array.from({length:3}).map((e,a)=>(0,s.jsx)(M.Skeleton,{className:"h-3 w-full max-w-[70%]"},a))}):i.map((e,a)=>(0,s.jsxs)("div",{className:"flex gap-3 pl-6",children:[(0,s.jsx)("span",{className:"syntax-comment shrink-0 select-none",children:"//"}),(0,s.jsx)("span",{className:"text-muted-foreground",children:e})]},a)),(0,s.jsx)("div",{className:"flex gap-3",children:(0,s.jsx)("span",{className:"text-muted-foreground pl-6 select-none",children:"}"})}),(0,s.jsx)("div",{className:"pt-2 border-t border-white/[0.06]",children:(0,s.jsxs)("div",{className:"flex items-center gap-2 text-success",children:[(0,s.jsx)("span",{className:"live-dot w-1.5 h-1.5 rounded-full bg-success"}),(0,s.jsx)("span",{className:"syntax-keyword",children:"OK"}
1),(0,s.jsx)("span",{className:"text-muted-foreground/70",children:"— 4 principles loaded"})]})})]})})]})]})}var ex=e.i(32095);let ep=[{id:1,institution:"G.L. Bajaj Institute of Technology and Management, Greater Noida",degree:"B.Tech in Computer Science & Engineering (Artificial Intelligence)",duration:"2025 - 2029",result:"CGPA: 8.14 / 10"},{id:2,institution:"Senior Secondary Education",degree:"Class XII (Science Stream)",duration:"Completed 2025",result:"Strong foundation in Mathematics, Physics, and Computer Science"},{id:3,institution:"Secondary Education",degree:"Class X",duration:"Completed 2023",result:"Core academic foundation with focus on analytical and technical growth"}];function eh(){let[e,t]=(0,a.useState)([]),[r,n]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{(async()=>{try{let e=await fetch("https://portfolio-backend-i6vu.onrender.com/api/education");if(!e.ok)throw Error("Failed to fetch education data");let s=await e.json();t(Array.isArray(s)?s:ep)}catch(e){t(ep),console.error("Error fetching education data:",e)}finally{n(!1)}})()},[]),(0,s.jsxs)("section",{id:"education",className:"scroll-mt-24",children:[(0,s.jsx)(A,{children:(0,s.jsx)(S,{path:"~/education",title:"education",subtitle:"tree ~/academics/ — degrees & scores"})}),r?(0,s.jsx)(A,{delay:80,children:(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(ex.GraduationCap,{className:"w-3.5 h-3.5 text-[#9d7cd8]"}),(0,s.jsx)("span",{children:"tree -a --level 2"}),(0,s.jsx)("span",{className:"ml-auto text-success",children:"● growing..."})]}),(0,s.jsxs)("div",{className:"p-5 md:p-6 space-y-2 font-code",children:[(0,s.jsx)(M.Skeleton,{className:"h-3 w-24"}),Array.from({length:3}).map((e,a)=>(0,s.jsxs)("div",{className:"flex items-start gap-3 pl-4",children:[(0,s.jsx)(M.Skeleton,{className:"h-3 w-3 mt-0.5 shrink-0"}),(0,s.jsxs)("div",{className:"space-y-1.5 flex-1",children:[(0,s.jsx)(M.Skeleton,{className:"h-3 w-1/2"}),(0,s.jsx)(M.Skeleton,{className:"h-2.5 w-3/4"})]})]},a))]})]})}):(0,s.jsxs)("div",{className:"mt-8 term-card overflow-hidden",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-5 py-2.5 border-b border-white/[0.06] bg-white/[0.02] font-code text-[10px] text-muted-foreground",children:[(0,s.jsx)(ex.GraduationCap,{className:"w-3.5 h-3.5 text-[#9d7cd8]"}),(0,s.jsx)("span",{children:"tree -a --level 2"}),(0,s.jsxs)("span",{className:"ml-auto text-success",children:["● ",e.length," nodes"]})]}),(0,s.jsx)("div",{className:"p-5 md:p-6",children:(0,s.jsxs)("div",{className:"font-code text-[12px] leading-relaxed space-y-1",children:[(0,s.jsx)("div",{className:"syntax-keyword",children:"~/academics"}),(0,s.jsx)("div",{className:"pl-4",children:e.map((a,t)=>(0,s.jsx)(A,{delay:70*t,as:"div",children:(0,s.jsxs)("div",{className:"py-2.5 group relative pl-4 border-l border-white/[0.07] group-hover:border-[#9d7cd8]/40 transition-colors",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-2 gap-y-0.5",children:[(0,s.jsx)("span",{className:"syntax-property select-none",children:t===e.length-1?"└──":"├──"}),(0,s.jsx)("span",{className:"syntax-keyword",children:"["}),(0,s.jsx)("span",{className:"text-foreground font-semibold group-hover:text-[#9d7cd8] transition-colors",children:a.degree}),(0,s.jsx)("span",{className:"syntax-keyword",children:"]"})]}),(0,s.jsxs)("div",{className:"pl-6 flex flex-wrap gap-x-4 gap-y-0.5 text-[11px] text-muted-foreground",children:[(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"syntax-comment",children:"dir:"})," ",a.institution]}),(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"syntax-comment",children:"period:"})," ",a.duration]})]}),(0,s.jsx)("div",{className:"pl-6 text-[11px]",children:(0,s.jsxs)("span",{className:"syntax-string",children:["✓ ",a.result]})})]})},a.id))})]})})]})]})}let eu=["</>","{ }","=>","fn()","npm i","$","class","public","return","async","await","void","byte","int","//","git","push","yarn","&&","||"],eg=["rgba(250,178,131,0.35)","rgba(157,124,216,0.35)","rgba(127,216,143,0.3)","rgba(86,182,194,0.3)","rgba(245,167,66,0.3)"];function ef(){let[e,t]=(0,a.useState)([]),r=(0,a.useRef)(null),n=(0,a.useMemo)(()=>Array.from({length:26},(e,s)=>({id:s,text:eu[s%eu.length],left:100*Math.random(),size:10+8*Math.random(),duration:16+18*Math.random(),delay:20*Math.random(),color:eg[s%eg.length]})),[]);return(0,a.useEffect)(()=>t(n),[n]),(0,a.useEffect)(()=>{let e=e=>{if(!r.current)return;let s=e.clientX,a=e.clientY;r.current.style.transform=`translate3d(${s-300}px, ${a-300}px, 0)`};return window.addEventListener("pointermove",e),()=>window.removeEventListener("pointermove",e)}
1,[]),(0,s.jsxs)("div",{"aria-hidden":!0,className:"fixed inset-0 -z-10 overflow-hidden pointer-events-none",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-[#0a0a0a] via-[#0b0a09] to-[#0a0a0a]"}),(0,s.jsx)("div",{className:"absolute inset-0 grid-bg"}),(0,s.jsx)("div",{ref:r,className:"absolute top-0 left-0 w-[600px] h-[600px] rounded-full opacity-60 blur-[120px] animate-pulse-glow",style:{background:"radial-gradient(circle, rgba(250,178,131,0.09) 0%, rgba(157,124,216,0.06) 40%, transparent 70%)",willChange:"transform"}}),e.map(e=>(0,s.jsx)("span",{className:"float-particle",style:{left:`${e.left}%`,fontSize:`${e.size}px`,color:e.color,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,fontFamily:"JetBrains Mono, monospace"},children:e.text},e.id)),(0,s.jsx)("div",{className:"absolute inset-0 scanlines opacity-60"})]})}function ej(){let[e,t]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=()=>{let e=window.scrollY,s=document.documentElement.scrollHeight-window.innerHeight;t(s>0?e/s*100:0)};return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[]),(0,s.jsx)("div",{className:"fixed top-0 left-0 right-0 z-[70] h-[3px] bg-transparent pointer-events-none",children:(0,s.jsx)("div",{className:"h-full bg-gradient-to-r from-[#fab283] via-[#f5a742] to-[#9d7cd8] transition-[width] duration-150 ease-out",style:{width:`${e}%`,boxShadow:"0 0 8px rgba(250,178,131,0.6)"}})})}e.s(["default",0,function(){return(0,a.useEffect)(()=>{fetch("https://portfolio-backend-i6vu.onrender.com/feature/visitor",{method:"POST"}).catch(e=>console.error("Visit tracking failed:",e))},[]),(0,s.jsxs)("main",{className:"relative min-h-screen overflow-x-hidden",children:[(0,s.jsx)(ef,{}),(0,s.jsx)(ej,{}),(0,s.jsx)(x,{}),(0,s.jsxs)("div",{className:"pt-14",children:[(0,s.jsx)(N,{}),(0,s.jsxs)("div",{className:"max-w-6xl mx-auto px-4 md:px-6 space-y-24 md:space-y-32",children:[(0,s.jsx)(em,{}),(0,s.jsx)(I,{}),(0,s.jsx)(X,{}),(0,s.jsx)(P,{}),(0,s.jsx)(O,{}),(0,s.jsx)(G,{}),(0,s.jsx)(ed,{}),(0,s.jsx)(eh,{}),(0,s.jsx)(ee,{})]}),(0,s.jsxs)("div",{className:"mt-24 md:mt-32",children:[(0,s.jsx)(ea,{}),(0,s.jsx)(ei,{})]})]})]})}],52683)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.