Skip to content

feat: add last edited dates to home page project cards#12

Merged
yepzdk merged 1 commit intomainfrom
feature/frontpage-last-edited
Apr 22, 2026
Merged

feat: add last edited dates to home page project cards#12
yepzdk merged 1 commit intomainfrom
feature/frontpage-last-edited

Conversation

@yepzdk
Copy link
Copy Markdown
Contributor

@yepzdk yepzdk commented Apr 22, 2026

Summary

  • Replace default VitePress feature cards with custom HomeFeatures component
  • Each project card shows "Last edited: {date}" sourced from git commit timestamps
  • Build-time data loader runs git log for each project folder during build
  • Dates update automatically — no manual maintenance needed

Test plan

  • Home page shows all 7 project cards with "Last edited" dates
  • Dates are formatted in Danish locale (e.g. "22. apr. 2026, 15.00")
  • Cards still link to the correct project pages
  • Card styling matches the original VitePress feature cards

🤖 Generated with Claude Code

Replace default VitePress feature cards with a custom HomeFeatures
component that shows git-sourced last edited timestamps on each card.

- Build-time data loader reads git log for each project folder
- Custom component renders cards matching VitePress style with date line
- Dates update automatically on every commit that touches project files

Co-authored-by: Claude <noreply@anthropic.com>
@yepzdk yepzdk merged commit 952d2aa into main Apr 22, 2026
1 check 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.

1 participant