Portfolio Website
Personal portfolio built with Astro, featuring an interactive Three.js 3D scene, smooth animations, and full Czech and English localization.
About the Project
I designed this portfolio from scratch as a personal project where I wanted to combine technical skill with careful visual design. I wanted a place that shows not just my code, but my overall approach to design and user experience. Every detail is there for a reason, and the form supports the content.
The goal was a website that feels like one coherent whole. It offers fast loading, clean typography, smooth transitions and an interactive 3D element that brings the intro section to life without slowing the browser down.
Key Features
- 3D Hero Scene: An interactive scene with a custom model, soft lighting and soft shadows, built with React Three Fiber and WebGL. The model follows the cursor with natural inertia, which makes the landing page feel alive without looking artificial.
- Two Languages: The whole site is available in Czech and English, powered by a custom lightweight i18n system. Switching languages is instant, without a full page reload.
- Dark and Light Mode: A built-in color scheme toggle with smooth transitions. The site remembers your choice in localStorage for your next visit.
- Smooth Scroll Animations: Elements fade in as you scroll down the page. The effect runs on the native Intersection Observer API, so no heavy external animation library is needed.
- Performance and SEO: Static Site Generation (SSG) keeps loading fast and scores high in tools like Lighthouse. OpenGraph tags, SEO metadata and the XML sitemap are generated automatically at build time.
Technologies
- Astro: The core of the site. It produces static HTML and ships zero client-side JavaScript by default, which makes it a great fit for fast, content-driven websites.
- Three.js and React Three Fiber: GPU-accelerated 3D rendering that draws models with full shaders smoothly in the browser.
- Tailwind CSS v4: A modern framework for fast, consistent styling with utility classes and design tokens. It lets me build custom interfaces that stay responsive from phones to large monitors.
- TypeScript: Strict type safety that gives me confidence during development and catches many bugs before the code ever reaches production.
Challenges and Solutions
- 🔥 Combining 3D with a Static Site: The biggest challenge was fitting a full WebGL scene with a 3D model into a static Astro site without hurting page load speed. I solved it with the Astro islands architecture: the heavy 3D scene loads and runs in isolation, only in the visitor’s browser. The render loop uses the native
requestAnimationFramefunction to stay smooth. - 🌍 Custom Multilingual i18n: The second challenge was building a reliable translation system without adding large third-party libraries. The solution is a custom lightweight i18n layer built on Astro’s built-in routing, so language switching is fast and translations work natively with no extra overhead.