# Portfolio

> My portfolio had to be built like the rest of my work, with deliberate choices, written rules, and an eye on what it costs the person visiting it.

- 2026 · Web · Side project
- Stack: Astro, GSAP, Rough.js, OGL
- Page: https://anthonyarjona.com/lab/portfolio

## In short

- **The problem**: Showing design and lead work without falling into a heavy, generic showcase.
- **My role**: Side project, from design to deployment.
- **The decisions**: A static site, with no third-party service; Two hands, chalk that comments and clean lines that inform; The weight of every page measured and reduced
- **The outcome**: A site with no cookie and no tracker, readable by machines too, whose home page went from 481 to 245 KB through the optimisations.

## Static, and proud of it

A portfolio does not need a server. Astro generates every page as HTML at build time, then only ships JavaScript where something actually moves. The site exists in French and English, with clean URLs and language tags for search engines, and every case study is described once, in typed data, then rendered by components that know nothing about its content.

Written once · case-studies/en.ts

```
{ type: 'bars', unit: 'KB',
  rows: [
    { label: 'Before', value: 481 },
    { label: 'After', value: 245 },
  ] }
```

- The page: 481 KB / 245 KB
- The Markdown version: - Before: 481 KB / - After: 245 KB
- The llms.txt index: - [Portfolio](/lab/portfolio.md)

## Two hands

The site speaks with two voices, and one rule keeps them apart. Chalk, drawn with Rough.js and written in Caveat, comments and illustrates, like a note on a blackboard. Clean lines, in Fraunces, General Sans and JetBrains Mono, carry information and actions. A button is never in chalk, and neither is a figure, because what must be read accurately must not look scribbled.

| Chalk comments | Clean lines inform |
| --- | --- |
| The city of projects, the sketches, the buildings | Headings, figures, links |
| A note pointing at a detail | A diagram explaining a system |
| A ring around the option chosen | The options compared, side by side |

## Animations that know when to stop

An animation running while nobody watches spends energy for nothing. The drawings trace themselves once, when you reach them. The animated diagrams pause as soon as they leave the screen or the tab goes to the background. The light at the top of the page, a WebGL shader, is only loaded on demand and runs at twenty-four frames per second, a rate the eye cannot tell apart here. And when the system asks for less motion, the site stops dead.

1. **Load on demand**: WebGL and the heavy pieces only come when they are needed.
2. **Pause**: Off screen or in a hidden tab, nothing keeps running.
3. **Respect reduced motion**: The drawings show straight away, without animation.

## The weight of a page

I had the site audited from a sustainable web design angle, and the fonts weighed more than everything else. Fraunces, the heading face, is variable, but the site only uses one weight, so I froze it at 380 while keeping the optical size axis that refines the large headings. The others are cut down to the characters actually shown, and JetBrains Mono lost code ligatures the site barely used.

- Fraunces: 60.5 → 34.1 KB
- Caveat: 49.2 → 44.1 KB
- JetBrains Mono: 27 → 12.6 KB
- General Sans: 23.1 → 12.3 KB

For the rest, my name at the top of the home page is drawn as SVG rather than set in a font, screenshots move to AVIF at the size they are displayed, and no third-party service loads, no analytics, no remote fonts, no cookie.

- Before: 481 KB
- After: 245 KB

## Readable by machines too

A recruiter does not always read a site themselves, they sometimes have an AI summarise it. So every page also exists in Markdown, generated from the same data, and an llms.txt file lists them. The sitemap, the sharing tags and the cache headers complete it, so the site is as clear to a machine as it is to a person.

The entry point for AIs

```
# Anthony Arjona
> Tech Lead

## Case studies
- Malta Warehouse   /work/malta.md
- One Record        /work/one-record.md
- …
# generated at build, never out of sync
```
