Add Apps button, Inspannings Monitor card with screenshots, favicon and CLAUDE.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-04-19 21:25:01 +02:00
parent dc66b66d94
commit eb0c7f9912
6 changed files with 126 additions and 15 deletions

30
CLAUDE.md Normal file
View file

@ -0,0 +1,30 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Commands
```bash
npm run dev # Start dev server at http://localhost:3000
npm run build # Production build
npm run lint # ESLint
```
No test suite is configured.
## Architecture
Personal portfolio website for Janpeter Visser, built with **Next.js 15 App Router**, **TypeScript**, and **Tailwind CSS**. Deployed on Vercel at `jp-visser.nl`.
### Data flow
All CV content lives in a single source of truth: `lib/cv-data.ts` (`CV_DATA` const). Components import directly from there — no API calls, no state management.
### Page structure
`app/page.tsx` composes the single-page layout by stacking section components in order: `Nav → Hero → ExperienceSection → SkillsSection → AppsSection → ContactSection → Footer`.
### Adding apps to the portfolio
- **Subdomain approach**: deploy separately on Vercel and add a subdomain (e.g. `app1.jp-visser.nl`)
- **Route approach**: create `app/apps/<name>/page.tsx`, then update `components/apps.tsx` to link to it

BIN
app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

@ -1,11 +1,20 @@
import Image from "next/image";
import { FadeIn } from "./fade-in";
const PLACEHOLDER_APPS = [
{ icon: "⚡", label: "App 1 — binnenkort" },
{ icon: "🔧", label: "App 2 — binnenkort" },
{ icon: "📱", label: "App 3 — binnenkort" },
const APPS = [
{
title: "Inspannings Monitor",
subtitle: "Wellness-first dagflow",
description:
"Een lichte app die helpt doseren en inzicht geeft zonder lange formulieren of overprikkeling.",
screenshot: "/images/app-inspannings-monitor.png",
screenshotMobile: "/images/app-inspannings-monitor-mobile.png",
href: "https://inspannings-monitor.jp-visser.nl/dashboard",
},
];
const PLACEHOLDER_APPS = [{ label: "App 2 — binnenkort" }];
export function AppsSection() {
return (
<section
@ -38,9 +47,79 @@ export function AppsSection() {
</p>
</FadeIn>
<div className="grid grid-cols-1 sm:grid-cols-3 gap-5">
{PLACEHOLDER_APPS.map((app, i) => (
<div className="grid grid-cols-1 sm:grid-cols-2 gap-5">
{APPS.map((app, i) => (
<FadeIn key={i} delay={i * 0.1}>
<a
href={app.href}
className="block rounded-2xl overflow-hidden no-underline group"
style={{
background: "rgba(255,255,255,0.03)",
border: "1px solid rgba(255,255,255,0.08)",
}}
>
{/* Screenshots */}
<div
className="relative w-full overflow-hidden"
style={{ height: 220, background: "rgba(255,255,255,0.02)" }}
>
{/* Desktop screenshot */}
<Image
src={app.screenshot}
alt={app.title}
fill
className="object-cover object-top transition-transform duration-500 group-hover:scale-105"
sizes="(max-width: 640px) 100vw, 420px"
/>
{/* Mobile screenshot overlay */}
{app.screenshotMobile && (
<div
className="absolute bottom-0 right-5 overflow-hidden rounded-t-xl"
style={{
width: 72,
height: 130,
boxShadow: "0 8px 32px rgba(0,0,0,0.5)",
border: "1px solid rgba(255,255,255,0.12)",
}}
>
<Image
src={app.screenshotMobile}
alt={`${app.title} mobiel`}
fill
className="object-cover object-top"
sizes="72px"
/>
</div>
)}
</div>
{/* Info */}
<div className="p-6">
<p
className="text-[11px] font-semibold uppercase mb-1"
style={{ color: "#c2339b", letterSpacing: 2 }}
>
{app.subtitle}
</p>
<h3
className="font-serif font-normal mb-2"
style={{ fontSize: 20, color: "#e8e4df" }}
>
{app.title}
</h3>
<p
className="text-[14px] leading-[1.6]"
style={{ color: "rgba(255,255,255,0.45)" }}
>
{app.description}
</p>
</div>
</a>
</FadeIn>
))}
{PLACEHOLDER_APPS.map((app, i) => (
<FadeIn key={i} delay={(APPS.length + i) * 0.1}>
<div
className="rounded-2xl p-8 flex flex-col items-center justify-center min-h-[200px] text-center"
style={{
@ -48,15 +127,6 @@ export function AppsSection() {
border: "1px dashed rgba(255,255,255,0.1)",
}}
>
<div
className="w-12 h-12 rounded-xl flex items-center justify-center mb-4 text-xl"
style={{
background: "rgba(194,51,155,0.1)",
color: "#c2339b",
}}
>
{app.icon}
</div>
<p
className="text-[14px]"
style={{ color: "rgba(255,255,255,0.3)" }}

View file

@ -141,6 +141,17 @@ export function Hero() {
>
Bekijk CV
</a>
<a
href="#apps"
className="px-8 py-3 rounded-lg text-sm font-semibold no-underline"
style={{
background: "rgba(255,255,255,0.06)",
color: "rgba(255,255,255,0.7)",
border: "1px solid rgba(255,255,255,0.08)",
}}
>
Apps
</a>
</div>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB