Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing background image issues for homepage hero section #790

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

jhaaaa
Copy link
Collaborator

@jhaaaa jhaaaa commented Aug 29, 2024

Preview: https://vercel.live/open-feedback/junk-range-possible-git-fix-home-bg-ephemerahq.vercel.app


Currently, the background image for the homepage hero section works in dark mode:

CleanShot 2024-08-29 at 13 31 43@2x

However, it is not displaying correctly in light mode:

CleanShot 2024-08-29 at 13 32 31@2x

It should look more like this, which is what this PR does:

CleanShot 2024-08-29 at 13 46 28@2x

For smaller screens, the width of the background image in dark mode scales and anchors to the top of the homepage hero section. However, the image does not span the height of the section, which looks odd:

CleanShot 2024-08-29 at 13 35 24@2x

It should look more like this, which is what this PR does:

CleanShot 2024-08-29 at 13 44 20@2x

Copy link

vercel bot commented Aug 29, 2024

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

Name Status Preview Comments Updated (UTC)
junk-range-possible ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2024 8:31pm

Copy link

Deploying xmtp-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: 84ffdc5
Status: ✅  Deploy successful!
Preview URL: https://f63e9bfc.website-9re.pages.dev
Branch Preview URL: https://fix-home-bg.website-9re.pages.dev

View logs

@jhaaaa jhaaaa changed the title Fixing background image for homepage hero section Fixing background image issues for homepage hero section Aug 29, 2024
@jhaaaa jhaaaa requested a review from rygine August 29, 2024 20:40
@jhaaaa jhaaaa merged commit bd69604 into main Sep 11, 2024
4 checks passed
@jhaaaa jhaaaa deleted the fix-home-bg branch September 11, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants