[fix] Sharpen the pixelated hero word and glow the announcement badge - #5561
[fix] Sharpen the pixelated hero word and glow the announcement badge#5561ashrafchowdury wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Website previewPreview URL: https://pr-5561-agenta-website-preview.mahmoud-637.workers.dev Built from |
|
I feel like the hero section is too static. That's why I have added the Glowy effect to the Announcement badge. If it dose not look good lets remove it |
|
And for the agents font, ahhh, it was confusing which font was better to choose to make it look better, again let me know |
|
Thanks @ashrafchowdury |
Context
The highlighted word "agents" in the hero headline was set in PP Mondwest, a
bitmap/pixel font, so it rendered blocky and low-resolution next to the crisp
GT Alpina headline. It read as a rendering bug rather than a style choice.
Separately, the "Agenta 2.0" announcement badge was flat, and we wanted the hero
to feel a touch more premium.
Changes
Two hero adjustments.
The word "agents" now uses GT Alpina italic, the headline's own serif face,
slanted. The brand yellow and the chip box already mark it as the special word,
so the italic sets it apart quietly and stays sharp at display size instead of
switching to a foreign pixel or mono face.
Before:
font-family: var(--font-bitmap, 'PP Mondwest', monospace)(pixel/bitmap)After:
font-family: var(--font-display); font-style: italic(GT Alpina italic)The announcement badge gets a slow "aura" glow. Its outer box-shadow breathes
between the two brand yellows (yellow-400 #f2f25c to yellow-500 #e7e712) on a 5s
loop. The
ag-badge-aurakeyframes live inglobal.cssnext to the site's otheranimations, and the badge references them with an inline
animation, matching howHeroVideo.astrowiresag-pulse. The resting glow is baked into the badge'sinline box-shadow and the 0%/100% keyframe equals it, so the loop is seamless.
Tests / notes
prefers-reduced-motionrule neutralizesthe animation. Because the resting glow is inline, those visitors still see a
subtle static brand glow rather than nothing.
and the italic sits well in the chip before merge.
What to QA
cd website && pnpm dev, http://localhost:4321).The headline word "agents" is a crisp yellow italic serif, not pixelated.
gently breathes.
holds steady with no animation, and the rest of the hero is unchanged.
Preview