Introduction
Creating a modern portfolio requires more than just good design; it needs performance and accessibility. In this project, I chose Astro for its “Islands” architecture, which allows me to ship zero JavaScript to the client by default.
The Challenge
My goal was to have a website that loaded instantly on mobile devices but still had rich interactions like React.
The Solution
By using React only for interactive components (like the project carousel and language picker) and Astro for static content, I managed to drastically reduce the JavaScript bundle size.
Code Snippet
---
// Example Astro component
const { title } = Astro.props;
---
<h1>{title}</h1>
Conclusion
The result is a fast, accessible, and maintainable website.