svg

Menu

Clean brutalist UI showing high-performance metrics dashboard

Engineering a 100/100 Performance Portfolio & Knowledge Base

Author profile pic

Saiful Alom

Software Engineer

A deep dive into building a brutalist portfolio using Astro and Hono, featuring optimized asset delivery and a Markdown-powered technical knowledge base.

🚀 Building saifulalom.com: Engineering a Digital Garden

When I set out to build saifulalom.com, I knew I didn’t want just another static resume. Most portfolios are digital business cards that gather dust. Instead, I wanted to build a “Digital Garden” a living ecosystem that balances high-end aesthetics with deep technical utility.

My vision for this project was twofold:

  1. The Showcase: A high-contrast, brutalist interface designed to prove my frontend mastery to recruiters at a glance.
  2. The Second Brain: A searchable, type-safe technical archive where I document solved bugs and architectural decisions to speed up my future builds.

The Technical Stack

To keep the site lightning-fast without sacrificing interactivity, I opted for a modern, performance-first stack:

  • Framework: Astro (Static Site Generation for zero-JS by default).
  • Styling: Tailwind CSS (Utility-first for rapid UI iteration).
  • Animation: Framer Motion (For smooth, declarative UI transitions).
  • Deployment: Cloudflare Wrangler (Deploying at the edge for global speed).

Key Engineering Challenges

1. Optimizing Motion for Core Web Vitals

Animations are great for UX, but they are notorious for killing SEO scores via Layout Shift (CLS).

  • The Problem: I found that heavy entry animations were delaying my Largest Contentful Paint (LCP), dragging down my performance metrics.
  • The Solution: I refactored the animation triggers using Intersection Observers. Now, heavy Framer Motion logic only executes when elements actually enter the viewport.
  • The Result: A buttery-smooth UI that still maintains a 100/100 Lighthouse score.

2. Solving the “Asset Bloat” Issue

In my early builds, keeping static images in the /public folder led to unoptimized delivery and sluggish mobile load times.

  • The Fix: I migrated all media to src/assets/ and integrated Astro’s Image Service.
  • The Impact: By implementing automated WebP conversion and lazy-loading, I reduced the total page weight by 60%. The site is now snappy even on low-bandwidth 3G connections.

System Architecture

I organized this project to treat “Knowledge” as structured data. By using Astro’s Content Collections, I ensured that every blog post and project is type-safe and follows a strict schema.

Project Structure Overview

Here is how I’ve mapped out the directory to maintain scalability:

src/
├── assets/ # Optimized media (converted to WebP/AVIF)
├── components/ # Modular React components (Hero, SearchBar, Works)
├── content/ # Type-safe Markdown (Blogs & Project data)
├── layouts/ # Base templates for SEO and consistency
└── pages/ # File-based routing (Index and Dynamic Slugs)

What’s Next?

Building this portfolio taught me that performance and beauty don’t have to be a trade-off. By choosing the right tools—like Astro for the foundation and Tailwind for the skin—I’ve built a platform that’s easy to maintain and incredibly fast to browse.

Let’s start designing your project

Want to see how to transform your brand into a unique style. send me a message

svg