|
1 | 1 | "use client"; |
2 | 2 |
|
3 | 3 | import { useEffect, useState, useRef, useCallback } from "react"; |
| 4 | +import Link from "next/link"; |
4 | 5 | import type { GitHubRepo } from "./lib/github"; |
5 | 6 | import { ROLES, EXPERIENCES, SOCIALS, FEATURED_PROJECTS, SKILLS } from "./lib/data"; |
6 | 7 |
|
@@ -199,7 +200,7 @@ export default function Portfolio({ projects }: { projects: GitHubRepo[] }) { |
199 | 200 | {/* ━━ Nav ━━ */} |
200 | 201 | <nav className="sticky top-0 z-40 -mx-6 md:-mx-12 px-6 md:px-12 py-4 bg-bg/80 backdrop-blur-lg border-b border-transparent" style={{ borderColor: scrollProgress > 0.02 ? 'var(--color-border)' : 'transparent' }}> |
201 | 202 | <div className="flex items-center justify-between max-w-6xl mx-auto"> |
202 | | - <a href="/" className="font-mono text-sm font-bold text-text hover:text-violet transition-colors">jp<span style={{ color: 'var(--color-violet)' }}>.</span></a> |
| 203 | + <Link href="/" className="font-mono text-sm font-bold text-text hover:text-violet transition-colors">jp<span style={{ color: 'var(--color-violet)' }}>.</span></Link> |
203 | 204 | <div className="flex items-center gap-6"> |
204 | 205 | {["about", "experience", "projects"].map((s) => ( |
205 | 206 | <a key={s} href={`#${s}`} className="font-mono text-xs text-dim hover:text-text transition-colors">{s}</a> |
@@ -295,7 +296,7 @@ export default function Portfolio({ projects }: { projects: GitHubRepo[] }) { |
295 | 296 |
|
296 | 297 | {/* ━━ Stack ━━ */} |
297 | 298 | <section className="py-16 scroll-mt-20"> |
298 | | - <Reveal><SectionLabel>// stack</SectionLabel></Reveal> |
| 299 | + <Reveal><SectionLabel>{"// stack"}</SectionLabel></Reveal> |
299 | 300 | <div className="grid gap-3 sm:grid-cols-2 max-w-4xl"> |
300 | 301 | {SKILL_CATEGORIES.map(({ key, label, tagClass }, i) => ( |
301 | 302 | <Reveal key={key} delay={i * 60}> |
@@ -468,7 +469,6 @@ export default function Portfolio({ projects }: { projects: GitHubRepo[] }) { |
468 | 469 | {' '}and my{' '} |
469 | 470 | <a href="https://claude.ai/" target="_blank" rel="noreferrer noopener" className="font-bold text-dim transition-colors" onMouseOver={e => e.currentTarget.style.color = 'var(--color-violet-light)'} onMouseOut={e => e.currentTarget.style.color = 'var(--color-dim)'}>24/7 Intern</a> |
470 | 471 | </p> |
471 | | - {/* eslint-disable-next-line react/no-unescaped-entities */} |
472 | 472 | <p className="font-mono text-[10px] text-dim/30 select-none">{"// ↑↑↓↓←→←→BA"}</p> |
473 | 473 | </div> |
474 | 474 | </Reveal> |
|
0 commit comments