Skip to content

Conversation

@CharlyMartin
Copy link
Collaborator

@CharlyMartin CharlyMartin commented Dec 17, 2025

📝 Description

This PR refactors the hero sections on the Build on Filecoin and Provide Storage pages.

🛠️ Key Changes

  • Created new HeroSection component in ../apps/filecoin-site/src/app/[locale]/build-on-filecoin/components/HeroSection.tsx to encapsulate header content and announcement section
  • Updated ../apps/filecoin-site/src/app/[locale]/build-on-filecoin/page.tsx to use the new HeroSection component, removing inline header code
  • Enhanced GradientOverlay component in ../apps/filecoin-site/src/app/_components/GradientOverlay.tsx to support three variants: to-bottom, to-top, and dual
  • Updated button styles in ../packages/ui-filecoin/src/styles/button.css to add explicit background colors for light and dark section variants

📸 Screenshots

CleanShot 2025-12-18 at 11 12 45
CleanShot 2025-12-18 at 11 13 34

@vercel
Copy link

vercel bot commented Dec 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
filecoin-site Ready Ready Preview, Comment Dec 19, 2025 10:22am
3 Skipped Deployments
Project Deployment Review Updated (UTC)
ffdweb-site Skipped Skipped Dec 19, 2025 10:22am
filecoin-foundation-site Skipped Skipped Dec 19, 2025 10:22am
filecoin-foundation-uxit Skipped Skipped Dec 19, 2025 10:22am

@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-uxit December 17, 2025 18:44 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-site December 17, 2025 18:44 Inactive
@vercel vercel bot temporarily deployed to Preview – ffdweb-site December 17, 2025 18:44 Inactive
@CharlyMartin CharlyMartin force-pushed the cm/update-hero-images-positions branch from 35004a7 to a3f061c Compare December 18, 2025 10:59
@vercel vercel bot temporarily deployed to Preview – ffdweb-site December 18, 2025 10:59 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-site December 18, 2025 10:59 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-uxit December 18, 2025 10:59 Inactive
@github-actions github-actions bot added size/M and removed size/L labels Dec 18, 2025
@CharlyMartin CharlyMartin changed the title WIP Improve hero images placement Dec 18, 2025
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-uxit December 18, 2025 11:15 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-site December 18, 2025 11:15 Inactive
@vercel vercel bot temporarily deployed to Preview – ffdweb-site December 18, 2025 11:15 Inactive
@github-actions github-actions bot added size/M and removed size/M labels Dec 18, 2025
@barbaraperic
Copy link
Collaborator

Not sure why this is happening?

CleanShot.2025-12-18.at.11.40.33.mp4

@barbaraperic
Copy link
Collaborator

These paddings seem to big for mobile?

Screenshot 2025-12-18 at 11 37 15

@vercel vercel bot temporarily deployed to Preview – ffdweb-site December 18, 2025 15:09 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-site December 18, 2025 15:09 Inactive
@CharlyMartin
Copy link
Collaborator Author

These paddings seem to big for mobile?

These are the default paddings for PageSection. We can check with Filipa to see if this is right?

@CharlyMartin CharlyMartin marked this pull request as ready for review December 18, 2025 15:18
</head>
<body className="bg-white font-sans text-base/5.5">
<main>{children}</main>
<main className="overflow-x-hidden">{children}</main>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uf .. feeling queazy about adding this to the the SiteLayout - Must we add this so high up?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other option would be to add it to PageSection, which is used everywhere. It needs to be added to a full-width component, so we don't have that many options.

What worries you here?

@mirhamasala mirhamasala changed the title Improve hero images placement [FILECOIN V3] Improve hero images placement Dec 19, 2025
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-site December 19, 2025 10:20 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-uxit December 19, 2025 10:20 Inactive
@vercel vercel bot temporarily deployed to Preview – ffdweb-site December 19, 2025 10:20 Inactive
@github-actions github-actions bot added size/L and removed size/L labels Dec 19, 2025
Copy link
Collaborator

@mirhamasala mirhamasala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CharlyMartin This all looks great! I do find this change a tiny bit aggressive and worrisome it might bite us. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants