Skip to content

feat(projects): show how long each project has stood, and a timeline of our years - #42

Merged
Lutherwaves merged 2 commits into
mainfrom
feat/project-age
Nov 9, 2026
Merged

Lutherwaves merged 2 commits into
mainfrom
feat/project-age

Conversation

@Lutherwaves

Copy link
Copy Markdown
Member

Closes #41.

Before: a project only said the year it was finished.
After: every project says how long it has stood, and /projects opens with a timeline that shows 25 years of work.

  • Project page: a large `24 години` with `2002 → днес`, above the facts.
  • Tile: the place/year line gains the age: `Сулица · 2002 · 24 г.`
  • /projects: a timeline from the first project to today. Each tick links to its project and shows its name on hover or focus. Years with more than one project show as a taller bar. The red dot marks today, and the caption reads `25 години · 18 обекта`.
  • Built only from the existing `year` field. Projects without a year are left out.
  • Both pages use `revalidate = 86400`, so ages roll over on 1 January without a deploy.
  • Strings are in bg, en and de, with ICU plurals (`1 year` / `2 years`, `завършен тази година` for 0).

Tests

  • Unit tests for the age and timeline maths, including the 1 January rollover and stacking.
  • e2e tests for the age on the page and tile, and for the timeline's links and caption.
  • The two existing tests that counted project links now count only the grid tiles.
  • Checked at 390px and 1280px: no horizontal scroll, and the labels stay inside the page.

The local rail-swipe tests fail the same way on `main` on my machine; that is unrelated to this change.

🤖 Generated with Claude Code

…of our years

Each project page shows the years since completion as one large number,
each tile adds the age to its place and year, and /projects opens with a
timeline from the first project to today, one tick per project. Both
pages revalidate daily, so the ages roll over on 1 January without a
deploy.

Closes #41

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for tekomltd-website ready!

Name Link
🔨 Latest commit 80b0d24
🔍 Latest deploy log https://app.netlify.com/projects/tekomltd-website/deploys/6af23c60fa53813fc080b000
😎 Deploy Preview https://deploy-preview-42--tekomltd-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Service pages from #38 list project tiles too, so the tile now works out
its own age and the shared [slug] route revalidates daily.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Lutherwaves
Lutherwaves merged commit 441774f into main Nov 9, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show how long each project has stood, and a company timeline on /projects

1 participant