mohd-faraz

_blogs

// blogs / 20260430.md

Dev Log: April 30 Wrap-up

2026-04-30
#React#UI-Design#AI-Integration#Web-Development

Overview

Today was one of those days where I spent as much time rearranging things as I did building them. I focused on expanding the research portal with a new content section and refining the overall flow of the landing page.

What I Worked On

Expanding the research library

I spent a good chunk of the morning building out a new infographic section focused on historical scriptures and their mentions in various traditions. It’s a content-heavy piece, so I had to make sure the React state for the multi-language tabs (English, Hindi, Urdu, and Arabic) stayed snappy. I also hooked up the AI-driven Text-to-Speech summary for this section. It’s a subtle but powerful addition for accessibility, allowing users to get a quick audio breakdown of the research without scrolling through everything.

UI Refinement and Asset Management

I finally got around to adding the high-res portraits for the scholar bio page. While I was at it, I realized the homepage layout felt a bit disjointed. I decided to reorder the main hero sections to better highlight the central figure of the portal right at the top.

I also spent some time wrestling with a specific card layout in the 'Awakening' section. The text wasn't sitting right on smaller screens, so I refactored the container to use a more robust emerald-900 theme that makes the white text pop. It looks much cleaner now.

The "Modularization" Rabbit Hole

I hit a bit of a snag today. I tried to go down the path of over-modularizing some of the infographic components to make them more reusable. After a couple of hours, I realized I was actually making the code harder to read and debugging was becoming a chore.

Sometimes you have to admit that a "cleaner" architecture isn't always better if it slows down the actual development.

I ended up reverting the modularization changes and sticking with a flatter structure for now. It’s a bit of a blow to the ego to hit 'revert' on a big commit, but the build is stable again, and that’s what matters.

Wrapping Up

Despite the detour into over-engineering, I’m happy with how the new research section turned out. The portal is starting to feel much more like a complete resource. Tomorrow, I’ll probably look into optimizing the asset loading—those new portraits are a bit heavy. Catch you then.