mirror of
https://github.com/mudabbir-ahmad/Portfolio_V1.git
synced 2026-12-06 19:53:09 +00:00
Redesign portfolio, add real project screenshots and refresh content
- New design language: self-hosted fonts, numbered sections, hero card, nav pill with scroll-spy - Two-pane project pop-up with WebP screenshots; gold ring on the final-year project - Content moved to src/data JSON and updated from the new CV - Staggered card entrances and stat count-up; simpler dot cursor - Capture script converts manual screenshots to WebP Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e67bc1418
commit
89d4de8df0
85 files changed
+4111
-1150
No files matched your search
+8
-15
@@ -13,40 +13,33 @@ import Contact from "./components/Contact.jsx";
|
||||
import Cursor from "./components/Cursor.jsx";
|
||||
import Reveal from "./components/Reveal.jsx";
|
||||
|
||||
// Hero animates itself on load. Sections whose cards stagger in on their own
|
||||
// (experience, projects, repos, interests, homelab) are not wrapped in Reveal,
|
||||
// so the two effects don't stack.
|
||||
export default function App() {
|
||||
return (
|
||||
<>
|
||||
<Cursor />
|
||||
<Nav />
|
||||
<main>
|
||||
<Reveal>
|
||||
<Hero />
|
||||
</Reveal>
|
||||
<Hero />
|
||||
<Reveal delay={0.05}>
|
||||
<Stats />
|
||||
</Reveal>
|
||||
<Reveal>
|
||||
<About />
|
||||
</Reveal>
|
||||
<Reveal>
|
||||
<Experience />
|
||||
</Reveal>
|
||||
<Experience />
|
||||
<Projects />
|
||||
<Reveal>
|
||||
<PushTracker />
|
||||
</Reveal>
|
||||
<Reveal>
|
||||
<GitHubGrid />
|
||||
</Reveal>
|
||||
<GitHubGrid />
|
||||
<Reveal>
|
||||
<SkillsCarousel />
|
||||
</Reveal>
|
||||
<Reveal>
|
||||
<Interests />
|
||||
</Reveal>
|
||||
<Reveal>
|
||||
<Homelab />
|
||||
</Reveal>
|
||||
<Interests />
|
||||
<Homelab />
|
||||
</main>
|
||||
<Reveal>
|
||||
<Contact />
|
||||
|
||||
@@ -1,22 +1,73 @@
|
||||
import { useRef } from "react";
|
||||
import { useInView } from "motion/react";
|
||||
import { profile } from "../content.js";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
function Education() {
|
||||
const edu = profile.education;
|
||||
const ref = useRef(null);
|
||||
const inView = useInView(ref, { once: true, margin: "-80px" });
|
||||
|
||||
return (
|
||||
<aside className="edu" ref={ref} aria-label="Education">
|
||||
<div className="edu-top">
|
||||
<span className="edu-icon">
|
||||
<Icon name="cap" />
|
||||
</span>
|
||||
<span className="badge">
|
||||
{edu.classification}
|
||||
<span className="badge-grade">{edu.grade}</span>
|
||||
</span>
|
||||
</div>
|
||||
<h3 className="edu-degree">{edu.degree}</h3>
|
||||
<p className="edu-school">{edu.institution}</p>
|
||||
<p className="edu-meta">
|
||||
<span>{edu.period}</span>
|
||||
<span>{edu.accreditation}</span>
|
||||
<span>{edu.awarded}</span>
|
||||
</p>
|
||||
|
||||
<h4 className="edu-label">Strongest modules</h4>
|
||||
<ul className="edu-modules">
|
||||
{edu.modules.map((m, i) => (
|
||||
<li key={m.name}>
|
||||
<span className="edu-module-name">{m.name}</span>
|
||||
<span className="edu-module-mark">{m.mark}%</span>
|
||||
<span className="edu-bar">
|
||||
<span
|
||||
className="edu-bar-fill"
|
||||
style={{ width: `${inView ? m.mark : 0}%`, transitionDelay: `${i * 80}ms` }}
|
||||
/>
|
||||
</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
<h4 className="edu-label">Also studied</h4>
|
||||
<ul className="edu-also">
|
||||
{edu.alsoStudied.map((m) => (
|
||||
<li key={m}>{m}</li>
|
||||
))}
|
||||
</ul>
|
||||
<p className="edu-note">{edu.note}</p>
|
||||
</aside>
|
||||
);
|
||||
}
|
||||
|
||||
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">
|
||||
<p className="eyebrow">About</p>
|
||||
<h2 className="section-title">A bit about me</h2>
|
||||
{profile.about.map((p) => (
|
||||
<p key={p.slice(0, 24)}>{p}</p>
|
||||
<p className="about-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>
|
||||
<Education />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
+17
-14
@@ -16,7 +16,7 @@ const contactIcons = {
|
||||
linkedin: {
|
||||
vb: "0 0 24 24",
|
||||
inner:
|
||||
'<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.048c.477-.9 1.637-1.85 3.378-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.04 9.429C3.89 9.429 2.967 8.511 2.967 7.365c0-1.154.926-2.074 2.073-2.074 1.146 0 2.074.92 2.074 2.074 0 1.146-.922 2.068-2.075 2.073zm.004 11.02h-3.44V9h3.44v11.45z"/>',
|
||||
'<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -48,14 +48,13 @@ function PrivacyNote() {
|
||||
{open && (
|
||||
<div id="privacy-panel" className="privacy-panel">
|
||||
<p>
|
||||
<strong>{profile.name}</strong> ({profile.email}) is the data controller for this
|
||||
<strong>{profile.name}</strong>{profile.email && ` (${profile.email})`} is the data controller for this
|
||||
site. No cookies, analytics, or third-party trackers are used, and nothing you do here
|
||||
is logged or stored on a server. Your light/dark theme choice is saved in your
|
||||
browser's local storage only and is never transmitted anywhere. The Contributions
|
||||
graph above is fetched by this site's own server, not your browser, so GitHub never
|
||||
sees you as a visitor. If you email me, I'll only use your details to reply. Under UK
|
||||
GDPR you can request access to or deletion of any data held about you by emailing{" "}
|
||||
{profile.email}.
|
||||
sees you as a visitor. If you email me, I'll only use your details to reply.
|
||||
{profile.email && ` Under UK GDPR you can request access to or deletion of any data held about you by emailing ${profile.email}.`}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
@@ -68,24 +67,28 @@ export default function Contact() {
|
||||
return (
|
||||
<footer className="contact" id="contact">
|
||||
<div className="container">
|
||||
<p className="eyebrow eyebrow--light">Get in touch</p>
|
||||
<p className="eyebrow eyebrow--plain 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}`}>
|
||||
<ContactGlyph name="email" />
|
||||
{profile.email}
|
||||
</a>
|
||||
{profile.email && (
|
||||
<a className="btn btn-primary" href={`mailto:${profile.email}`}>
|
||||
<ContactGlyph name="email" />
|
||||
{profile.email}
|
||||
</a>
|
||||
)}
|
||||
<a className="btn btn-outline-light" href={profile.github} target="_blank" rel="noreferrer">
|
||||
<ContactGlyph name="github" />
|
||||
GitHub
|
||||
</a>
|
||||
<a className="btn btn-outline-light" href={profile.linkedin} target="_blank" rel="noreferrer">
|
||||
<ContactGlyph name="linkedin" />
|
||||
LinkedIn
|
||||
</a>
|
||||
{profile.linkedin && (
|
||||
<a className="btn btn-outline-light" href={profile.linkedin} target="_blank" rel="noreferrer">
|
||||
<ContactGlyph name="linkedin" />
|
||||
LinkedIn
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div className="container footer-bar">
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { useReducedMotion } from "motion/react";
|
||||
|
||||
// Custom pointer for mouse users: a small dot that stretches in the direction of
|
||||
// travel and swells slightly over links and buttons.
|
||||
export default function Cursor() {
|
||||
const reduced = useReducedMotion();
|
||||
const [active, setActive] = useState(false);
|
||||
@@ -92,8 +94,8 @@ export default function Cursor() {
|
||||
if (!active) return null;
|
||||
|
||||
return (
|
||||
<div className="cursor-dot" aria-hidden="true">
|
||||
<span ref={dotRef} />
|
||||
<div className="cursor" aria-hidden="true">
|
||||
<span className="cursor-dot" ref={dotRef} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,23 +1,31 @@
|
||||
import { experience } from "../content.js";
|
||||
import { Stagger, StaggerItem } from "./Stagger.jsx";
|
||||
|
||||
export default function Experience() {
|
||||
return (
|
||||
<section className="experience section" id="experience">
|
||||
<div className="container">
|
||||
<p className="eyebrow">Background</p>
|
||||
<h2 className="section-title">Experience & education</h2>
|
||||
<ol className="timeline">
|
||||
<h2 className="section-title">Experience</h2>
|
||||
<Stagger as="ol" className="timeline" gap={0.14}>
|
||||
{experience.map((e) => (
|
||||
<li key={e.title} className="timeline-item">
|
||||
<StaggerItem as="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>
|
||||
{e.summary && <p className="timeline-detail">{e.summary}</p>}
|
||||
{e.points && (
|
||||
<ul className="timeline-points">
|
||||
{e.points.map((pt) => (
|
||||
<li key={pt}>{pt}</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
</div>
|
||||
</li>
|
||||
</StaggerItem>
|
||||
))}
|
||||
</ol>
|
||||
</Stagger>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { profile, githubRepos } from "../content.js";
|
||||
import { skillIcons } from "./skill-icons.js";
|
||||
import { Stagger, StaggerItem } from "./Stagger.jsx";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
const langColors = {
|
||||
JavaScript: "#f1e05a",
|
||||
@@ -40,20 +42,19 @@ export default function GitHubGrid() {
|
||||
return (
|
||||
<section className="github section" id="github">
|
||||
<div className="container">
|
||||
<p className="eyebrow">Code</p>
|
||||
<h2 className="section-title">On GitHub</h2>
|
||||
<p className="section-lede">
|
||||
A curated selection from my 38 repositories: 27 self-made and 11
|
||||
fully agentic projects built with AI agents, to develop a feel for
|
||||
system design and AI-assisted software development. The full list
|
||||
lives on{" "}
|
||||
A few repositories worth opening first. The full list lives on{" "}
|
||||
<a href={profile.github} target="_blank" rel="noreferrer">
|
||||
github.com/{profile.githubUser}
|
||||
</a>
|
||||
.
|
||||
</p>
|
||||
<div className="repo-grid">
|
||||
<Stagger className="repo-grid" gap={0.07}>
|
||||
{githubRepos.map((r) => (
|
||||
<a
|
||||
<StaggerItem
|
||||
as="a"
|
||||
key={r.name}
|
||||
className="repo-card"
|
||||
href={r.url}
|
||||
@@ -67,13 +68,11 @@ export default function GitHubGrid() {
|
||||
<LangMark language={r.language} />
|
||||
{r.language}
|
||||
</span>
|
||||
<span className="repo-stars">
|
||||
{r.stars > 0 ? `${r.stars} star${r.stars === 1 ? "" : "s"}` : null}
|
||||
</span>
|
||||
<Icon name="external" className="link-icon" />
|
||||
</div>
|
||||
</a>
|
||||
</StaggerItem>
|
||||
))}
|
||||
</div>
|
||||
</Stagger>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
+67
-25
@@ -1,34 +1,76 @@
|
||||
import { motion, useReducedMotion } from "motion/react";
|
||||
import { profile } from "../content.js";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
const EASE = [0.22, 1, 0.36, 1];
|
||||
const group = { hidden: {}, show: { transition: { staggerChildren: 0.09, delayChildren: 0.05 } } };
|
||||
const rise = {
|
||||
hidden: { opacity: 0, y: 20 },
|
||||
show: { opacity: 1, y: 0, transition: { duration: 0.65, ease: EASE } },
|
||||
};
|
||||
|
||||
export default function Hero() {
|
||||
const reduced = useReducedMotion();
|
||||
// With reduced motion everything is simply rendered in place.
|
||||
const anim = reduced ? {} : { variants: rise };
|
||||
|
||||
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 className="hero-backdrop" aria-hidden="true" />
|
||||
<motion.div
|
||||
className="container hero-grid"
|
||||
variants={reduced ? undefined : group}
|
||||
initial={reduced ? false : "hidden"}
|
||||
animate={reduced ? undefined : "show"}
|
||||
>
|
||||
<div className="hero-copy">
|
||||
<motion.p className="eyebrow eyebrow--plain" {...anim}>
|
||||
{profile.role} · {profile.location}
|
||||
</motion.p>
|
||||
<motion.h1 className="hero-name" {...anim}>
|
||||
{profile.name}
|
||||
<span className="accent">.</span>
|
||||
</motion.h1>
|
||||
<motion.p className="hero-tagline" {...anim}>
|
||||
{profile.heroTagline}
|
||||
</motion.p>
|
||||
<motion.div className="hero-actions" {...anim}>
|
||||
<a className="btn btn-primary" href="#projects">
|
||||
View projects
|
||||
<Icon name="arrow" className="btn-icon" />
|
||||
</a>
|
||||
{profile.cvUrl && (
|
||||
<a className="btn btn-outline" href={profile.cvUrl} download>
|
||||
<Icon name="download" className="btn-icon" />
|
||||
Download CV
|
||||
</a>
|
||||
)}
|
||||
</motion.div>
|
||||
</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>
|
||||
|
||||
<motion.aside className="glance" aria-label={`About ${profile.name}`} {...anim}>
|
||||
<div className="glance-head">
|
||||
<span className="glance-title">{profile.name}</span>
|
||||
<span className="glance-lights" aria-hidden="true">
|
||||
<i />
|
||||
<i />
|
||||
<i />
|
||||
</span>
|
||||
</div>
|
||||
<dl className="glance-rows">
|
||||
{profile.glance.map((row) => (
|
||||
<div className="glance-row" key={row.label}>
|
||||
<dt>{row.label}</dt>
|
||||
<dd>{row.value}</dd>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
<div className="glance-status">
|
||||
<span className="availability-dot" aria-hidden="true" />
|
||||
{profile.availability}
|
||||
</div>
|
||||
</motion.aside>
|
||||
</motion.div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1,25 +1,40 @@
|
||||
import { homelab, localAI } from "../content.js";
|
||||
import { homelab, homelabMore, localAI } from "../content.js";
|
||||
import { Stagger, StaggerItem } from "./Stagger.jsx";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
export default function Homelab() {
|
||||
return (
|
||||
<section className="homelab section" id="homelab">
|
||||
<div className="container">
|
||||
<p className="eyebrow">Infrastructure</p>
|
||||
<h2 className="section-title">Homelab & 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">
|
||||
<Stagger as="ul" className="homelab-grid" gap={0.04}>
|
||||
{homelab.map((h) => (
|
||||
<li key={h.name} className="homelab-item">
|
||||
<h3>{h.name}</h3>
|
||||
<p>{h.detail}</p>
|
||||
</li>
|
||||
<StaggerItem as="li" key={h.name} className="homelab-item">
|
||||
<span className="homelab-icon">
|
||||
<Icon name={h.name} />
|
||||
</span>
|
||||
<div>
|
||||
<h3>
|
||||
{h.name}
|
||||
{h.wip && <span className="homelab-wip">In progress</span>}
|
||||
</h3>
|
||||
<p>{h.detail}</p>
|
||||
</div>
|
||||
</StaggerItem>
|
||||
))}
|
||||
</ul>
|
||||
</Stagger>
|
||||
<p className="homelab-more">{homelabMore}</p>
|
||||
|
||||
<div className="local-ai">
|
||||
<h2 className="section-title">{localAI.heading}</h2>
|
||||
<span className="local-ai-icon">
|
||||
<Icon name="cpu" />
|
||||
</span>
|
||||
<h3 className="section-title">{localAI.heading}</h3>
|
||||
{localAI.body.map((p) => (
|
||||
<p key={p.slice(0, 24)}>{p}</p>
|
||||
))}
|
||||
|
||||
@@ -1,39 +1,64 @@
|
||||
import { useState } from "react";
|
||||
import { useRef, useState } from "react";
|
||||
|
||||
// Single image renders as a plain picture; several render as a carousel with
|
||||
// arrows, dots, and scroll-snap swiping.
|
||||
export default function ImageCarousel({ images }) {
|
||||
// Fills its parent (the media pane of the project pop-up). Images are shown
|
||||
// whole (object-fit: contain) so phone screenshots are never cropped. One image
|
||||
// renders on its own; several get arrows, dots, keyboard and swipe.
|
||||
export default function ImageCarousel({ images, title = "" }) {
|
||||
const [i, setI] = useState(0);
|
||||
if (images.length === 1) return <img className="pm-image" src={images[0]} alt="" />;
|
||||
const startX = useRef(null);
|
||||
const many = images.length > 1;
|
||||
const go = (n) => setI((n + images.length) % images.length);
|
||||
|
||||
return (
|
||||
<div
|
||||
className="pm-carousel"
|
||||
role="group"
|
||||
aria-roledescription="carousel"
|
||||
aria-roledescription={many ? "carousel" : undefined}
|
||||
aria-label={`${title} screenshots`}
|
||||
tabIndex={many ? 0 : undefined}
|
||||
onKeyDown={(e) => {
|
||||
if (!many) return;
|
||||
if (e.key === "ArrowLeft") go(i - 1);
|
||||
if (e.key === "ArrowRight") go(i + 1);
|
||||
}}
|
||||
onPointerDown={(e) => {
|
||||
startX.current = e.clientX;
|
||||
}}
|
||||
onPointerUp={(e) => {
|
||||
if (!many || startX.current === null) return;
|
||||
const dx = e.clientX - startX.current;
|
||||
startX.current = null;
|
||||
if (Math.abs(dx) > 40) go(dx < 0 ? i + 1 : i - 1);
|
||||
}}
|
||||
>
|
||||
<div className="pm-carousel-track" style={{ transform: `translateX(-${i * 100}%)` }}>
|
||||
{images.map((src, n) => (
|
||||
<img key={src} className="pm-image" src={src} alt="" aria-hidden={n !== i} />
|
||||
))}
|
||||
</div>
|
||||
<button className="pm-arrow pm-arrow--prev" onClick={() => go(i - 1)} aria-label="Previous image">‹</button>
|
||||
<button className="pm-arrow pm-arrow--next" onClick={() => go(i + 1)} aria-label="Next image">›</button>
|
||||
<div className="pm-dots">
|
||||
{images.map((src, n) => (
|
||||
<button
|
||||
key={src}
|
||||
className={`pm-dot${n === i ? " pm-dot--on" : ""}`}
|
||||
onClick={() => setI(n)}
|
||||
aria-label={`Image ${n + 1} of ${images.length}`}
|
||||
aria-current={n === i}
|
||||
/>
|
||||
<div className="pm-slide" key={src} aria-hidden={n !== i}>
|
||||
<img className="pm-image" src={src} alt="" draggable={false} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
{many && (
|
||||
<>
|
||||
<button className="pm-arrow pm-arrow--prev" onClick={() => go(i - 1)} aria-label="Previous image">
|
||||
‹
|
||||
</button>
|
||||
<button className="pm-arrow pm-arrow--next" onClick={() => go(i + 1)} aria-label="Next image">
|
||||
›
|
||||
</button>
|
||||
<div className="pm-dots">
|
||||
{images.map((src, n) => (
|
||||
<button
|
||||
key={src}
|
||||
className={`pm-dot${n === i ? " pm-dot--on" : ""}`}
|
||||
onClick={() => setI(n)}
|
||||
aria-label={`Image ${n + 1} of ${images.length}`}
|
||||
aria-current={n === i}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
import { interests } from "../content.js";
|
||||
import { Stagger, StaggerItem } from "./Stagger.jsx";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
export default function Interests() {
|
||||
return (
|
||||
@@ -6,14 +8,17 @@ export default function Interests() {
|
||||
<div className="container">
|
||||
<p className="eyebrow">Beyond the terminal</p>
|
||||
<h2 className="section-title">Interests</h2>
|
||||
<div className="interest-grid">
|
||||
<Stagger className="interest-grid">
|
||||
{interests.map((i) => (
|
||||
<article key={i.name} className="interest-card">
|
||||
<StaggerItem as="article" key={i.name} className="interest-card">
|
||||
<span className="interest-icon">
|
||||
<Icon name={i.icon} />
|
||||
</span>
|
||||
<h3>{i.name}</h3>
|
||||
<p>{i.detail}</p>
|
||||
</article>
|
||||
</StaggerItem>
|
||||
))}
|
||||
</div>
|
||||
</Stagger>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
+148
-44
@@ -1,9 +1,13 @@
|
||||
import { useState } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { AnimatePresence, motion, useReducedMotion, useScroll, useSpring } from "motion/react";
|
||||
import { profile } from "../content.js";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
const links = [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Experience", href: "#experience" },
|
||||
{ label: "Projects", href: "#projects" },
|
||||
{ label: "GitHub", href: "#github" },
|
||||
{ label: "Activity", href: "#activity" },
|
||||
{ label: "Skills", href: "#skills" },
|
||||
{ label: "Homelab", href: "#homelab" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
@@ -53,9 +57,63 @@ function SunIcon() {
|
||||
);
|
||||
}
|
||||
|
||||
// Which section is under the middle of the viewport, for the active nav link.
|
||||
function useActiveSection() {
|
||||
const [active, setActive] = useState("");
|
||||
useEffect(() => {
|
||||
// Only sections with a nav link are watched, so the pill holds the last
|
||||
// linked section while scrolling through ones without (GitHub, interests).
|
||||
const sections = links.map((l) => document.querySelector(l.href)).filter(Boolean);
|
||||
const io = new IntersectionObserver(
|
||||
(entries) => {
|
||||
for (const e of entries) {
|
||||
if (e.isIntersecting) setActive(`#${e.target.id}`);
|
||||
}
|
||||
},
|
||||
{ rootMargin: "-45% 0px -50% 0px" }
|
||||
);
|
||||
sections.forEach((s) => io.observe(s));
|
||||
const onScroll = () => {
|
||||
if (window.scrollY < 200) setActive("");
|
||||
};
|
||||
window.addEventListener("scroll", onScroll, { passive: true });
|
||||
return () => {
|
||||
io.disconnect();
|
||||
window.removeEventListener("scroll", onScroll);
|
||||
};
|
||||
}, []);
|
||||
return active;
|
||||
}
|
||||
|
||||
export default function Nav() {
|
||||
const reduced = useReducedMotion();
|
||||
const [open, setOpen] = useState(false);
|
||||
const [theme, setTheme] = useState(initialTheme);
|
||||
const [scrolled, setScrolled] = useState(false);
|
||||
const active = useActiveSection();
|
||||
const { scrollYProgress } = useScroll();
|
||||
const progress = useSpring(scrollYProgress, { stiffness: 140, damping: 28, mass: 0.4 });
|
||||
|
||||
useEffect(() => {
|
||||
const onScroll = () => setScrolled(window.scrollY > 12);
|
||||
onScroll();
|
||||
window.addEventListener("scroll", onScroll, { passive: true });
|
||||
return () => window.removeEventListener("scroll", onScroll);
|
||||
}, []);
|
||||
|
||||
// Mobile menu: Esc closes it, and it closes itself if the window grows.
|
||||
useEffect(() => {
|
||||
if (!open) return;
|
||||
const onKey = (e) => e.key === "Escape" && setOpen(false);
|
||||
const mq = window.matchMedia("(min-width: 941px)");
|
||||
const onWide = () => mq.matches && setOpen(false);
|
||||
window.addEventListener("keydown", onKey);
|
||||
mq.addEventListener("change", onWide);
|
||||
return () => {
|
||||
window.removeEventListener("keydown", onKey);
|
||||
mq.removeEventListener("change", onWide);
|
||||
};
|
||||
}, [open]);
|
||||
|
||||
function toggleTheme() {
|
||||
const next = theme === "dark" ? "light" : "dark";
|
||||
@@ -64,62 +122,108 @@ export default function Nav() {
|
||||
localStorage.setItem("theme", next);
|
||||
}
|
||||
|
||||
const themeToggle = (
|
||||
<button
|
||||
type="button"
|
||||
className="theme-toggle"
|
||||
aria-label={theme === "dark" ? "Switch to light mode" : "Switch to dark mode"}
|
||||
title={theme === "dark" ? "Light mode" : "Dark mode"}
|
||||
onClick={toggleTheme}
|
||||
>
|
||||
{theme === "dark" ? <SunIcon /> : <MoonIcon />}
|
||||
</button>
|
||||
);
|
||||
|
||||
return (
|
||||
<header className="nav">
|
||||
<header className={`nav${scrolled ? " nav--scrolled" : ""}${open ? " nav--open" : ""}`}>
|
||||
<div className="container nav-inner">
|
||||
<a
|
||||
className="nav-wordmark"
|
||||
href="#top"
|
||||
onClick={() => setOpen(false)}
|
||||
>
|
||||
<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"
|
||||
>
|
||||
|
||||
<nav className="nav-links" aria-label="Primary">
|
||||
{links.map((l) => (
|
||||
<a
|
||||
key={l.href}
|
||||
className="nav-link"
|
||||
className={`nav-link${active === l.href ? " nav-link--active" : ""}`}
|
||||
href={l.href}
|
||||
onClick={() => setOpen(false)}
|
||||
aria-current={active === l.href ? "true" : undefined}
|
||||
>
|
||||
{l.label}
|
||||
{active === l.href && (
|
||||
<motion.span
|
||||
className="nav-link-pill"
|
||||
layoutId="nav-pill"
|
||||
transition={reduced ? { duration: 0 } : { type: "spring", stiffness: 420, damping: 34 }}
|
||||
/>
|
||||
)}
|
||||
<span className="nav-link-label">{l.label}</span>
|
||||
</a>
|
||||
))}
|
||||
</nav>
|
||||
<button
|
||||
type="button"
|
||||
className="theme-toggle"
|
||||
aria-label={theme === "dark" ? "Switch to light mode" : "Switch to dark mode"}
|
||||
title={theme === "dark" ? "Light mode" : "Dark mode"}
|
||||
onClick={toggleTheme}
|
||||
>
|
||||
{theme === "dark" ? <SunIcon /> : <MoonIcon />}
|
||||
</button>
|
||||
<a
|
||||
className="btn btn-primary btn-sm nav-cv"
|
||||
href={profile.cvUrl}
|
||||
download
|
||||
onClick={() => setOpen(false)}
|
||||
>
|
||||
Download CV
|
||||
</a>
|
||||
|
||||
<div className="nav-actions">
|
||||
{themeToggle}
|
||||
{profile.cvUrl && (
|
||||
<a className="btn btn-primary btn-sm nav-cv" href={profile.cvUrl} download>
|
||||
<Icon name="download" className="btn-icon" />
|
||||
CV
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<motion.div className="nav-progress" style={{ scaleX: progress }} aria-hidden="true" />
|
||||
|
||||
<AnimatePresence>
|
||||
{open && (
|
||||
<motion.nav
|
||||
id="nav-menu"
|
||||
className="nav-sheet"
|
||||
aria-label="Primary"
|
||||
initial={reduced ? false : { opacity: 0, y: -8 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
exit={reduced ? undefined : { opacity: 0, y: -8 }}
|
||||
transition={{ duration: 0.22, ease: [0.22, 1, 0.36, 1] }}
|
||||
>
|
||||
<div className="container">
|
||||
{links.map((l, i) => (
|
||||
<a
|
||||
key={l.href}
|
||||
className={`nav-sheet-link${active === l.href ? " nav-sheet-link--active" : ""}`}
|
||||
href={l.href}
|
||||
onClick={() => setOpen(false)}
|
||||
>
|
||||
<span className="nav-sheet-num">{String(i + 1).padStart(2, "0")}</span>
|
||||
{l.label}
|
||||
</a>
|
||||
))}
|
||||
{profile.cvUrl && (
|
||||
<a
|
||||
className="btn btn-primary nav-sheet-cv"
|
||||
href={profile.cvUrl}
|
||||
download
|
||||
onClick={() => setOpen(false)}
|
||||
>
|
||||
<Icon name="download" className="btn-icon" />
|
||||
Download CV
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
</motion.nav>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
+114
-86
@@ -2,17 +2,75 @@ import { useEffect, useRef, useState } from "react";
|
||||
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
|
||||
import { projects } from "../content.js";
|
||||
import ImageCarousel from "./ImageCarousel.jsx";
|
||||
import projectImages from "../project-images.json";
|
||||
import { Stagger, StaggerItem } from "./Stagger.jsx";
|
||||
import Tag from "./Tag.jsx";
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
// Images listed in src/project-images.json (files live in public/images/projects/);
|
||||
// `images` in src/data/projects.json (files live in public/images/projects/);
|
||||
// falls back to the project's default artwork.
|
||||
function imagesFor(p) {
|
||||
const list = (projectImages[p.id] || []).map((f) => `/images/projects/${f}`);
|
||||
const list = (p.images || []).map((f) => `/images/projects/${f}`);
|
||||
return list.length ? list : [p.image];
|
||||
}
|
||||
|
||||
function Tag({ children, variant }) {
|
||||
return <span className={`tag${variant ? ` tag--${variant}` : ""}`}>{children}</span>;
|
||||
// Card thumbnail: phone screenshots fan out as three small screens, anything
|
||||
// wider is a single cropped cover.
|
||||
function CardMedia({ project }) {
|
||||
const images = imagesFor(project);
|
||||
if (project.orientation === "portrait") {
|
||||
return (
|
||||
<div className="project-media project-media--phones" aria-hidden="true">
|
||||
{images.slice(0, 3).map((src) => (
|
||||
<img key={src} src={src} alt="" loading="lazy" />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div className="project-media" aria-hidden="true">
|
||||
<img src={images[0]} alt="" loading="lazy" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function Tags({ project }) {
|
||||
return (
|
||||
<div className="project-tags">
|
||||
{(project.tags || []).map((t) => (
|
||||
<Tag key={t} variant="private">
|
||||
{t}
|
||||
</Tag>
|
||||
))}
|
||||
{project.stack.map((t) => (
|
||||
<Tag key={t}>{t}</Tag>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function RepoLink({ project, stop }) {
|
||||
if (!project.repo) return null;
|
||||
return (
|
||||
<a
|
||||
className="project-link"
|
||||
href={project.repo}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
onClick={stop ? (e) => e.stopPropagation() : undefined}
|
||||
>
|
||||
GitHub
|
||||
<Icon name="external" className="link-icon" />
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
||||
function FypBadge() {
|
||||
return (
|
||||
<span className="fyp-badge">
|
||||
<Icon name="award" className="tag-icon" />
|
||||
Final Year Project
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
export default function Projects() {
|
||||
@@ -47,15 +105,15 @@ export default function Projects() {
|
||||
<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. Click any card for the full
|
||||
breakdown.
|
||||
Every project on my CV, with the detail behind each one. Open any card for the full
|
||||
breakdown, the stack and the screenshots.
|
||||
</p>
|
||||
<div className="project-grid">
|
||||
{projects.map((p, i) => (
|
||||
<motion.article
|
||||
key={p.title}
|
||||
className={`project-card${p.highlight ? " project-card--highlight" : ""}`}
|
||||
<Stagger className="project-grid" gap={0.09}>
|
||||
{projects.map((p) => (
|
||||
<StaggerItem
|
||||
as="article"
|
||||
key={p.id}
|
||||
className={`project-card${p.fyp ? " project-card--fyp" : ""}`}
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
aria-haspopup="dialog"
|
||||
@@ -66,61 +124,42 @@ export default function Projects() {
|
||||
open(p);
|
||||
}
|
||||
}}
|
||||
initial={reduced ? false : { opacity: 0, y: 20 }}
|
||||
whileInView={reduced ? undefined : { opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, margin: "-60px" }}
|
||||
transition={{ duration: 0.55, delay: (i % 3) * 0.08, ease: [0.22, 1, 0.36, 1] }}
|
||||
>
|
||||
<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.tags || []).map((t) => (
|
||||
<Tag key={t} variant="private">
|
||||
{t}
|
||||
</Tag>
|
||||
))}
|
||||
{p.stack.map((t) => (
|
||||
<Tag key={t}>{t}</Tag>
|
||||
))}
|
||||
<CardMedia project={p} />
|
||||
<div className="project-body">
|
||||
{p.fyp && <FypBadge />}
|
||||
<div className="project-head">
|
||||
<h3>{p.title}</h3>
|
||||
<span className="project-year">{p.period || p.year}</span>
|
||||
</div>
|
||||
<p className="project-role">{p.role}</p>
|
||||
<p className="project-desc">{p.description}</p>
|
||||
<Tags project={p} />
|
||||
<div className="project-foot">
|
||||
<span className="project-hint">
|
||||
Full breakdown
|
||||
<Icon name="arrow" className="link-icon" />
|
||||
</span>
|
||||
<RepoLink project={p} stop />
|
||||
</div>
|
||||
{p.repo && (
|
||||
<a
|
||||
className="project-link"
|
||||
href={p.repo}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
GitHub ↗
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
<span className="project-hint" aria-hidden="true">
|
||||
Full breakdown →
|
||||
</span>
|
||||
</motion.article>
|
||||
</StaggerItem>
|
||||
))}
|
||||
</div>
|
||||
</Stagger>
|
||||
</div>
|
||||
|
||||
<AnimatePresence>
|
||||
{selected && (
|
||||
<div
|
||||
<motion.div
|
||||
className="pm-backdrop"
|
||||
onClick={close}
|
||||
initial={reduced ? false : { opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
exit={reduced ? undefined : { opacity: 0 }}
|
||||
transition={{ duration: 0.2 }}
|
||||
>
|
||||
<motion.div
|
||||
className="pm-panel"
|
||||
className={`pm-panel pm-panel--${selected.orientation || "landscape"}`}
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-labelledby="pm-title"
|
||||
@@ -130,49 +169,38 @@ export default function Projects() {
|
||||
exit={reduced ? undefined : { opacity: 0, y: 12, scale: 0.98 }}
|
||||
transition={{ duration: 0.3, ease: [0.22, 1, 0.36, 1] }}
|
||||
>
|
||||
<button className="pm-close" ref={closeRef} onClick={close}>
|
||||
<button className="pm-close" ref={closeRef} onClick={close} aria-label="Close">
|
||||
Close ×
|
||||
</button>
|
||||
<ImageCarousel key={selected.id} images={imagesFor(selected)} />
|
||||
<div className="pm-media">
|
||||
<ImageCarousel key={selected.id} images={imagesFor(selected)} title={selected.title} />
|
||||
</div>
|
||||
<div className="pm-body">
|
||||
<div className="pm-head">
|
||||
<h3 id="pm-title">{selected.title}</h3>
|
||||
{selected.year && (
|
||||
<span className="project-year">{selected.year}</span>
|
||||
{selected.fyp && <FypBadge />}
|
||||
<h3 id="pm-title" className="pm-title">
|
||||
{selected.title}
|
||||
</h3>
|
||||
<p className="pm-meta">
|
||||
<span>{selected.role}</span>
|
||||
{(selected.period || selected.year) && (
|
||||
<span className="project-year">{selected.period || selected.year}</span>
|
||||
)}
|
||||
</div>
|
||||
<p className="project-role">{selected.role}</p>
|
||||
</p>
|
||||
<p className="pm-detail">{selected.detail}</p>
|
||||
<ul className="project-features">
|
||||
{selected.features.map((f) => (
|
||||
<li key={f}>{f}</li>
|
||||
))}
|
||||
</ul>
|
||||
<div className="pm-foot">
|
||||
<div className="project-tags">
|
||||
{(selected.tags || []).map((t) => (
|
||||
<Tag key={t} variant="private">
|
||||
{t}
|
||||
</Tag>
|
||||
))}
|
||||
{selected.stack.map((t) => (
|
||||
<Tag key={t}>{t}</Tag>
|
||||
))}
|
||||
<Tags project={selected} />
|
||||
{selected.repo && (
|
||||
<div className="pm-foot">
|
||||
<RepoLink project={selected} />
|
||||
</div>
|
||||
{selected.repo && (
|
||||
<a
|
||||
className="project-link"
|
||||
href={selected.repo}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
GitHub ↗
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</motion.div>
|
||||
</div>
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</section>
|
||||
|
||||
@@ -53,6 +53,7 @@ export default function SkillsCarousel() {
|
||||
return (
|
||||
<section className="skills section" id="skills">
|
||||
<div className="container">
|
||||
<p className="eyebrow">Toolbox</p>
|
||||
<h2 className="section-title">Skills & tools</h2>
|
||||
<Marquee label="Languages & frameworks" items={skills.languages} />
|
||||
<Marquee label="Tools & platforms" items={skills.tools} />
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
import { motion, useReducedMotion } from "motion/react";
|
||||
|
||||
const EASE = [0.22, 1, 0.36, 1];
|
||||
|
||||
const group = (gap) => ({
|
||||
hidden: {},
|
||||
show: { transition: { staggerChildren: gap } },
|
||||
});
|
||||
|
||||
const item = {
|
||||
hidden: { opacity: 0, y: 22 },
|
||||
show: { opacity: 1, y: 0, transition: { duration: 0.55, ease: EASE } },
|
||||
};
|
||||
|
||||
// Wrap a grid or list in <Stagger> and each child in <StaggerItem>: the children
|
||||
// fade up one after another the first time the group scrolls into view.
|
||||
export function Stagger({ as = "div", gap = 0.08, children, ...rest }) {
|
||||
const reduced = useReducedMotion();
|
||||
if (reduced) {
|
||||
const Plain = as;
|
||||
return <Plain {...rest}>{children}</Plain>;
|
||||
}
|
||||
const Moving = motion[as];
|
||||
return (
|
||||
<Moving
|
||||
variants={group(gap)}
|
||||
initial="hidden"
|
||||
whileInView="show"
|
||||
viewport={{ once: true, margin: "-60px" }}
|
||||
{...rest}
|
||||
>
|
||||
{children}
|
||||
</Moving>
|
||||
);
|
||||
}
|
||||
|
||||
export function StaggerItem({ as = "div", children, ...rest }) {
|
||||
const reduced = useReducedMotion();
|
||||
if (reduced) {
|
||||
const Plain = as;
|
||||
return <Plain {...rest}>{children}</Plain>;
|
||||
}
|
||||
const Moving = motion[as];
|
||||
return (
|
||||
<Moving variants={item} {...rest}>
|
||||
{children}
|
||||
</Moving>
|
||||
);
|
||||
}
|
||||
@@ -1,12 +1,41 @@
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { animate, useInView, useReducedMotion } from "motion/react";
|
||||
import { stats } from "../content.js";
|
||||
|
||||
// Counts the leading number up from zero the first time it scrolls into view.
|
||||
// Anything after the digits ("+", "k+") is kept as a suffix.
|
||||
function CountUp({ value }) {
|
||||
const reduced = useReducedMotion();
|
||||
const ref = useRef(null);
|
||||
const inView = useInView(ref, { once: true, margin: "-40px" });
|
||||
const match = /^(\d+)(.*)$/.exec(value);
|
||||
const target = match ? Number(match[1]) : null;
|
||||
const [n, setN] = useState(reduced || target === null ? target : 0);
|
||||
|
||||
useEffect(() => {
|
||||
if (reduced || target === null || !inView) return;
|
||||
const controls = animate(0, target, {
|
||||
duration: 1.1,
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
onUpdate: (v) => setN(Math.round(v)),
|
||||
});
|
||||
return () => controls.stop();
|
||||
}, [inView, reduced, target]);
|
||||
|
||||
return (
|
||||
<span className="stat-value" ref={ref}>
|
||||
{target === null ? value : `${n}${match[2]}`}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
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>
|
||||
<CountUp value={s.value} />
|
||||
<span className="stat-label">{s.label}</span>
|
||||
</div>
|
||||
))}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { Icon } from "./icons.jsx";
|
||||
|
||||
// Pill used for tech stacks and labels. Picks up a glyph when icons.jsx has one
|
||||
// for the label; plain text otherwise.
|
||||
export default function Tag({ children, variant }) {
|
||||
return (
|
||||
<span className={`tag${variant ? ` tag--${variant}` : ""}`}>
|
||||
<Icon name={children} className="tag-icon" />
|
||||
{children}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
// Small glyphs for tags, homelab tiles and interest cards. Brand marks come from
|
||||
// simple-icons (CC0) or the existing skill-icons.js; the generic ones are
|
||||
// lucide-style strokes (ISC).
|
||||
import {
|
||||
siTailwindcss, siProxmox, siNginx, siTailscale, siEspressif, siArduino, siDiscord,
|
||||
siGitlab, siPihole, siVaultwarden, siImmich, siSearxng, siWireguard, siGitea,
|
||||
siHomeassistant, siReact, siGnubash,
|
||||
} from "simple-icons";
|
||||
import { skillIcons } from "./skill-icons.js";
|
||||
|
||||
const si = (icon) => ({ vb: "0 0 24 24", inner: `<path d="${icon.path}"/>` });
|
||||
const stroke = (inner) => ({
|
||||
vb: "0 0 24 24",
|
||||
inner: `<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${inner}</g>`,
|
||||
});
|
||||
|
||||
const generic = {
|
||||
pin: stroke('<path d="M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z"/><circle cx="12" cy="10" r="3"/>'),
|
||||
activity: stroke('<path d="M22 12h-4l-3 9L9 3l-3 9H2"/>'),
|
||||
layers: stroke('<path d="m12 2 10 5-10 5L2 7z"/><path d="m2 12 10 5 10-5"/><path d="m2 17 10 5 10-5"/>'),
|
||||
database: stroke('<ellipse cx="12" cy="5" rx="9" ry="3"/><path d="M3 5v14c0 1.7 4 3 9 3s9-1.3 9-3V5"/><path d="M3 12c0 1.7 4 3 9 3s9-1.3 9-3"/>'),
|
||||
sparkles: stroke('<path d="m12 3 1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z"/><path d="M19 15v4M17 17h4"/>'),
|
||||
mic: stroke('<rect x="9" y="2" width="6" height="12" rx="3"/><path d="M5 10a7 7 0 0 0 14 0M12 17v5"/>'),
|
||||
window: stroke('<rect x="3" y="4" width="18" height="16" rx="2"/><path d="M3 9h18"/>'),
|
||||
lock: stroke('<rect x="4" y="11" width="16" height="10" rx="2"/><path d="M8 11V7a4 4 0 0 1 8 0v4"/>'),
|
||||
award: stroke('<circle cx="12" cy="8" r="6"/><path d="M8.2 13 7 22l5-3 5 3-1.2-9"/>'),
|
||||
network: stroke('<rect x="9" y="2" width="6" height="6" rx="1"/><rect x="2" y="16" width="6" height="6" rx="1"/><rect x="16" y="16" width="6" height="6" rx="1"/><path d="M12 8v4M5 16v-2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2"/>'),
|
||||
server: stroke('<rect x="2" y="3" width="20" height="8" rx="2"/><rect x="2" y="13" width="20" height="8" rx="2"/><path d="M6 7h.01M6 17h.01"/>'),
|
||||
cpu: stroke('<rect x="5" y="5" width="14" height="14" rx="2"/><rect x="9" y="9" width="6" height="6"/><path d="M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3"/>'),
|
||||
chip: stroke('<circle cx="12" cy="12" r="9"/><path d="M12 12h.01M12 3v4M12 17v4M3 12h4M17 12h4"/>'),
|
||||
phone: stroke('<rect x="6" y="2" width="12" height="20" rx="2.5"/><path d="M11 18h2"/>'),
|
||||
cloud: stroke('<path d="M17.5 19a4.5 4.5 0 0 0 .5-9 6 6 0 0 0-11.7 1.5A4 4 0 0 0 7 19z"/>'),
|
||||
terminal: stroke('<path d="m4 17 6-6-6-6M12 19h8"/>'),
|
||||
chat: stroke('<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>'),
|
||||
play: stroke('<rect x="2" y="4" width="20" height="16" rx="2"/><path d="m10 9 5 3-5 3z"/>'),
|
||||
boxes: stroke('<path d="M21 8 12 3 3 8v8l9 5 9-5z"/><path d="m3 8 9 5 9-5M12 13v8"/>'),
|
||||
arrow: stroke('<path d="M5 12h14M13 6l6 6-6 6"/>'),
|
||||
external: stroke('<path d="M7 17 17 7M8 7h9v9"/>'),
|
||||
download: stroke('<path d="M12 3v12M7 10l5 5 5-5M5 21h14"/>'),
|
||||
cap: stroke('<path d="M22 10 12 5 2 10l10 5z"/><path d="M6 12v5c3 2 9 2 12 0v-5"/>'),
|
||||
};
|
||||
|
||||
// Keys match the strings used in src/data/*.json.
|
||||
export const icons = {
|
||||
...generic,
|
||||
// tech stack tags
|
||||
"React": si(siReact),
|
||||
"React.js": si(siReact),
|
||||
"React Native": si(siReact),
|
||||
"Expo": skillIcons["Expo"],
|
||||
"Node.js": skillIcons["Node.js"],
|
||||
"Express.js": skillIcons["Express.js"],
|
||||
"Tailwind CSS": si(siTailwindcss),
|
||||
"Docker": skillIcons["Docker"],
|
||||
"Linux": skillIcons["Linux"],
|
||||
"Bash": si(siGnubash),
|
||||
"JavaScript": skillIcons["JavaScript"],
|
||||
"Python": skillIcons["Python"],
|
||||
"Java": skillIcons["Java"],
|
||||
"Kotlin": skillIcons["Kotlin"],
|
||||
"Android Studio": skillIcons["Android Studio"],
|
||||
"ESP32": si(siEspressif),
|
||||
"Arduino": si(siArduino),
|
||||
"Proxmox": si(siProxmox),
|
||||
"Nginx": si(siNginx),
|
||||
"Tailscale": si(siTailscale),
|
||||
"Discord API": si(siDiscord),
|
||||
"GitLab": si(siGitlab),
|
||||
"GPS": generic.pin,
|
||||
"Sensor APIs": generic.activity,
|
||||
"MVVM": generic.layers,
|
||||
"Room": generic.database,
|
||||
"LLM": generic.sparkles,
|
||||
"Voice": generic.mic,
|
||||
"Swing": generic.window,
|
||||
"Networking": generic.network,
|
||||
"Private repo": generic.lock,
|
||||
// homelab tiles
|
||||
"Own Media Server": generic.play,
|
||||
"SearXNG": si(siSearxng),
|
||||
"Dockhand": generic.boxes,
|
||||
"Pi-hole + AdGuard Home": si(siPihole),
|
||||
"3 cloud VPS instances": generic.cloud,
|
||||
"OpenVPN + WireGuard": si(siWireguard),
|
||||
"OpenWebUI": generic.chat,
|
||||
"Gitea": si(siGitea),
|
||||
"Vaultwarden": si(siVaultwarden),
|
||||
"Immich": si(siImmich),
|
||||
"Home Assistant": si(siHomeassistant),
|
||||
"Termix": generic.terminal,
|
||||
};
|
||||
|
||||
export function Icon({ name, className = "icon" }) {
|
||||
const icon = icons[name];
|
||||
if (!icon) return null;
|
||||
return (
|
||||
<svg
|
||||
viewBox={icon.vb}
|
||||
fill="currentColor"
|
||||
className={className}
|
||||
aria-hidden="true"
|
||||
dangerouslySetInnerHTML={{ __html: icon.inner }}
|
||||
/>
|
||||
);
|
||||
}
|
||||
+61
-389
@@ -1,402 +1,74 @@
|
||||
// ---------------------------------------------------------------------------
|
||||
// Single source of truth for all personal content.
|
||||
// Swap the name, links, or any section by editing this file only.
|
||||
// Content assembly. The words themselves live in src/data/*.json, one file per
|
||||
// section (profile, stats, experience, projects, repos, skills, homelab,
|
||||
// languages, interests). Edit those to change what the site says.
|
||||
//
|
||||
// Only identity and contact details come from env (secrets/.env in dev,
|
||||
// `docker run -e` in a container), so a demo can swap them without touching
|
||||
// any content:
|
||||
// VITE_NAME, VITE_EMAIL, VITE_GITHUB_USER, VITE_LINKEDIN,
|
||||
// VITE_CV_URL, VITE_UNIVERSITY (fills {{university}} in the JSON files). Empty email / LinkedIn / CV hides that button.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// 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/my_cv.pdf";
|
||||
import profileData from "./data/profile.json";
|
||||
import statsData from "./data/stats.json";
|
||||
import experienceData from "./data/experience.json";
|
||||
import interestsData from "./data/interests.json";
|
||||
import projectsData from "./data/projects.json";
|
||||
import reposData from "./data/repos.json";
|
||||
import skillsData from "./data/skills.json";
|
||||
import homelabData from "./data/homelab.json";
|
||||
import languagesData from "./data/languages.json";
|
||||
|
||||
// Runtime values (served by server/index.js at /env.js, filled from `docker run -e`)
|
||||
// win over build-time ones (secrets/.env, used by `npm run dev`).
|
||||
const env = { ...import.meta.env, ...(typeof window !== "undefined" ? window.__ENV__ : {}) };
|
||||
const GITHUB_USER = env.VITE_GITHUB_USER || "your-github-username";
|
||||
// Replaces {{university}} anywhere in a JSON section with VITE_UNIVERSITY.
|
||||
const UNIVERSITY = env.VITE_UNIVERSITY || "Your University";
|
||||
const fill = (v) =>
|
||||
typeof v === "string"
|
||||
? v.replaceAll("{{university}}", UNIVERSITY)
|
||||
: Array.isArray(v)
|
||||
? v.map(fill)
|
||||
: v && typeof v === "object"
|
||||
? Object.fromEntries(Object.entries(v).map(([k, x]) => [k, fill(x)]))
|
||||
: v;
|
||||
const repoUrl = (name) => `https://github.com/${GITHUB_USER}/${name}`;
|
||||
|
||||
export const profile = {
|
||||
name: NAME,
|
||||
role: "Recent graduate software engineer",
|
||||
location: LOCATION,
|
||||
email: EMAIL,
|
||||
...fill(profileData),
|
||||
name: env.VITE_NAME || "Your Name",
|
||||
email: env.VITE_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: "Kingston 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 media aggregation & sorting system 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 my studies, 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.",
|
||||
],
|
||||
linkedin: env.VITE_LINKEDIN || "",
|
||||
cvUrl: env.VITE_CV_URL || "",
|
||||
};
|
||||
|
||||
// Numbers shown in the stats strip under the hero.
|
||||
export const stats = [
|
||||
{ value: "7+", label: "Projects built end to end" },
|
||||
{ value: "19", label: "Languages & frameworks" },
|
||||
{ value: "15", label: "Self-hosted services running" },
|
||||
{ value: "1:1", label: "First-class BSc Computer Science" },
|
||||
];
|
||||
export const experience = fill(experienceData);
|
||||
export const interests = fill(interestsData);
|
||||
|
||||
// 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 full-time starts only.",
|
||||
},
|
||||
{
|
||||
period: "Summers 2020 - 2026",
|
||||
title: "Network Infrastructure Engineer (Volunteer)",
|
||||
org: "Jalsa Salana UK · Ahmadiyya Muslim Association",
|
||||
detail:
|
||||
"Engineered a high-availability network for 20,000+ concurrent users with 99.9% uptime, automating hardware monitoring via custom Linux scripts; configured hardware and structured cabling across multi-site event environments, troubleshooting in real time under time-critical conditions.",
|
||||
},
|
||||
{
|
||||
period: "Nov 2025 - Feb 2026",
|
||||
title: "Optical Assistant",
|
||||
org: "Specsavers · London",
|
||||
detail:
|
||||
"Managed sensitive patient data systems with 100% accuracy in a high-volume clinical environment; advised customers on eyewear options and completed sales; fitted and adjusted spectacle frames with precision.",
|
||||
},
|
||||
{
|
||||
period: "2025 - 2026",
|
||||
title: "Final-Year Project: MASS",
|
||||
org: "Kingston University",
|
||||
detail:
|
||||
"Built MASS (Media Aggregation & Sorting System), a cross-platform React Native app that aggregates media from device storage, Google Photos, and a home NAS into one timeline view, backed by a RESTful Express.js backend; cut data retrieval latency 30% via API caching.",
|
||||
},
|
||||
{
|
||||
period: "2023 - 2026",
|
||||
title: "BSc Computer Science (Hons)",
|
||||
org: "Kingston University · First Class (1:1)",
|
||||
detail:
|
||||
"Coursework spanning web and mobile development, databases, networking, and systems programming, capped by the MASS final-year project.",
|
||||
},
|
||||
];
|
||||
// `repo` in projects.json / repos.json is just the repository name; the full
|
||||
// GitHub URL is built from VITE_GITHUB_USER. `images` lists filenames from
|
||||
// public/images/projects/ (several = carousel); empty falls back to `image`.
|
||||
export const projects = fill(projectsData).map((p) => ({
|
||||
...p,
|
||||
repo: p.repo ? repoUrl(p.repo) : undefined,
|
||||
}));
|
||||
export const githubRepos = reposData.map((r) => ({ ...r, url: repoUrl(r.name) }));
|
||||
|
||||
// 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, on a Proxmox host carrying a dozen services.",
|
||||
},
|
||||
{
|
||||
name: "Local LLMs",
|
||||
detail:
|
||||
"Running local LLMs 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 a sidebar styled after Opera GX. Small UI details matter to me.",
|
||||
},
|
||||
];
|
||||
export const skills = skillsData;
|
||||
|
||||
// Case-study project cards. `role` is a short context line; `features` are
|
||||
// the highlight bullets; `stack` replaces the old tag list. `detail` holds
|
||||
// the long-form write-up for the expanded view; `image` is its art.
|
||||
export const projects = [
|
||||
{
|
||||
id: "mass",
|
||||
title: "MASS: Media Aggregation & Sorting System",
|
||||
year: "2026",
|
||||
role: "Final-year project · Solo",
|
||||
description:
|
||||
"A cross-platform React Native app that aggregates media from device storage, Google Photos, and a home NAS into one timeline view, backed by a RESTful Express.js backend.",
|
||||
image: "/images/projects/mass.svg",
|
||||
detail:
|
||||
"Built as my final-year project, MASS pulls media from three sources: device storage, Google Photos, and a Synology NAS on the home network, and merges them into one chronological timeline. The Express backend sits between the app and each source, normalising metadata so sorting by date, type, or location stays consistent regardless of where the file lives. Most of my engineering time went into the caching layer: repeated timeline fetches hit the cache instead of re-querying all three sources, which is where the 30% latency reduction came from.",
|
||||
features: [
|
||||
"Reduced data retrieval latency 30% through optimized API caching",
|
||||
"Metadata-driven sorting across diverse media types",
|
||||
"RESTful Express.js backend cutting server response time 15% via middleware design",
|
||||
"CI/CD pipelines reducing manual testing and integration time 20%",
|
||||
],
|
||||
stack: ["React Native", "Expo", "Node.js", "Express.js"],
|
||||
repo: `https://github.com/${GITHUB_USER}/Abstracted-MASS-PublicVer`,
|
||||
highlight: true,
|
||||
},
|
||||
{
|
||||
id: "radar",
|
||||
title: "Hardware Tinkering: 240 GHz Doppler Radar",
|
||||
role: "Hardware project · ESP32",
|
||||
description:
|
||||
"A 240 GHz radio-frequency setup that uses the Doppler effect to track three moving targets, with an Arduino ESP32 board processing the sensor data and serving live results as a website.",
|
||||
image: "/images/projects/radar.svg",
|
||||
detail:
|
||||
"A hardware build around a 240 GHz Doppler radar module and an ESP32. The board samples the RF signal, extracts velocity from the Doppler shift, and keeps track of up to three targets at once. Results stream over Wi-Fi to a small web dashboard I wrote so I could watch the tracking live. Half project, half excuse to get comfortable with raw sensor data.",
|
||||
features: [
|
||||
"240 GHz RF sensing exploiting the Doppler shift for motion tracking",
|
||||
"Tracks three moving targets simultaneously",
|
||||
"ESP32 board processes the raw sensor signal in real time",
|
||||
"Live results served through a web interface",
|
||||
],
|
||||
stack: ["ESP32", "Arduino"],
|
||||
},
|
||||
{
|
||||
id: "qr-hunt",
|
||||
title: "QR Code Treasure Hunt",
|
||||
year: "2024",
|
||||
role: "Group project · Year 2 final coursework",
|
||||
description:
|
||||
"A web-based scavenger hunt where participants scan physical QR codes to claim items and accumulate points, with a real-time leaderboard for competitive gameplay.",
|
||||
image: "/images/projects/qr-hunt.svg",
|
||||
detail:
|
||||
"A scavenger hunt for real spaces: each item is hidden behind a physical QR code that participants scan with their phone to claim points. The server validates every scan so codes can't be replayed from the leaderboard page, and the board updates in real time as teams race around the venue. We shipped it as a group within a fixed coursework window, which mostly taught me how to split work cleanly across people.",
|
||||
features: [
|
||||
"QR generation with server-side validation logic",
|
||||
"Real-time leaderboard driving competitive play",
|
||||
"Shipped as a team within a fixed coursework window",
|
||||
],
|
||||
stack: ["React.js", "JavaScript"],
|
||||
repo: `https://github.com/${GITHUB_USER}/Treasure-Hunt-App`,
|
||||
},
|
||||
{
|
||||
id: "crudl",
|
||||
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.",
|
||||
image: "/images/projects/crudl.svg",
|
||||
detail:
|
||||
"A deliberately small React Native app that exists because I wanted to actually understand the framework before building anything big on it. It walks through the full create-read-update-delete-list cycle with separate screens for list, detail, and edit. The navigation between them is where most of my learning happened.",
|
||||
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`,
|
||||
},
|
||||
{
|
||||
id: "routines",
|
||||
title: "Routines App",
|
||||
year: "2024",
|
||||
role: "Personal project · Android",
|
||||
description:
|
||||
"A native Android habit tracker built in Kotlin with MVVM architecture and Room Database for offline-first persistence, plus notification-driven reminders and progress visualization.",
|
||||
image: "/images/projects/routines.svg",
|
||||
detail:
|
||||
"A habit tracker I built for myself in native Android. Kotlin with MVVM, Room for offline-first persistence, and system notifications that nudge at set times. The progress view plots completion trends so a broken streak is obvious at a glance. It's the project where I got serious about architecture rather than just making screens work.",
|
||||
features: [
|
||||
"MVVM architecture with a dedicated ViewModel layer",
|
||||
"Room database for offline-first local persistence",
|
||||
"Notification-driven reminders and habit completion trends",
|
||||
],
|
||||
stack: ["Kotlin", "Android Studio", "MVVM", "Room"],
|
||||
repo: `https://github.com/${GITHUB_USER}/Kotlin-TB2P1`,
|
||||
},
|
||||
{
|
||||
id: "geo-hunt",
|
||||
title: "Location-Based Treasure Hunt App",
|
||||
year: "2024",
|
||||
role: "University project · Mobile Development",
|
||||
description:
|
||||
"A GPS and proximity-driven React Native game where players claim hidden caches based on physical location and device orientation, backed by a RESTful API.",
|
||||
image: "/images/projects/geo-hunt.svg",
|
||||
detail:
|
||||
"The mobile-development coursework project: a game where hidden caches are claimed by being physically near them, with the device's compass giving bearing and distance to guide you in. The UI re-renders as you move so the map feels live rather than polled. The backend was the graded piece, and I pushed it to 90% unit-test coverage before submission.",
|
||||
features: [
|
||||
"Geolocation and compass APIs for real-time bearing and distance",
|
||||
"Responsive UI that updates dynamically as the player moves",
|
||||
"RESTful API backend at 90% code coverage via automated unit testing",
|
||||
],
|
||||
stack: ["React Native", "GPS", "Sensor APIs"],
|
||||
repo: `https://github.com/${GITHUB_USER}/MAD-Treasure-Hunt`,
|
||||
},
|
||||
{
|
||||
id: "ai-bot",
|
||||
title: "AI Discord Bot",
|
||||
year: "2025",
|
||||
role: "Personal project · Self-hosted",
|
||||
description:
|
||||
"A Python Discord bot with text chat and voice, powered by a Cloud Gemma 4 31B-IT model with a local fallback to a quantised Gemma 4 E4B.",
|
||||
image: "/images/projects/ai-bot.svg",
|
||||
detail:
|
||||
"A self-hosted Discord bot that answers in text channels and joins voice channels, powered by a Cloud Gemma 4 31B-IT model with a local quantised Gemma 4 E4B as fallback when the cloud is down or slow. It runs on my home hardware around the clock, which doubles as a testbed for prompting behaviour before I wire anything similar into other projects.",
|
||||
features: [
|
||||
"Text and voice channels backed by an LLM",
|
||||
"Cloud Gemma 4 31B-IT primary, with a local Gemma 4 E4B QAT fallback",
|
||||
"Runs continuously on home hardware via Discord API",
|
||||
],
|
||||
stack: ["Python", "LLM", "Voice", "Discord API"],
|
||||
tags: ["Private-Repo"],
|
||||
},
|
||||
{
|
||||
id: "cv-builder",
|
||||
title: "CV Builder",
|
||||
year: "2024/2025",
|
||||
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.",
|
||||
image: "/images/projects/cv-builder.svg",
|
||||
detail:
|
||||
"An early desktop project in Java and Swing: form-driven editing of CV sections with a live preview and printable output. Built long before I had any web experience, and still the reason I understand why most people prefer not building UIs in Swing.",
|
||||
features: [
|
||||
"Form-driven editing of CV sections",
|
||||
"Live preview before export",
|
||||
"Clean, printable output from the desktop app",
|
||||
],
|
||||
stack: ["Java", "Swing"],
|
||||
tags: ["GitLab"],
|
||||
},
|
||||
];
|
||||
// A stat either carries its own `value` or is counted `from` another section,
|
||||
// so the numbers can't drift from what the page actually lists.
|
||||
const counts = { projects: projects.length, skills: skillsData.languages.length };
|
||||
export const stats = fill(statsData).map((s) => ({
|
||||
label: s.label,
|
||||
value: s.from ? String(counts[s.from]) : s.value,
|
||||
}));
|
||||
|
||||
export const githubRepos = [
|
||||
{
|
||||
name: "Abstracted-MASS-PublicVer",
|
||||
description:
|
||||
"Public version of my final-year project: a media aggregation & sorting app across device storage, Google Photos, and a home NAS.",
|
||||
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: "MAD-Treasure-Hunt",
|
||||
description:
|
||||
"GPS and proximity-driven React Native treasure hunt built for my mobile development coursework; players claim hidden caches from physical location.",
|
||||
language: "JavaScript",
|
||||
stars: 0,
|
||||
url: `https://github.com/${GITHUB_USER}/MAD-Treasure-Hunt`,
|
||||
},
|
||||
{
|
||||
name: "Kotlin-TB2P1",
|
||||
description:
|
||||
"Native Android habit tracker in Kotlin: MVVM architecture, Room persistence, and reminder notifications.",
|
||||
language: "Kotlin",
|
||||
stars: 0,
|
||||
url: `https://github.com/${GITHUB_USER}/Kotlin-TB2P1`,
|
||||
},
|
||||
{
|
||||
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: "LearningGo",
|
||||
description: "Small programs and notes from my self-taught Go journey.",
|
||||
language: "Go",
|
||||
stars: 0,
|
||||
url: `https://github.com/${GITHUB_USER}/LearningGo`,
|
||||
},
|
||||
{
|
||||
name: "Opera-GX-Styled-Floorp-Sidebar",
|
||||
description: "Sidebar mod for the Floorp browser, styled after Opera GX.",
|
||||
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",
|
||||
"TypeScript",
|
||||
"Python",
|
||||
"Bash",
|
||||
"PHP",
|
||||
"SQL",
|
||||
"JSON",
|
||||
"LaTeX",
|
||||
"React.js",
|
||||
"Node.js",
|
||||
"Express.js",
|
||||
"Oracle Apex",
|
||||
],
|
||||
tools: [
|
||||
"IntelliJ IDEA",
|
||||
"WebStorm",
|
||||
"PyCharm",
|
||||
"Jupyter",
|
||||
"Arduino IDE",
|
||||
"Docker",
|
||||
"Git",
|
||||
"RESTful APIs",
|
||||
"VS Code",
|
||||
"NeoVim",
|
||||
"Android Studio",
|
||||
"Expo",
|
||||
"Linux",
|
||||
"Agile/Scrum",
|
||||
"CI/CD",
|
||||
"NetBeans",
|
||||
"Debian",
|
||||
],
|
||||
};
|
||||
|
||||
export const homelab = [
|
||||
{ name: "Proxmox", detail: "Single-node hypervisor running the whole stack" },
|
||||
{ name: "Own Media Server", detail: "Self-hosted streaming (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" },
|
||||
{ name: "Vaultwarden", detail: "Self-hosted password manager" },
|
||||
{ name: "Immich", detail: "Private photo and video library" },
|
||||
{ name: "Home Assistant", detail: "Home automation hub" },
|
||||
{ name: "Termix", detail: "Self-built containerised SSH manager for hopping between device sessions via a central web UI" },
|
||||
];
|
||||
|
||||
export const localAI = {
|
||||
heading: "Local AI, on my own hardware",
|
||||
body: [
|
||||
"I run my own self-hosted language models on my own hardware. Currently running a custom flavour of a quantised Qwen 3.8 27B Model served through BeeLLama over to my OpenWebUI instance running on my HomeLab, as a way to learn on how to deploy and utilise LLMs in the modern day world and also help me study how they work in a more fundamental sense, when it comes down to their inference, context management and serving it.",
|
||||
"It's not just Local Models I utilise, I make use of a mix of both Local and Cloud hosted models in my own applications such as an AI Model Powered Discord Chat Bot, a discord bot capable of interacting with users both in Text format and also in Voice Calls, with the goal of acting like a regular human user. This pushes me towards building and writing code that works with both small and larger models which would react to certain prompts differently.",
|
||||
],
|
||||
};
|
||||
|
||||
// Self-assessed working proficiency, not a byte share: weighted by how many
|
||||
// projects were built in each language and current fluency, not raw lines.
|
||||
// Java leads; C++ ahead of Python; Go mid-band;
|
||||
// JS/CSS raised on project count; TypeScript low, known via JavaScript only.
|
||||
export const languageStats = [
|
||||
{ name: "Java", pct: 56 },
|
||||
{ name: "JavaScript", pct: 48 },
|
||||
{ name: "C++", pct: 28 },
|
||||
{ name: "Python", pct: 22 },
|
||||
{ name: "Go", pct: 18 },
|
||||
{ name: "CSS", pct: 16 },
|
||||
{ name: "TypeScript", pct: 14 },
|
||||
{ name: "Kotlin", pct: 12 },
|
||||
];
|
||||
export const homelab = homelabData.items;
|
||||
export const homelabMore = homelabData.more;
|
||||
export const localAI = homelabData.localAI;
|
||||
export const languageStats = languagesData;
|
||||
@@ -0,0 +1,25 @@
|
||||
[
|
||||
{
|
||||
"period": "Summers 2020 - 2026",
|
||||
"title": "Network Infrastructure Engineer",
|
||||
"org": "Jalsa Salana UK · Ahmadiyya Muslim Association UK · Volunteer",
|
||||
"summary": "Each summer I join the volunteer engineering team that builds and runs the network for a large multi-site event. It has to be ready by a fixed date, and it has to hold up for more than 2,000 people at once.",
|
||||
"points": [
|
||||
"Wrote Linux scripts that monitor the hardware for us, so faults get flagged early instead of being found by attendees.",
|
||||
"Helped keep the network at 99.9% uptime each year with 2,000+ concurrent users on it.",
|
||||
"Configured hardware and ran structured cabling across the site, against a deadline that doesn't move.",
|
||||
"Tracked down and fixed faults live, under time pressure, while people were relying on the connection.",
|
||||
"Worked as part of a cross-functional engineering team on Docker and Linux-based systems."
|
||||
]
|
||||
},
|
||||
{
|
||||
"period": "Nov 2025 - Feb 2026",
|
||||
"title": "Optical Assistant",
|
||||
"org": "Specsavers · London · Part-time",
|
||||
"summary": "A customer-facing job alongside my final year. Not a tech role, but it made me careful with data and clear with people.",
|
||||
"points": [
|
||||
"Handled sensitive patient records in a busy clinical setting and kept them 100% accurate.",
|
||||
"Talked customers through their eyewear options and completed sales, matching the recommendation to what each person actually needed."
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"name": "Proxmox",
|
||||
"detail": "Single-node hypervisor running the whole stack"
|
||||
},
|
||||
{
|
||||
"name": "Own Media Server",
|
||||
"detail": "A self-hosted streaming server I'm building from scratch",
|
||||
"wip": true
|
||||
},
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"name": "Vaultwarden",
|
||||
"detail": "Self-hosted password manager"
|
||||
},
|
||||
{
|
||||
"name": "Immich",
|
||||
"detail": "Private photo and video library"
|
||||
},
|
||||
{
|
||||
"name": "Home Assistant",
|
||||
"detail": "Home automation hub"
|
||||
},
|
||||
{
|
||||
"name": "Termix",
|
||||
"detail": "Self-built containerised SSH manager for hopping between device sessions via a central web UI"
|
||||
}
|
||||
],
|
||||
"localAI": {
|
||||
"heading": "Local AI, on my own hardware",
|
||||
"body": [
|
||||
"I run language models on my own hardware. Right now that's a quantised Qwen 3.8 27B build, served through BeeLLama to the OpenWebUI instance on my homelab. It's how I'm learning to deploy LLMs properly and to understand what's going on underneath: inference, context management and serving.",
|
||||
"I mix local and cloud-hosted models in my own projects too. The main one is a Discord bot that chats in text channels and joins voice calls, with the aim of feeling like a regular member of the server. Building it means writing code that copes with both small and large models, which can react to the same prompt very differently."
|
||||
]
|
||||
},
|
||||
"more": "...and plenty more across the homelab and VPS instances. These are just the ones I'd miss first."
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "Self-hosting",
|
||||
"icon": "server",
|
||||
"detail": "If it can run on my own hardware, it probably does. One Proxmox host, around 15 services, and a list of things I still want to try."
|
||||
},
|
||||
{
|
||||
"name": "Local LLMs",
|
||||
"icon": "cpu",
|
||||
"detail": "Running language models at home to learn how inference actually works under the hood."
|
||||
},
|
||||
{
|
||||
"name": "Hardware tinkering",
|
||||
"icon": "chip",
|
||||
"detail": "Arduino and ESP32 builds and sensor experiments. The Doppler radar started as one of those."
|
||||
},
|
||||
{
|
||||
"name": "Web & mobile development",
|
||||
"icon": "phone",
|
||||
"detail": "Most of what I build ends up as a React site or a React Native app. I like the point where a rough idea becomes something you can actually tap on."
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,30 @@
|
||||
[
|
||||
{
|
||||
"name": "Java",
|
||||
"pct": 56
|
||||
},
|
||||
{
|
||||
"name": "JavaScript",
|
||||
"pct": 48
|
||||
},
|
||||
{
|
||||
"name": "C++",
|
||||
"pct": 28
|
||||
},
|
||||
{
|
||||
"name": "Python",
|
||||
"pct": 22
|
||||
},
|
||||
{
|
||||
"name": "Go",
|
||||
"pct": 18
|
||||
},
|
||||
{
|
||||
"name": "CSS",
|
||||
"pct": 16
|
||||
},
|
||||
{
|
||||
"name": "Kotlin",
|
||||
"pct": 12
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"headline": "Graduate Software Engineer",
|
||||
"role": "Graduate software engineer",
|
||||
"location": "London, UK",
|
||||
"heroTagline": "I build software end to end, from React and mobile front ends to the Express APIs, networks and self-hosted infrastructure that run them.",
|
||||
"availability": "Open to graduate software engineering roles",
|
||||
"glance": [
|
||||
{
|
||||
"label": "Degree",
|
||||
"value": "BSc Computer Science, First Class (1:1)"
|
||||
},
|
||||
{
|
||||
"label": "Based in",
|
||||
"value": "London, UK"
|
||||
},
|
||||
{
|
||||
"label": "Day to day",
|
||||
"value": "React, React Native, Node.js"
|
||||
},
|
||||
{
|
||||
"label": "Also into",
|
||||
"value": "Linux, networks, self-hosting"
|
||||
}
|
||||
],
|
||||
"education": {
|
||||
"degree": "BSc (Hons) Computer Science",
|
||||
"classification": "First Class Honours",
|
||||
"institution": "{{university}}",
|
||||
"period": "Sep 2023 - Jun 2026",
|
||||
"awarded": "Awarded July 2026",
|
||||
"accreditation": "BCS accredited",
|
||||
"modules": [
|
||||
{
|
||||
"name": "Programming I",
|
||||
"mark": 98
|
||||
},
|
||||
{
|
||||
"name": "Mobile Application Development",
|
||||
"mark": 90
|
||||
},
|
||||
{
|
||||
"name": "Programming II: Software Development",
|
||||
"mark": 80
|
||||
},
|
||||
{
|
||||
"name": "Computing Systems",
|
||||
"mark": 79
|
||||
},
|
||||
{
|
||||
"name": "Individual Project",
|
||||
"mark": 73
|
||||
}
|
||||
],
|
||||
"alsoStudied": [
|
||||
"Requirements Analysis and Design",
|
||||
"Programming III: Patterns and Algorithms",
|
||||
"Database-Driven Application Development"
|
||||
],
|
||||
"note": "I also wrote the technical design specifications for my final-year projects, turning open-ended requirements into plans I could actually build from.",
|
||||
"grade": "1:1"
|
||||
},
|
||||
"about": [
|
||||
"I'm a software engineer based in London. I graduated from {{university}} in July 2026 with a First in Computer Science, and I'm now looking for my first full-time engineering role.",
|
||||
"What I enjoy most is owning a problem from the first sketch to the thing actually running somewhere. For my final-year project that was MASS, a React Native app that pulls photos and video from a phone, Google Photos and a home NAS into one timeline, along with the Express API and CI/CD pipeline behind it. I've also built a GPS treasure hunt game, a native Android habit tracker in Kotlin and a 240 GHz Doppler radar on an ESP32.",
|
||||
"Infrastructure is the other half of it. Since 2020 I've spent my summers volunteering as a network engineer at a large multi-site event, helping keep 2,000+ people online at 99.9% uptime. At home that turned into a Proxmox homelab running around 15 self-hosted services. If something can be self-hosted, I've probably tried it."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,290 @@
|
||||
[
|
||||
{
|
||||
"id": "mass",
|
||||
"title": "MASS: Media Aggregation & Sorting System",
|
||||
"year": "2026",
|
||||
"role": "Final-year project · Solo",
|
||||
"description": "A cross-platform React Native app that aggregates media from device storage, Google Photos, and a home NAS into one timeline view, backed by a RESTful Express.js backend.",
|
||||
"image": "/images/projects/mass.svg",
|
||||
"detail": "Built as my final-year project, MASS pulls media from three sources: device storage, Google Photos, and a Synology NAS on the home network, and merges them into one chronological timeline. The Express backend sits between the app and each source, normalising metadata so sorting by date, type, or location stays consistent regardless of where the file lives. Most of my engineering time went into the caching layer: repeated timeline fetches hit the cache instead of re-querying all three sources, which is where the 30% latency reduction came from.",
|
||||
"features": [
|
||||
"Cut data retrieval latency by around 30% through API response caching",
|
||||
"Metadata-driven sorting across video, audio and image sources",
|
||||
"RESTful Express.js backend for concurrent requests, cutting average response time by roughly 15%",
|
||||
"CI/CD pipeline that automated testing and deployment, cutting manual testing and integration time by about 20%"
|
||||
],
|
||||
"stack": [
|
||||
"React Native",
|
||||
"Expo",
|
||||
"Node.js",
|
||||
"Express.js"
|
||||
],
|
||||
"repo": "Abstracted-MASS-PublicVer",
|
||||
"images": [
|
||||
"mass-1.webp",
|
||||
"mass-2.webp",
|
||||
"mass-3.webp",
|
||||
"mass-4.webp",
|
||||
"mass-5.webp",
|
||||
"mass-6.webp",
|
||||
"mass-7.webp"
|
||||
],
|
||||
"period": "Sep 2025 - Apr 2026",
|
||||
"orientation": "portrait",
|
||||
"fyp": true
|
||||
},
|
||||
{
|
||||
"id": "portfolio",
|
||||
"title": "Portfolio Website",
|
||||
"year": "2026",
|
||||
"role": "Personal project · Web",
|
||||
"description": "A React and Tailwind CSS portfolio driven by JSON content files, with a live GitHub activity tracker and a containerised deployment.",
|
||||
"image": "/images/projects/homelab.svg",
|
||||
"detail": "The site you're on now. Content lives in JSON data files, so the words can change without touching components. An Express endpoint queries the GitHub GraphQL API for the live activity tracker, caches results for 10 minutes, and keeps the access token server-side. The app is containerised with a multi-stage Docker build that runs as a non-root user and takes its configuration at run time, so no secrets are baked into the image.",
|
||||
"features": [
|
||||
"React and Tailwind CSS front end, with project detail modals, an image carousel and scroll animations",
|
||||
"Light and dark theming",
|
||||
"Express endpoint for the GitHub GraphQL API with 10-minute caching and the token kept server-side",
|
||||
"Multi-stage Docker build running as a non-root user, with no secrets baked into the image"
|
||||
],
|
||||
"stack": [
|
||||
"React",
|
||||
"Tailwind CSS",
|
||||
"Node.js",
|
||||
"Express.js",
|
||||
"Docker"
|
||||
],
|
||||
"repo": "Portfolio_V1",
|
||||
"images": [
|
||||
"portfolio-home.png",
|
||||
"portfolio-projects.png",
|
||||
"portfolio-detail.png",
|
||||
"portfolio-homelab.png"
|
||||
],
|
||||
"period": "2026",
|
||||
"orientation": "landscape"
|
||||
},
|
||||
{
|
||||
"id": "radar",
|
||||
"title": "240 GHz Doppler Radar",
|
||||
"year": "2026",
|
||||
"role": "Hardware project · ESP32",
|
||||
"description": "A 240 GHz Doppler radar where an ESP32 processes raw sensor data in real time to track three moving targets, with results served live over Wi-Fi.",
|
||||
"image": "/images/projects/radar.svg",
|
||||
"detail": "A hardware build around a 240 GHz Doppler radar module and an ESP32. The board samples the RF signal, extracts velocity from the Doppler shift, and keeps track of up to three targets at once. Results stream over Wi-Fi to a small web dashboard I wrote so I could watch the tracking live. Half project, half excuse to get comfortable with raw sensor data.",
|
||||
"features": [
|
||||
"240 GHz RF sensing exploiting the Doppler shift for motion tracking",
|
||||
"Tracks three moving targets simultaneously",
|
||||
"ESP32 board processes the raw sensor signal in real time",
|
||||
"Live results served over Wi-Fi to a web dashboard"
|
||||
],
|
||||
"stack": [
|
||||
"ESP32",
|
||||
"Arduino"
|
||||
],
|
||||
"images": [
|
||||
"radar-1.webp"
|
||||
],
|
||||
"period": "2026",
|
||||
"orientation": "landscape"
|
||||
},
|
||||
{
|
||||
"id": "geo-hunt",
|
||||
"title": "Location-Based Treasure Hunt App",
|
||||
"year": "2026",
|
||||
"role": "University project · Mobile Development",
|
||||
"description": "A GPS and proximity-driven React Native game where players claim hidden caches by physical location, backed by a REST API with robust session state management.",
|
||||
"image": "/images/projects/geo-hunt.svg",
|
||||
"detail": "The mobile-development coursework project: a game where hidden caches are claimed by being physically near them, with the device's compass giving bearing and distance to guide you in. The UI re-renders as you move so the map feels live rather than polled. The backend was the graded piece, and I pushed it to 90% unit-test coverage before submission.",
|
||||
"features": [
|
||||
"Geolocation and compass APIs for live bearing and distance to each cache",
|
||||
"Responsive UI that updates as the player moves",
|
||||
"REST API backend with robust session state management",
|
||||
"90% automated unit-test coverage"
|
||||
],
|
||||
"stack": [
|
||||
"React Native",
|
||||
"GPS",
|
||||
"Sensor APIs"
|
||||
],
|
||||
"repo": "MAD-Treasure-Hunt",
|
||||
"images": [
|
||||
"geo-hunt-1.webp",
|
||||
"geo-hunt-2.webp",
|
||||
"geo-hunt-3.webp",
|
||||
"geo-hunt-4.webp",
|
||||
"geo-hunt-5.webp",
|
||||
"geo-hunt-6.webp",
|
||||
"geo-hunt-7.webp"
|
||||
],
|
||||
"period": "Jan 2026 - Apr 2026",
|
||||
"orientation": "portrait"
|
||||
},
|
||||
{
|
||||
"id": "routines",
|
||||
"title": "Routines App",
|
||||
"year": "2026",
|
||||
"role": "Personal project · Android",
|
||||
"description": "A native Android habit tracker built in Kotlin with MVVM architecture and Room Database for offline-first persistence, plus notification-driven reminders.",
|
||||
"image": "/images/projects/routines.svg",
|
||||
"detail": "A habit tracker I built for myself in native Android. Kotlin with MVVM, Room for offline-first persistence, and system notifications that nudge at set times. The progress view plots completion trends so a broken streak is obvious at a glance. It's the project where I got serious about architecture rather than just making screens work.",
|
||||
"features": [
|
||||
"MVVM architecture with a dedicated ViewModel layer",
|
||||
"Room database for offline-first local persistence",
|
||||
"Notification-driven reminders and habit completion trends"
|
||||
],
|
||||
"stack": [
|
||||
"Kotlin",
|
||||
"Android Studio",
|
||||
"MVVM",
|
||||
"Room"
|
||||
],
|
||||
"repo": "Kotlin-TB2P1",
|
||||
"images": [
|
||||
"routines-1.webp",
|
||||
"routines-2.webp",
|
||||
"routines-3.webp",
|
||||
"routines-4.webp",
|
||||
"routines-5.webp",
|
||||
"routines-6.webp"
|
||||
],
|
||||
"period": "Jan 2026 - Apr 2026",
|
||||
"orientation": "portrait"
|
||||
},
|
||||
{
|
||||
"id": "homelab",
|
||||
"title": "Self-Hosted Homelab",
|
||||
"period": "Ongoing",
|
||||
"role": "Personal project · Proxmox",
|
||||
"description": "A Proxmox homelab running about 15 self-hosted services behind an Nginx reverse proxy, with Tailscale, WireGuard and OpenVPN for secure remote access.",
|
||||
"image": "/images/projects/homelab.svg",
|
||||
"detail": "Everything runs on a Proxmox host behind an Nginx reverse proxy. Services include Gitea, Vaultwarden, Immich, Home Assistant and Pi-hole, about 15 in total. Remote access goes through Tailscale, WireGuard and OpenVPN. The same setup hosts a Python Discord bot that uses a cloud LLM with a local-model fallback. The full service list is in the Homelab section below.",
|
||||
"features": [
|
||||
"15+ self-hosted services on a Proxmox host",
|
||||
"Nginx reverse proxy for the house network",
|
||||
"Tailscale, WireGuard and OpenVPN for secure remote access",
|
||||
"Hosts a Python Discord bot with a cloud LLM and local-model fallback"
|
||||
],
|
||||
"stack": [
|
||||
"Proxmox",
|
||||
"Docker",
|
||||
"Linux",
|
||||
"Nginx",
|
||||
"Tailscale"
|
||||
],
|
||||
"images": [
|
||||
"homelab-1.webp"
|
||||
],
|
||||
"orientation": "landscape"
|
||||
},
|
||||
{
|
||||
"id": "qr-hunt",
|
||||
"title": "QR Code Treasure Hunt",
|
||||
"year": "2025",
|
||||
"role": "Group project · Year 2 final coursework",
|
||||
"description": "A web-based scavenger hunt where participants scan physical QR codes to claim items and accumulate points, with a real-time leaderboard for competitive gameplay.",
|
||||
"image": "/images/projects/qr-hunt.svg",
|
||||
"detail": "A scavenger hunt for real spaces: each item is hidden behind a physical QR code that participants scan with their phone to claim points. The server validates every scan so codes can't be replayed from the leaderboard page, and the board updates in real time as teams race around the venue. We shipped it as a group within a fixed coursework window, which mostly taught me how to split work cleanly across people.",
|
||||
"features": [
|
||||
"QR code generation with server-side scan validation",
|
||||
"Real-time leaderboard driving competitive play",
|
||||
"Shipped as a team within a fixed coursework window"
|
||||
],
|
||||
"stack": [
|
||||
"React.js",
|
||||
"JavaScript"
|
||||
],
|
||||
"repo": "Treasure-Hunt-App",
|
||||
"images": [
|
||||
"qr-hunt-1.webp",
|
||||
"qr-hunt-2.webp",
|
||||
"qr-hunt-3.webp",
|
||||
"qr-hunt-4.webp",
|
||||
"qr-hunt-5.webp"
|
||||
],
|
||||
"period": "Jan 2025 - Apr 2025",
|
||||
"orientation": "landscape"
|
||||
},
|
||||
{
|
||||
"id": "ai-bot",
|
||||
"title": "AI Discord Bot",
|
||||
"year": "2025",
|
||||
"role": "Personal project · Self-hosted",
|
||||
"description": "A Python Discord bot with text chat and voice, using a cloud LLM with a local-model fallback, running continuously on my homelab.",
|
||||
"image": "/images/projects/ai-bot.svg",
|
||||
"detail": "A self-hosted Discord bot that answers in text channels and joins voice channels, powered by a cloud-hosted model with a local quantised model as fallback when the cloud is down or slow. It runs on my home hardware around the clock, which doubles as a testbed for prompting behaviour before I wire anything similar into other projects.",
|
||||
"features": [
|
||||
"Text and voice channels backed by an LLM",
|
||||
"Cloud model primary, with a local quantised model as fallback",
|
||||
"Runs continuously on home hardware via the Discord API"
|
||||
],
|
||||
"stack": [
|
||||
"Python",
|
||||
"LLM",
|
||||
"Voice",
|
||||
"Discord API"
|
||||
],
|
||||
"tags": [
|
||||
"Private repo"
|
||||
],
|
||||
"images": [
|
||||
"ai-bot-1.webp"
|
||||
],
|
||||
"period": "2025",
|
||||
"orientation": "landscape"
|
||||
},
|
||||
{
|
||||
"id": "crudl",
|
||||
"title": "CRUDL: React Native Demo",
|
||||
"year": "2025",
|
||||
"role": "University project",
|
||||
"description": "A full CRUD(L) application built to learn React Native properly: create, read, update, delete, and list flows across screens.",
|
||||
"image": "/images/projects/crudl.svg",
|
||||
"detail": "A deliberately small React Native app that exists because I wanted to actually understand the framework before building anything big on it. It walks through the full create-read-update-delete-list cycle with separate screens for list, detail, and edit. The navigation between them is where most of my learning happened.",
|
||||
"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": "Project-MAD-crudler",
|
||||
"images": [
|
||||
"crudl-1.webp",
|
||||
"crudl-2.webp",
|
||||
"crudl-3.webp",
|
||||
"crudl-4.webp",
|
||||
"crudl-5.webp"
|
||||
],
|
||||
"period": "2025",
|
||||
"orientation": "portrait"
|
||||
},
|
||||
{
|
||||
"id": "cv-builder",
|
||||
"title": "CV Builder",
|
||||
"year": "2024/2025",
|
||||
"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.",
|
||||
"image": "/images/projects/cv-builder.svg",
|
||||
"detail": "An early desktop project in Java and Swing: form-driven editing of CV sections with a live preview and printable output. Built long before I had any web experience, and still the reason I understand why most people prefer not building UIs in Swing.",
|
||||
"features": [
|
||||
"Form-driven editing of CV sections",
|
||||
"Live preview before export",
|
||||
"Clean, printable output from the desktop app"
|
||||
],
|
||||
"stack": [
|
||||
"Java",
|
||||
"Swing"
|
||||
],
|
||||
"tags": [
|
||||
"GitLab"
|
||||
],
|
||||
"images": [
|
||||
"cv-builder-1.webp"
|
||||
],
|
||||
"period": "2024 - 2025",
|
||||
"orientation": "landscape"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"name": "Abstracted-MASS-PublicVer",
|
||||
"description": "Public version of my final-year project: a media aggregation & sorting app across device storage, Google Photos, and a home NAS.",
|
||||
"language": "JavaScript"
|
||||
},
|
||||
{
|
||||
"name": "Treasure-Hunt-App",
|
||||
"description": "QR-code treasure hunt built for my Professional Environments year 2 final coursework.",
|
||||
"language": "JavaScript"
|
||||
},
|
||||
{
|
||||
"name": "MAD-Treasure-Hunt",
|
||||
"description": "GPS and proximity-driven React Native treasure hunt built for my mobile development coursework; players claim hidden caches from physical location.",
|
||||
"language": "JavaScript"
|
||||
},
|
||||
{
|
||||
"name": "Kotlin-TB2P1",
|
||||
"description": "Native Android habit tracker in Kotlin: MVVM architecture, Room persistence, and reminder notifications.",
|
||||
"language": "Kotlin"
|
||||
},
|
||||
{
|
||||
"name": "Project-MAD-crudler",
|
||||
"description": "University project for learning React Native: a CRUD(L) demo app.",
|
||||
"language": "JavaScript"
|
||||
},
|
||||
{
|
||||
"name": "LearningGo",
|
||||
"description": "Small programs and notes from my self-taught Go journey.",
|
||||
"language": "Go"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"languages": [
|
||||
"Java",
|
||||
"C++",
|
||||
"JavaScript",
|
||||
"Python",
|
||||
"Kotlin",
|
||||
"Go",
|
||||
"SQL",
|
||||
"Bash",
|
||||
"PHP",
|
||||
"HTML/CSS",
|
||||
"React.js",
|
||||
"React Native",
|
||||
"Node.js",
|
||||
"Express.js",
|
||||
"Tailwind CSS",
|
||||
"Expo",
|
||||
"Oracle APEX"
|
||||
],
|
||||
"tools": [
|
||||
"Git",
|
||||
"Docker",
|
||||
"Linux",
|
||||
"Debian",
|
||||
"Nginx",
|
||||
"Proxmox",
|
||||
"CI/CD",
|
||||
"IntelliJ IDEA",
|
||||
"VS Code",
|
||||
"Android Studio",
|
||||
"RESTful APIs",
|
||||
"Agile/Scrum"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"from": "projects",
|
||||
"label": "Projects built and written up"
|
||||
},
|
||||
{
|
||||
"from": "skills",
|
||||
"label": "Languages & frameworks"
|
||||
},
|
||||
{
|
||||
"value": "15+",
|
||||
"label": "Self-hosted services running"
|
||||
},
|
||||
{
|
||||
"value": "2k+",
|
||||
"label": "Users kept online at 99.9% uptime"
|
||||
}
|
||||
]
|
||||
+1294
-477
File diff suppressed because it is too large.
Load diff
@@ -1,7 +1,13 @@
|
||||
import React from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import App from "./App.jsx";
|
||||
import "@fontsource-variable/inter";
|
||||
import "@fontsource-variable/inter-tight";
|
||||
import "@fontsource-variable/jetbrains-mono";
|
||||
import "./index.css";
|
||||
import { profile } from "./content.js";
|
||||
|
||||
document.title = `${profile.name}, ${profile.headline}`;
|
||||
|
||||
createRoot(document.getElementById("root")).render(
|
||||
<React.StrictMode>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"_help": "Drop image files into public/images/projects/ then list their filenames under the project id. One image = static picture; several = a swipeable carousel. Projects not listed (or with an empty list) fall back to their default artwork.",
|
||||
"mass": [],
|
||||
"radar": [],
|
||||
"qr-hunt": [],
|
||||
"crudl": [],
|
||||
"routines": [],
|
||||
"geo-hunt": [],
|
||||
"ai-bot": [],
|
||||
"cv-builder": []
|
||||
}
|
||||
Reference in new issue
Block a user