Back to personal projects

Portfolio · Nuxt

danylomorhun.com

Stack
  • Nuxt 4
  • TypeScript
  • Tailwind 4
  • GSAP
  • Three.js

This site: prerendered in 3 languages, with a WebGL hero, per-page share images and a blog.

The Approach

  • Every page and locale is prerendered and served from the CDN, each with its own canonical URL, hreflang, JSON-LD and sitemap entry.
  • The hero is a three.js scene with custom shaders. It starts once the page is idle, is skipped with reduced motion, Save-Data or low memory, runs at 30 fps at most and recovers from a lost WebGL context.
  • Each page gets its own share image per locale, rendered at build time.
  • The blog is a small Nuxt module: Markdown read at build time, code highlighted with Shiki, scheduled posts published by a daily workflow.
  • CI runs lint, type check, unit tests and Playwright with axe accessibility checks on every pull request.

The Outcome

0.8 s

LCP on Lighthouse's throttled mobile profile

100

Lighthouse accessibility, best practices and SEO

Hero: a three.js scene that starts only after the page is idle
Work: each case with company, dates and its key numbers
Case page: stack, overview and approach
Personal projects in the light theme
Experience in Ukrainian: every page exists in 3 languages
Blog post, rendered from Markdown at build time
Lighthouse on desktop: 100 in every category, LCP 0.6 s
Lighthouse on mobile for a case page: 100 in every category, LCP 0.8 s