Commit graph

17 commits

Author SHA1 Message Date
61ea416ab8 chore: README, dependency cleanup and shared components
- Replace the create-next-app README with real project docs (features,
  env vars, frontmatter schema, Markdown extensions, deployment)
- Drop ESLint (unused by any script; oxlint is the linter) and the
  unrelated 'hast' package; move oxlint, oxfmt and puppeteer to
  devDependencies (locked versions unchanged)
- Extract PostList, used by the tag and category pages
- Use shared Intl formatters for post dates, pinned to Europe/Prague so
  the build server's timezone can't shift dates
- Use <h1> for the tag/category page headings (same styling)
- Remove math/mermaid flags from posts that don't use them; fix a typo
  in the Tessera cover alt text
2026-10-19 14:25:58 +02:00
64ae30b545 feat(seo): sitemap, robots, canonical URLs, OG images and JSON-LD
- Add sitemap.ts and robots.ts
- pageMetadata() helper: consistent title, canonical URL, Open Graph,
  Twitter card and feed alternate on every page
- Generated OG images: a site card, and per post either the cover image
  or a branded title card (pre-rendered at build)
- BlogPosting JSON-LD on post pages
- Fail fast with a clear error when SITE_URL is missing

Content loading:
- Validate post frontmatter at build time and normalize dates to ISO
  (fixes invalid <time datetime> values)
- Add draft: true support (drafts only render in development)
- Cache markdown rendering so metadata and page share one render
- Replace the three copy-pasted about/projects/setup pages with a shared
  MarkdownPage component
2026-10-19 14:22:40 +02:00
88c8676d3f perf: image loading, smaller assets, server-rendered code blocks
- Only preload the post cover and latest-post image instead of every image
- Drop in-post image quality from 100 to 90 and add responsive sizes
- Downscale 2940px screenshots to 1800px; convert linkboard-old to WebP
  (3.1 MB -> 60 KB)
- Make CodeWrapper a server component; only CopyButton ships to the client
- Pin the Mermaid CDN script to an exact version for reproducible builds
2026-10-19 14:17:18 +02:00
ccaa7b6871 fix(posts/page): fix OG cover image path 2026-09-18 13:10:48 +02:00
77b1916df1 Dev env check for description length 2026-08-04 14:56:24 +02:00
ba4e2dbd27 A bit of styling for in-between post navigation 2026-08-04 11:48:08 +02:00
729d3ae611 Better post navigation 2026-08-04 11:45:46 +02:00
25a9cbda8f Favicon and tags/categories pages fix 2026-08-04 09:51:06 +02:00
9b5fee37e2 Added tag pages 2026-08-04 08:06:05 +02:00
HangerThem
fa6c205838 Post meta line fix on mobile 2026-08-03 20:49:41 +02:00
HangerThem
6968646702 Fixed katex rendering on mobile 2026-08-03 20:41:16 +02:00
HangerThem
b8909cf9ce Added commit tracker/link to sidebar 2026-08-03 17:34:05 +02:00
HangerThem
5df72c7ac2 Restructure of components 2026-08-03 16:35:58 +02:00
HangerThem
b1de88f998 Fixed few formatting things; started on support for mobile/PWA 2026-08-03 15:11:10 +02:00
1a713fe1b6 Lil bit of cleanup 2026-08-03 12:33:39 +02:00
722ace7c74 Just a buch of stuff 2026-08-02 22:39:12 +02:00
231bdfc079 Forgor to publish a bit 2026-08-02 17:49:15 +02:00