Initial commit — portfolio site (Vite + React), personal data abstracted to secrets/.env

This commit is contained in:
bobbert committed 2026-09-16 19:00:55 +01:00
commit 7da63e0741
22 files changed
+3583

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
# Copy this file to secrets/.env and fill in your own values.
# secrets/ is gitignored — real values never leave your machine.
VITE_NAME=Your Name
VITE_LOCATION=City, Country
VITE_EMAIL=you@example.com
VITE_GITHUB_USER=your-github-username
VITE_LINKEDIN=https://www.linkedin.com/in/your-profile
VITE_CV_URL=/CV/Bob-CV.pdf
+16
View File
@@ -0,0 +1,16 @@
# Dependencies
node_modules
# Build output
dist
# Personal data — never uploaded, at all costs
secrets/
# The CV contains personal details; only the README placeholder ships
public/CV/*
!public/CV/README.txt
# Local env / editor cruft
*.local
.DS_Store
+20
View File
@@ -0,0 +1,20 @@
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="UTF-8" />
<link
rel="icon"
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23D97757'/%3E%3Ctext x='32' y='45' font-family='Arial, sans-serif' font-size='38' font-weight='bold' text-anchor='middle' fill='%23FAF9F5'%3EB%3C/text%3E%3C/svg%3E"
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Bob — graduate software engineer in London. BSc Computer Science with Honours, First Class. Projects, skills, and a homelab."
/>
<title>Bob — Graduate Software Engineer</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
+1839
View File
File diff suppressed because it is too large. Load diff
+19
View File
@@ -0,0 +1,19 @@
{
"name": "portfolio",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"react": "^19.2.0",
"react-dom": "^19.2.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^5.0.0",
"vite": "^7.0.0"
}
}
+16
View File
@@ -0,0 +1,16 @@
CV FOLDER
=========
Drop your CV PDF in this folder (public/CV/).
It will be served at: /CV/<your-file>.pdf
The download button on the site links to the path set in ONE place:
src/content.js -> profile.cvUrl (currently "/CV/Bob-CV.pdf")
So either:
1. name your file exactly "Bob-CV.pdf", or
2. change profile.cvUrl in src/content.js to match your filename.
No build config changes needed — Vite serves everything in public/ as-is,
in dev and in the production build (and inside a container later).
+31
View File
@@ -0,0 +1,31 @@
import Nav from "./components/Nav.jsx";
import Hero from "./components/Hero.jsx";
import Stats from "./components/Stats.jsx";
import About from "./components/About.jsx";
import Experience from "./components/Experience.jsx";
import Projects from "./components/Projects.jsx";
import GitHubGrid from "./components/GitHubGrid.jsx";
import SkillsCarousel from "./components/SkillsCarousel.jsx";
import Interests from "./components/Interests.jsx";
import Homelab from "./components/Homelab.jsx";
import Contact from "./components/Contact.jsx";
export default function App() {
return (
<>
<Nav />
<main>
<Hero />
<Stats />
<About />
<Experience />
<Projects />
<GitHubGrid />
<SkillsCarousel />
<Interests />
<Homelab />
</main>
<Contact />
</>
);
}
+23
View File
@@ -0,0 +1,23 @@
import { profile } from "../content.js";
export default function About() {
return (
<section className="about section" id="about">
<div className="container about-grid">
<h2 className="section-title">About</h2>
<div className="about-body">
{profile.about.map((p) => (
<p key={p.slice(0, 24)}>{p}</p>
))}
<div className="edu-card">
<div className="edu-main">
<h3>{profile.education.degree}</h3>
<p>{profile.education.institution}</p>
</div>
<span className="badge">{profile.education.classification}</span>
</div>
</div>
</div>
</section>
);
}
+34
View File
@@ -0,0 +1,34 @@
import { profile } from "../content.js";
export default function Contact() {
const year = new Date().getFullYear();
return (
<footer className="contact" id="contact">
<div className="container">
<p className="eyebrow eyebrow--light">Get in touch</p>
<h2 className="contact-title">Let's talk.</h2>
<p className="contact-lede">
I'm open to graduate and junior software engineering roles — or just a
good conversation about self-hosting.
</p>
<div className="contact-actions">
<a className="btn btn-primary" href={`mailto:${profile.email}`}>
{profile.email}
</a>
<a className="btn btn-outline-light" href={profile.github} target="_blank" rel="noreferrer">
GitHub
</a>
<a className="btn btn-outline-light" href={profile.linkedin} target="_blank" rel="noreferrer">
LinkedIn
</a>
</div>
</div>
<div className="container footer-bar">
<span>
{profile.name} · {profile.location}
</span>
<span>{year}</span>
</div>
</footer>
);
}
+24
View File
@@ -0,0 +1,24 @@
import { experience } from "../content.js";
export default function Experience() {
return (
<section className="experience section" id="experience">
<div className="container">
<p className="eyebrow">Background</p>
<h2 className="section-title">Experience &amp; education</h2>
<ol className="timeline">
{experience.map((e) => (
<li key={e.title} className="timeline-item">
<div className="timeline-period">{e.period}</div>
<div className="timeline-body">
<h3>{e.title}</h3>
<p className="timeline-org">{e.org}</p>
<p className="timeline-detail">{e.detail}</p>
</div>
</li>
))}
</ol>
</div>
</section>
);
}
+49
View File
@@ -0,0 +1,49 @@
import { profile, githubRepos } from "../content.js";
const langColors = {
JavaScript: "#f1e05a",
CSS: "#86e1fc",
};
export default function GitHubGrid() {
return (
<section className="github section" id="github">
<div className="container">
<h2 className="section-title">On GitHub</h2>
<p className="section-lede">
A curated selection of public repositories — the full list lives on{" "}
<a href={profile.github} target="_blank" rel="noreferrer">
github.com/{profile.githubUser}
</a>
.
</p>
<div className="repo-grid">
{githubRepos.map((r) => (
<a
key={r.name}
className="repo-card"
href={r.url}
target="_blank"
rel="noreferrer"
>
<h3>{r.name}</h3>
<p>{r.description}</p>
<div className="repo-meta">
<span className="repo-lang">
<i
className="dot"
style={{ background: langColors[r.language] || "#999" }}
/>
{r.language}
</span>
<span className="repo-stars">
{r.stars > 0 ? `${r.stars} star${r.stars === 1 ? "" : "s"}` : null}
</span>
</div>
</a>
))}
</div>
</div>
</section>
);
}
+34
View File
@@ -0,0 +1,34 @@
import { profile } from "../content.js";
export default function Hero() {
return (
<section className="hero" id="top">
<div className="container">
<p className="eyebrow">
{profile.role} · {profile.location}
</p>
<h1 className="hero-name">
{profile.name}
<span className="accent">.</span>
</h1>
<p className="hero-tagline">{profile.heroTagline}</p>
<div className="hero-availability">
<span className="availability-dot" aria-hidden="true" />
{profile.availability}
</div>
<p className="hero-education">
{profile.education.degree} · {profile.education.classification} ·{" "}
{profile.education.institution}
</p>
<div className="hero-actions">
<a className="btn btn-primary" href="#projects">
View projects
</a>
<a className="btn btn-outline" href={profile.cvUrl} download>
Download CV
</a>
</div>
</div>
</section>
);
}
+30
View File
@@ -0,0 +1,30 @@
import { homelab, localAI } from "../content.js";
export default function Homelab() {
return (
<section className="homelab section" id="homelab">
<div className="container">
<h2 className="section-title">Homelab &amp; side endeavours</h2>
<p className="section-lede">
Everything below runs on hardware I own — a single Proxmox node at home,
three cloud VPS instances, and the services that live on top of them.
</p>
<ul className="homelab-grid">
{homelab.map((h) => (
<li key={h.name} className="homelab-item">
<h3>{h.name}</h3>
<p>{h.detail}</p>
</li>
))}
</ul>
<div className="local-ai">
<h2 className="section-title">{localAI.heading}</h2>
{localAI.body.map((p) => (
<p key={p.slice(0, 24)}>{p}</p>
))}
</div>
</div>
</section>
);
}
+20
View File
@@ -0,0 +1,20 @@
import { interests } from "../content.js";
export default function Interests() {
return (
<section className="interests section" id="interests">
<div className="container">
<p className="eyebrow">Beyond the terminal</p>
<h2 className="section-title">Interests</h2>
<div className="interest-grid">
{interests.map((i) => (
<article key={i.name} className="interest-card">
<h3>{i.name}</h3>
<p>{i.detail}</p>
</article>
))}
</div>
</div>
</section>
);
}
+64
View File
@@ -0,0 +1,64 @@
import { useState } from "react";
import { profile } from "../content.js";
const links = [
{ label: "Projects", href: "#projects" },
{ label: "GitHub", href: "#github" },
{ label: "Skills", href: "#skills" },
{ label: "Homelab", href: "#homelab" },
{ label: "Contact", href: "#contact" },
];
export default function Nav() {
const [open, setOpen] = useState(false);
return (
<header className="nav">
<div className="container nav-inner">
<a
className="nav-wordmark"
href="#top"
onClick={() => setOpen(false)}
>
{profile.name}
<span className="nav-dot">.</span>
</a>
<button
type="button"
className={`nav-toggle${open ? " nav-toggle--open" : ""}`}
aria-expanded={open}
aria-controls="nav-menu"
aria-label={open ? "Close menu" : "Open menu"}
onClick={() => setOpen((v) => !v)}
>
<span className="nav-toggle-bar" />
<span className="nav-toggle-bar" />
</button>
<nav
id="nav-menu"
className={`nav-links${open ? " nav-links--open" : ""}`}
aria-label="Primary"
>
{links.map((l) => (
<a
key={l.href}
className="nav-link"
href={l.href}
onClick={() => setOpen(false)}
>
{l.label}
</a>
))}
</nav>
<a
className="btn btn-primary btn-sm nav-cv"
href={profile.cvUrl}
download
onClick={() => setOpen(false)}
>
Download CV
</a>
</div>
</header>
);
}
+57
View File
@@ -0,0 +1,57 @@
import { projects } from "../content.js";
function Tag({ children }) {
return <span className="tag">{children}</span>;
}
export default function Projects() {
return (
<section className="projects section" id="projects">
<div className="container">
<p className="eyebrow">Selected work</p>
<h2 className="section-title">Projects, in detail</h2>
<p className="section-lede">
A selection of projects that show how I work — from final-year
systems to self-hosted experiments.
</p>
<div className="project-grid">
{projects.map((p) => (
<article
key={p.title}
className={`project-card${p.highlight ? " project-card--highlight" : ""}`}
>
<div className="project-head">
<h3>{p.title}</h3>
<span className="project-year">{p.year}</span>
</div>
<p className="project-role">{p.role}</p>
<p className="project-desc">{p.description}</p>
<ul className="project-features">
{p.features.map((f) => (
<li key={f}>{f}</li>
))}
</ul>
<div className="project-foot">
<div className="project-tags">
{p.stack.map((t) => (
<Tag key={t}>{t}</Tag>
))}
</div>
{p.repo && (
<a
className="project-link"
href={p.repo}
target="_blank"
rel="noreferrer"
>
GitHub ↗
</a>
)}
</div>
</article>
))}
</div>
</div>
</section>
);
}
+41
View File
@@ -0,0 +1,41 @@
import { skills } from "../content.js";
function Marquee({ label, items }) {
// Four copies so the track always covers the viewport on wide screens;
// the -50% translate lands on a copy boundary, keeping the loop seamless.
const row = [...items, ...items, ...items, ...items];
return (
<div className="marquee-block">
<h3 className="marquee-label">{label}</h3>
<div
className="marquee"
style={{ "--marquee-duration": `${items.length * 3.4}s` }}
aria-label={`${label}: ${items.join(", ")}`}
>
<div className="marquee-track">
{row.map((item, i) => (
<span
key={`${item}-${i}`}
className="marquee-item"
aria-hidden={i >= items.length * 2}
>
{item}
</span>
))}
</div>
</div>
</div>
);
}
export default function SkillsCarousel() {
return (
<section className="skills section" id="skills">
<div className="container">
<h2 className="section-title">Skills &amp; tools</h2>
</div>
<Marquee label="Languages & frameworks" items={skills.languages} />
<Marquee label="Tools & platforms" items={skills.tools} />
</section>
);
}
+16
View File
@@ -0,0 +1,16 @@
import { stats } from "../content.js";
export default function Stats() {
return (
<section className="stats" aria-label="Portfolio statistics">
<div className="container stats-grid">
{stats.map((s) => (
<div key={s.label} className="stat">
<span className="stat-value">{s.value}</span>
<span className="stat-label">{s.label}</span>
</div>
))}
</div>
</section>
);
}
+276
View File
@@ -0,0 +1,276 @@
// ---------------------------------------------------------------------------
// Single source of truth for all personal content.
// Swap the name, links, or any section by editing this file only.
// ---------------------------------------------------------------------------
// Personal details live in secrets/.env (VITE_* vars) so the repo itself
// never carries private data. The fallbacks below keep a fresh clone buildable.
const NAME = import.meta.env.VITE_NAME || "Bob";
const LOCATION = import.meta.env.VITE_LOCATION || "London, UK";
const EMAIL = import.meta.env.VITE_EMAIL || "";
const GITHUB_USER = import.meta.env.VITE_GITHUB_USER || "your-github-username";
const LINKEDIN = import.meta.env.VITE_LINKEDIN || "";
const CV_URL = import.meta.env.VITE_CV_URL || "/CV/Bob-CV.pdf";
export const profile = {
name: NAME,
role: "Recent graduate software engineer",
location: LOCATION,
email: EMAIL,
github: `https://github.com/${GITHUB_USER}`,
githubUser: GITHUB_USER,
linkedin: LINKEDIN,
cvUrl: CV_URL,
heroTagline:
"I build software end to end — from React front ends and mobile apps to the servers, networks, and self-hosted infrastructure that run them.",
availability: "Open to graduate software engineering roles",
education: {
degree: "BSc Computer Science (Hons)",
classification: "First Class (1:1)",
institution: "A London University",
},
about: [
"I'm a recent graduate software engineer based in London. I studied Computer Science at first-class level, and spent my degree building real systems — a network-attached storage product for my final-year project, mobile apps with React Native, and coursework that pushed me to think like an engineer, not just a coder.",
"Outside of work I run a home lab: a Proxmox host carrying a stack of self-hosted services, three cloud VPS instances, and a growing interest in running local AI models on my own hardware. If it can be self-hosted, I've probably tried to.",
],
};
// Numbers shown in the stats strip under the hero.
export const stats = [
{ value: "7+", label: "Projects built end to end" },
{ value: "10", label: "Languages & frameworks" },
{ value: "11", label: "Self-hosted services running" },
{ value: "1:1", label: "First-class BSc Computer Science" },
];
// Experience & education timeline, newest first.
export const experience = [
{
period: "2025 — Present",
title: "Graduate Software Engineer",
org: "Open to roles · London / Remote",
detail:
"Seeking graduate and early-career software engineering roles. Open to placements, contracts, and full-time starts.",
},
{
period: "2024 — 2025",
title: "Final-Year Project — MASS NAS",
org: "A London University",
detail:
"Designed and built a network-attached storage client end to end: REST API integration, Base64-encoded file payloads in the database, and full project documentation.",
},
{
period: "2021 — 2025",
title: "BSc Computer Science (Hons)",
org: "A London University · First Class (1:1)",
detail:
"Coursework spanning web and mobile development, databases, networking, and systems programming, capped by the final-year NAS project.",
},
];
// Compact cards in the "Beyond the terminal" section.
export const interests = [
{
name: "Self-hosting",
detail:
"If it can run on my own hardware, it probably does — a Proxmox host carrying a dozen services.",
},
{
name: "Local LLMs",
detail:
"Running Gemma 31B at home to learn how inference actually works under the hood.",
},
{
name: "Hardware tinkering",
detail:
"Arduino projects and sensor experiments — the gyroscope treasure hunt started as one of those.",
},
{
name: "Browser mods",
detail:
"Customising Floorp with an Opera GX–styled sidebar. Small UI details matter to me.",
},
];
// Case-study project cards. `role` is a short context line; `features` are
// the highlight bullets; `stack` replaces the old tag list.
export const projects = [
{
title: "MASS — Network Attached Storage",
year: "2025",
role: "Final-year project · Solo",
description:
"A NAS client that talks to a home server over a REST API, with file payloads stored Base64-encoded in the database. Designed, built, and documented end to end.",
features: [
"REST API client for a home storage server",
"Base64-encoded file payloads persisted in the database",
"Full project write-up — design decisions, trade-offs, testing",
],
stack: ["JavaScript", "REST APIs", "Databases"],
repo: `https://github.com/${GITHUB_USER}/Abstracted-MASS-PublicVer`,
highlight: true,
},
{
title: "QR Treasure Hunt",
year: "2023",
role: "Group project · Year 2 final coursework",
description:
"A React.js treasure hunt where players scan QR codes to progress through the game. Built as a group under deadline for my Professional Environments final.",
features: [
"QR-code scanning drives game progression",
"React.js front end with stateful game flow",
"Shipped as a team within a fixed coursework window",
],
stack: ["React.js", "JavaScript"],
repo: `https://github.com/${GITHUB_USER}/Treasure-Hunt-App`,
},
{
title: "CRUDL — React Native Demo",
year: "2024",
role: "University project",
description:
"A full CRUD(L) application built to learn React Native properly — create, read, update, delete, and list flows across screens.",
features: [
"Complete CRUD(L) flows across multiple screens",
"Navigation between list, detail, and edit views",
"First serious pass at mobile state management",
],
stack: ["React Native", "JavaScript"],
repo: `https://github.com/${GITHUB_USER}/Project-MAD-crudler`,
},
{
title: "Habit Tracker",
year: "2024",
role: "Personal project · Android",
description:
"An Android habit-tracking app built with Kotlin using the MVVM architecture and Room for local persistence.",
features: [
"MVVM architecture with a dedicated ViewModel layer",
"Room database for offline-first local persistence",
"Create, track, and review daily habits",
],
stack: ["Kotlin", "Android", "MVVM", "Room"],
},
{
title: "Gyro & GPS Treasure Hunt",
year: "2023",
role: "Personal project · Cross-platform",
description:
"A cross-platform React Native game (iOS and Android) that combines device gyroscope input with GPS for map-based treasure hunting.",
features: [
"Gyroscope input for physical, device-driven gameplay",
"GPS positioning on a live map",
"One codebase shipping to both iOS and Android",
],
stack: ["React Native", "GPS", "Sensor APIs"],
},
{
title: "AI Discord Bot",
year: "2025",
role: "Personal project · Self-hosted",
description:
"A Python Discord bot with text chat and voice, powered by a self-hosted Gemma 4 31B-IT model running on my own hardware.",
features: [
"Text and voice channels backed by a local LLM",
"Self-hosted Gemma 4 31B-IT — no cloud round-trips",
"Runs continuously on home hardware via Discord API",
],
stack: ["Python", "Local LLM", "Voice", "Discord API"],
},
{
title: "CV Builder",
year: "2022",
role: "Personal project · Desktop",
description:
"A desktop CV builder written in Java with a Swing interface — form-driven editing that generates a clean, printable CV.",
features: [
"Form-driven editing of CV sections",
"Live preview before export",
"Clean, printable output from the desktop app",
],
stack: ["Java", "Swing"],
},
];
export const githubRepos = [
{
name: "Abstracted-MASS-PublicVer",
description:
"Public version of my final-year project — a NAS client over REST with Base64 file storage.",
language: "JavaScript",
stars: 1,
url: `https://github.com/${GITHUB_USER}/Abstracted-MASS-PublicVer`,
},
{
name: "Treasure-Hunt-App",
description:
"QR-code treasure hunt built for my Professional Environments year 2 final coursework.",
language: "JavaScript",
stars: 3,
url: `https://github.com/${GITHUB_USER}/Treasure-Hunt-App`,
},
{
name: "Project-MAD-crudler",
description: "University project for learning React Native — a CRUD(L) demo app.",
language: "JavaScript",
stars: 0,
url: `https://github.com/${GITHUB_USER}/Project-MAD-crudler`,
},
{
name: "Opera-GX-Styled-Floorp-Sidebar",
description: "Opera GX–styled sidebar mod for the Floorp browser.",
language: "CSS",
stars: 0,
url: `https://github.com/${GITHUB_USER}/Opera-GX-Styled-Floorp-Sidebar`,
},
];
export const skills = {
languages: [
"React Native",
"Kotlin",
"Java",
"C++",
"Go",
"HTML",
"CSS",
"JavaScript",
"Python",
"Bash",
],
tools: [
"IntelliJ IDEA",
"WebStorm",
"PyCharm",
"Arduino IDE",
"Docker",
"Git",
"RESTful APIs",
],
};
export const homelab = [
{ name: "Proxmox", detail: "Single-node hypervisor running the whole stack" },
{ name: "Jellyfin + own media server", detail: "Self-hosted streaming — media server WIP" },
{ name: "SearXNG", detail: "Private metasearch engine" },
{ name: "Dockhand", detail: "Container management UI" },
{ name: "Nginx", detail: "Reverse proxy for the house network" },
{ name: "Pi-hole + AdGuard Home", detail: "Network-wide ad and tracker blocking" },
{ name: "Tailscale", detail: "Mesh networking between home and VPS" },
{ name: "3 cloud VPS instances", detail: "Off-site services and failover" },
{ name: "OpenVPN + WireGuard", detail: "Self-hosted VPN for devices on the move" },
{ name: "OpenWebUI", detail: "Chat front end for local models" },
{ name: "Gitea", detail: "Self-hosted Git server" },
];
export const localAI = {
heading: "Local AI, on my own hardware",
body: [
"I run self-hosted language models on hardware I own — currently a quantised Qwen 3.8 27B served through LM Studio and OpenWebUI — as a way to learn how LLMs actually work under the hood: inference, context, and serving.",
"It's not just theory: a Gemma 4 31B-IT instance powers the text chat and voice in my Discord bot. No cloud round-trips, no data leaving the house.",
],
};
+948
View File
@@ -0,0 +1,948 @@
/* ==========================================================================
Design tokens — Frankenstein blend:
palette from anthropic.com (cream / ink / terracotta),
typography from cappfinity.com (Helvetica Now Display + Text).
========================================================================== */
:root {
--bg: #faf9f5;
--bg-alt: #f0eee6;
--surface: #ffffff;
--ink: #141413;
--ink-soft: #57544b;
--muted: #8a887c;
--hairline: #e5e2d8;
--hairline-strong: #cfcab9;
--accent: #d97757;
--accent-dark: #c05f3e;
--accent-tint: #f6e4da;
--font-display: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-text: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
--container: 1200px;
--radius: 14px;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
scroll-padding-top: 88px;
}
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--font-text);
font-size: 16px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
::selection {
background: var(--accent-tint);
color: var(--ink);
}
h1, h2, h3 {
font-family: var(--font-display);
margin: 0;
}
p {
margin: 0;
}
a {
color: inherit;
}
.container {
max-width: var(--container);
margin-inline: auto;
padding-inline: 24px;
}
/* ---------- shared section chrome ---------- */
.section {
padding-block: 96px;
}
.section-title {
font-size: clamp(1.75rem, 3vw, 2.375rem);
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1.15;
}
.section-lede {
margin-top: 16px;
max-width: 62ch;
color: var(--ink-soft);
font-size: 17px;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.14em;
font-size: 13px;
font-weight: 500;
color: var(--accent-dark);
margin: 0 0 20px;
}
.eyebrow--light {
color: #b0aea5;
}
/* ---------- buttons ---------- */
.btn {
display: inline-block;
padding: 13px 26px;
border-radius: 999px;
font-family: var(--font-text);
font-size: 15px;
font-weight: 700;
letter-spacing: 0.01em;
text-decoration: none;
border: 1px solid transparent;
cursor: pointer;
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
background: var(--ink);
color: var(--bg);
}
.btn-primary:hover {
background: var(--accent-dark);
}
.btn-outline {
background: transparent;
border-color: var(--hairline-strong);
color: var(--ink);
}
.btn-outline:hover {
border-color: var(--ink);
background: var(--bg-alt);
}
.btn-outline-light {
background: transparent;
border-color: rgba(250, 249, 245, 0.35);
color: var(--bg);
}
.btn-outline-light:hover {
border-color: var(--bg);
background: rgba(250, 249, 245, 0.08);
}
.btn-sm {
padding: 9px 18px;
font-size: 14px;
}
/* ---------- nav ---------- */
.nav {
position: sticky;
top: 0;
z-index: 50;
background: rgba(250, 249, 245, 0.86);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid var(--hairline);
}
.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
height: 64px;
}
.nav-wordmark {
font-family: var(--font-display);
font-size: 20px;
font-weight: 700;
letter-spacing: -0.02em;
text-decoration: none;
}
.nav-dot {
color: var(--accent);
}
.nav-links {
display: flex;
gap: 28px;
}
.nav-link {
font-size: 14px;
font-weight: 500;
color: var(--ink-soft);
text-decoration: none;
transition: color 0.15s ease;
}
.nav-link:hover {
color: var(--ink);
}
.nav-toggle {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 6px;
width: 42px;
height: 38px;
margin-left: auto;
padding: 0;
background: none;
border: 1px solid var(--hairline);
border-radius: 999px;
cursor: pointer;
}
.nav-toggle-bar {
width: 18px;
height: 2px;
border-radius: 2px;
background: var(--ink);
transition: transform 0.15s ease;
}
/* ---------- hero ---------- */
.hero {
padding: 140px 0 120px;
}
.hero-name {
font-size: clamp(3.5rem, 9vw, 6rem);
font-weight: 700;
letter-spacing: -0.03em;
line-height: 1.02;
margin-top: 8px;
}
.accent {
color: var(--accent);
}
.hero-tagline {
margin-top: 28px;
max-width: 58ch;
font-size: 20px;
line-height: 1.55;
color: var(--ink-soft);
}
.hero-availability {
display: inline-flex;
align-items: center;
gap: 10px;
margin-top: 24px;
padding: 8px 16px;
background: var(--accent-tint);
border-radius: 999px;
font-size: 13.5px;
font-weight: 600;
color: var(--accent-dark);
}
.availability-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--accent);
animation: availability-pulse 2.4s ease-in-out infinite;
}
@keyframes availability-pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.45; transform: scale(0.8); }
}
.hero-education {
margin-top: 20px;
font-size: 15px;
color: var(--muted);
letter-spacing: 0.01em;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 40px;
}
/* ---------- stats strip ---------- */
.stats {
border-top: 1px solid var(--hairline);
background: var(--bg-alt);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
padding-block: 36px;
}
.stat {
display: flex;
flex-direction: column;
gap: 6px;
}
.stat-value {
font-family: var(--font-display);
font-size: 30px;
font-weight: 700;
letter-spacing: -0.02em;
line-height: 1;
}
.stat-label {
font-size: 13.5px;
color: var(--ink-soft);
}
/* ---------- about ---------- */
.about {
border-top: 1px solid var(--hairline);
}
.about-grid {
display: grid;
grid-template-columns: 260px 1fr;
gap: 56px;
align-items: start;
}
.about-body p {
max-width: 58ch;
font-size: 17px;
line-height: 1.65;
color: var(--ink-soft);
}
.about-body p + p {
margin-top: 20px;
}
.edu-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 36px;
max-width: 58ch;
background: var(--surface);
border: 1px solid var(--hairline);
border-radius: var(--radius);
padding: 20px 24px;
}
.edu-card h3 {
font-size: 17px;
font-weight: 700;
letter-spacing: -0.01em;
}
.edu-card p {
margin-top: 4px;
max-width: none;
font-size: 14px;
color: var(--muted);
}
.badge {
flex-shrink: 0;
background: var(--accent-tint);
color: var(--accent-dark);
font-size: 13px;
font-weight: 700;
padding: 6px 14px;
border-radius: 999px;
}
/* ---------- experience ---------- */
.timeline {
list-style: none;
margin: 48px 0 0;
padding: 0;
}
.timeline-item {
display: grid;
grid-template-columns: 190px 1fr;
gap: 40px;
border-top: 1px solid var(--hairline);
padding-block: 28px;
}
.timeline-item:last-child {
border-bottom: 1px solid var(--hairline);
}
.timeline-period {
font-size: 13.5px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--muted);
padding-top: 4px;
}
.timeline-body h3 {
font-size: 19px;
font-weight: 700;
letter-spacing: -0.015em;
}
.timeline-org {
margin-top: 6px;
font-size: 14px;
font-weight: 500;
color: var(--accent-dark);
}
.timeline-detail {
margin-top: 10px;
max-width: 62ch;
font-size: 15px;
line-height: 1.6;
color: var(--ink-soft);
}
/* ---------- projects ---------- */
.projects {
border-top: 1px solid var(--hairline);
}
.project-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 48px;
}
.project-card {
background: var(--surface);
border: 1px solid var(--hairline);
border-radius: var(--radius);
padding: 28px;
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
border-color: var(--hairline-strong);
transform: translateY(-2px);
box-shadow: 0 10px 28px rgba(20, 20, 19, 0.06);
}
.project-card--highlight {
background: #fffdf9;
border-color: #e9d5c8;
}
.project-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 12px;
}
.project-card h3 {
font-size: 19px;
font-weight: 700;
letter-spacing: -0.015em;
}
.project-year {
flex-shrink: 0;
font-size: 12px;
font-weight: 600;
color: var(--muted);
border: 1px solid var(--hairline);
border-radius: 999px;
padding: 3px 10px;
}
.project-card .project-role {
margin-top: 8px;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--muted);
}
.project-features {
list-style: none;
margin: 16px 0 0;
padding: 0;
}
.project-features li {
position: relative;
padding-left: 20px;
font-size: 14.5px;
line-height: 1.55;
color: var(--ink-soft);
}
.project-features li + li {
margin-top: 8px;
}
.project-features li::before {
content: "";
position: absolute;
left: 2px;
top: 0.62em;
width: 8px;
height: 2px;
background: var(--accent);
}
.project-foot {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-top: 24px;
padding-top: 18px;
border-top: 1px solid var(--hairline);
}
.project-foot .project-tags {
margin-top: 0;
}
.project-link {
font-size: 13px;
font-weight: 600;
color: var(--accent-dark);
text-decoration: none;
white-space: nowrap;
}
.project-link:hover {
text-decoration: underline;
}
.project-card p {
margin-top: 12px;
font-size: 15px;
line-height: 1.6;
color: var(--ink-soft);
}
.project-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 20px;
}
.tag {
font-size: 12px;
font-weight: 500;
color: var(--ink-soft);
border: 1px solid var(--hairline);
border-radius: 999px;
padding: 4px 12px;
}
/* ---------- github ---------- */
.github {
border-top: 1px solid var(--hairline);
background: var(--bg-alt);
}
.repo-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 48px;
}
.repo-card {
display: block;
background: var(--surface);
border: 1px solid var(--hairline);
border-radius: var(--radius);
padding: 26px 28px;
text-decoration: none;
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.repo-card:hover {
border-color: var(--hairline-strong);
transform: translateY(-2px);
box-shadow: 0 10px 28px rgba(20, 20, 19, 0.06);
}
.repo-card h3 {
font-size: 17px;
font-weight: 700;
letter-spacing: -0.01em;
word-break: break-word;
}
.repo-card p {
margin-top: 10px;
font-size: 14px;
line-height: 1.55;
color: var(--ink-soft);
}
.repo-meta {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 18px;
font-size: 13px;
color: var(--muted);
}
.repo-lang {
display: inline-flex;
align-items: center;
gap: 7px;
}
.dot {
width: 9px;
height: 9px;
border-radius: 50%;
display: inline-block;
}
/* ---------- skills carousel ---------- */
.skills {
border-top: 1px solid var(--hairline);
overflow: hidden;
}
.marquee-block {
margin-top: 40px;
}
.marquee-label {
font-size: 13px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.14em;
color: var(--muted);
padding-inline: 24px;
}
.marquee {
overflow: hidden;
margin-top: 16px;
mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
display: flex;
gap: 12px;
width: max-content;
animation: marquee-scroll var(--marquee-duration, 34s) linear infinite;
}
.marquee:hover .marquee-track {
animation-play-state: paused;
}
.marquee-item {
font-size: 15px;
font-weight: 500;
color: var(--ink);
background: var(--surface);
border: 1px solid var(--hairline);
border-radius: 999px;
padding: 11px 22px;
white-space: nowrap;
}
@keyframes marquee-scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
/* ---------- interests ---------- */
.interest-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-top: 48px;
}
.interest-card {
background: var(--surface);
border: 1px solid var(--hairline);
border-radius: var(--radius);
padding: 24px 26px;
}
.interest-card h3 {
font-size: 16px;
font-weight: 700;
letter-spacing: -0.01em;
}
.interest-card p {
margin-top: 8px;
font-size: 14.5px;
line-height: 1.55;
color: var(--ink-soft);
}
/* ---------- homelab ---------- */
.homelab-grid {
list-style: none;
margin: 48px 0 0;
padding: 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
column-gap: 56px;
}
.homelab-item {
border-top: 1px solid var(--hairline);
padding: 20px 0;
}
.homelab-item h3 {
font-size: 16px;
font-weight: 700;
letter-spacing: -0.01em;
}
.homelab-item p {
margin-top: 4px;
font-size: 14px;
color: var(--muted);
}
.local-ai {
margin-top: 80px;
background: var(--bg-alt);
border-radius: 16px;
padding: 52px;
}
.local-ai p {
margin-top: 20px;
max-width: 62ch;
font-size: 17px;
line-height: 1.65;
color: var(--ink-soft);
}
/* ---------- contact / footer ---------- */
.contact {
background: #141413;
color: var(--bg);
padding-top: 120px;
}
.contact-title {
font-size: clamp(2.5rem, 6vw, 4rem);
font-weight: 700;
letter-spacing: -0.03em;
line-height: 1.05;
}
.contact-lede {
margin-top: 20px;
max-width: 55ch;
font-size: 17px;
color: #b0aea5;
}
.contact-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 40px;
}
.contact .btn-primary {
background: var(--accent);
color: #fff;
}
.contact .btn-primary:hover {
background: var(--accent-dark);
}
.footer-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin-top: 96px;
padding-block: 28px;
border-top: 1px solid rgba(250, 249, 245, 0.12);
font-size: 13px;
color: #8a887c;
}
/* ---------- wide screens ---------- */
@media (min-width: 1560px) {
:root {
--container: 1320px;
}
.project-grid,
.repo-grid {
grid-template-columns: repeat(3, 1fr);
}
.homelab-grid {
grid-template-columns: repeat(3, 1fr);
column-gap: 40px;
}
.interest-grid {
grid-template-columns: repeat(4, 1fr);
}
}
/* ---------- responsive ---------- */
@media (max-width: 840px) {
.nav-toggle {
display: inline-flex;
}
.nav-toggle--open .nav-toggle-bar:first-child {
transform: translateY(4px) rotate(45deg);
}
.nav-toggle--open .nav-toggle-bar:last-child {
transform: translateY(-4px) rotate(-45deg);
}
.nav-links {
position: absolute;
top: 100%;
left: 0;
right: 0;
display: none;
flex-direction: column;
gap: 2px;
padding: 12px 24px 20px;
background: var(--bg);
border-bottom: 1px solid var(--hairline);
box-shadow: 0 20px 32px rgba(20, 20, 19, 0.08);
}
.nav-links--open {
display: flex;
}
.nav-link {
padding: 10px 2px;
font-size: 15px;
}
.hero {
padding: 96px 0 80px;
}
.section {
padding-block: 72px;
}
.about-grid {
grid-template-columns: 1fr;
gap: 32px;
}
.project-grid,
.repo-grid,
.homelab-grid {
grid-template-columns: 1fr;
column-gap: 0;
}
.local-ai {
padding: 36px 28px;
}
.contact {
padding-top: 88px;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.timeline-item {
grid-template-columns: 1fr;
gap: 8px;
padding-block: 24px;
}
.timeline-period {
padding-top: 0;
}
.interest-grid {
grid-template-columns: 1fr;
}
}
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
.marquee-track {
animation: none;
}
.availability-dot {
animation: none;
}
}
+10
View File
@@ -0,0 +1,10 @@
import React from "react";
import { createRoot } from "react-dom/client";
import App from "./App.jsx";
import "./index.css";
createRoot(document.getElementById("root")).render(
<React.StrictMode>
<App />
</React.StrictMode>
);
+8
View File
@@ -0,0 +1,8 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
// Personal data lives in secrets/.env (gitignored, never uploaded).
envDir: "secrets",
});