Vets-Who-Code / vets-who-code-app

http://vetswhocode.io
47 stars 35 forks source link

Add Opacity Overlay to Hero Background Image for Improved Readability #559

Closed jeromehardaway closed 3 months ago

jeromehardaway commented 3 months ago

This PR introduces an overlay with rgba(9, 31, 64, 0.5) background color on top of the hero area's background image. The goal of this change is to dim the background image slightly, enhancing the readability of text and the visibility of other elements in the hero area.

Changes Made:

Rationale: The background image of the hero area, while visually appealing, can sometimes make the overlaying text and buttons hard to read, especially when there's significant variance in the image's brightness and color. By introducing a semi-transparent overlay, we create a more uniform background that improves text visibility and the overall user experience.

Testing:

This enhancement is a step towards improving the accessibility and usability of our web presence, ensuring that our content is clear and accessible to all users.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vets-who-code-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 17, 2024 1:15am
jeromehardaway commented 3 months ago

This pull request includes changes to the HeroArea component in src/containers/hero/layout-04/index.tsx. The changes introduce an overlay to the hero image and include a conditional rendering for a video modal.

Changes to HeroArea component: