Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Personal site

Astro + React + Tailwind + Three.js. Static output, two languages, everything editable from YAML and Markdown. Uses pnpm (version pinned in package.json → packageManager; corepack enable picks it up).

pnpm install
pnpm dev         # http://localhost:4321
pnpm build       # static site in dist/
pnpm check       # type check

Where things live

What File
Name, email, socials, languages, GitHub user, features, legal address src/config/site.yaml
The name block: layers you dive through, autoplay src/config/hero.yaml
Home page order (everything below the name) src/config/home.yaml
Hobby blocks (listening, running/cycling, photography link, languages) src/config/activities.yaml
Books (plain text, one per line) src/data/reading.txt
Places visited (plain text, one per line) src/data/places.txt
Resume timeline range and skills src/config/resume.yaml
Interface text per language src/i18n/<lang>.yaml
Projects (/<lang>/projects/) src/content/projects/<lang>/<slug>.md
Blog posts (/<lang>/blog/, latest at /blog/newest, RSS at /rss.xml) src/content/blog/<lang>/<slug>.md or <slug>/index.md
A website or a GitHub repository inside a post or case study ::site{url="…"} and ::repo{name="owner/name"} in the Markdown
Docs (/<lang>/docs/) and the brand kit (/<lang>/docs/brand/) docs/ and src/pages/[lang]/docs/brand.astro
Roles src/content/experience/<lang>/<slug>.md
Education (set featured: true for the home page) src/content/education/<lang>/<slug>.md
About page src/content/pages/<lang>/about.md
Privacy, cookies, imprint, accessibility src/content/legal/<lang>/*.md
Portrait public/portrait.jpg; turn on/off under portrait in site.yaml
Top banner (e.g. link to your photo site) banner in site.yaml
Resume PDF public/resume_torstenyoung.pdf, set as resume.pdf in site.yaml

Every YAML file is validated at build time; a typo fails the build with the file and key named.

Reordering the home page

Move, delete or repeat entries in src/config/home.yaml. Sections alternate dark/light automatically; set tone: light|dark to pin one. Each section takes an optional cta: { label, to }. See docs/home-page/sections.md.

Adding a language

Add the code to languages in site.yaml and create src/i18n/<code>.yaml. Missing strings and untranslated Markdown fall back to the first language. Two languages show a toggle, three or more a dropdown.

Project screenshots

pnpm shots captures each live: project three ways: 16:10 for the project page, 4:3 (the cards' shape) for the project cards, and a portrait tablet view for phones. It also screenshots every ::site embed without an image.

Adding a project image

Put the image next to the Markdown file and set cover: ./cover.jpg in its frontmatter. Without a cover, generated placeholder art is shown.

Adding a section type

Create a component in src/sections/, register it in src/sections/index.ts, and add its schema to sectionSchema in src/lib/config.ts.

Docs

Step-by-step guides are in docs/, in three folders: writing (blog posts, embeds, projects, 3D models), home-page (every block's data) and site (look and feel, launching, scheduled rebuilds). The site shows all of them at /en/docs/, with the brand kit at /en/docs/brand/.

GitHub activity

Set github.username in site.yaml. Public data only, fetched at build time, no token. If your GitHub profile has "Include private contributions" switched on, those anonymous counts appear in the public graph too; switch it off on GitHub to show strictly public work. Rebuild regularly to keep it current.

Places and time zone

Places in src/data/places.txt and your city (for the hero clock, when timezone: auto) are looked up once on OpenStreetMap at build time and cached in src/data/places.cache.json. Commit that file. Pin a place with @lat,lng if a lookup is wrong.

Strava (distance moved)

training.source: import reads src/data/training.json, written by pnpm strava:import from Strava's free data export; static uses the numbers in activities.yaml. No API keys, nothing fetched at build time. Only weekly distances, the longest effort and the last activity's date are kept. See docs/home-page/running-and-cycling.md.

Analytics

analytics.provider in site.yaml: none, cloudflare, plausible, umami or goatcounter. All four supported providers are cookieless. Set consent: true to show the banner and load nothing until the visitor allows it.

Accessibility & privacy

  • The mouse pointer becomes an inverting dot (features.cursorRing); the system cursor comes back over embedded sites and in high or increased contrast modes.
  • All motion (ink, 3D, transitions, intro, marquee) respects prefers-reduced-motion and the footer "Motion" toggle.
  • Fonts, Three.js and all scripts are bundled and served from the site; pages make no third-party requests unless you enable an analytics provider, or a visitor presses Continue on an embedded website. GitHub data and the code viewers' files are fetched at build time and served from the site.
  • Legal texts are templates: fill in your details and have them checked.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages