Skip to content

Homepage card fixes#1794

Merged
ragnep merged 5 commits intomainfrom
homepage-card-fixes
Jan 22, 2026
Merged

Homepage card fixes#1794
ragnep merged 5 commits intomainfrom
homepage-card-fixes

Conversation

@ragnep
Copy link
Copy Markdown
Contributor

@ragnep ragnep commented Jan 22, 2026

Summary by CodeRabbit

  • New Features

    • Added ability to disable link conversion in content display.
  • Style Updates

    • Refined color scheme, rounded corners, and spacing across components.
    • Enhanced responsive design with improved mobile and tablet layouts.
    • Updated visual hierarchy and typography for better readability.
    • Improved loading skeleton states across minting and exploration sections.

✏️ Tip: You can customize this high-level summary in your review settings.

Signed-off-by: ragnep <ragneinfo@gmail.com>
Signed-off-by: ragnep <ragneinfo@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 22, 2026

Warning

Rate limit exceeded

@ragnep has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 17 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

This PR updates multiple home page and wave drop components with responsive styling adjustments, typography refinements, and layout reorganizations. Key changes include refactoring the boosted card layout, adding skeleton loading UI to NextMintLeadingSection, updating color/opacity schemes across now-minting components, and adding a linkify control prop to content display components.

Changes

Cohort / File(s) Summary
Boosted Cards
components/home/boosted/BoostedDropCardHome.tsx, components/home/boosted/BoostedSection.tsx
Major refactor of card header, media rendering, and bottom info bar layout in BoostedDropCardHome; replaced scattered inline styling with centralized headerClasses and updated media container structure. BoostedSection updates border color to zinc-900 and adjusts grid gaps (gap-4 → gap-4/xl:gap-6).
Explore Waves
components/home/explore-waves/ExploreWaveCard.tsx, components/home/explore-waves/ExploreWaveCardSkeleton.tsx, components/home/explore-waves/ExploreWavesSection.tsx
ExploreWaveCard converts fixed sizing to responsive layout with aspect ratio changes (3/2 → 2/1 w/ sm fallback), updated text sizing, and refactored drops content area. Skeleton updated to match aspect ratios and adds responsive padding. ExploreWavesSection relocates "View all" link to bottom and simplifies header layout.
Hero Section
components/home/hero/HeroHeader.tsx
Typography and layout adjustments: max-width constraints added (md:tw-max-w-3xl), font weight changes (bold → semibold), and color shifts (iron-500 → iron-400/iron-100).
Next Mint Leading
components/home/next-mint-leading/NextMintLeadingSection.tsx
Introduces SKELETON_KEYS array and new NextMintLeadingSkeletonCard component to replace inline "Loading…" placeholder with responsive grid of animated skeleton cards.
Now Minting Components
components/home/now-minting/NowMintingCountdownError.tsx, components/home/now-minting/NowMintingCountdownFinalized.tsx, components/home/now-minting/NowMintingCountdownSoldOut.tsx, components/home/now-minting/NowMintingDetailsAccordion.tsx, components/home/now-minting/NowMintingHeader.tsx, components/home/now-minting/NowMintingSection.tsx, components/home/now-minting/NowMintingStatsGrid.tsx, components/home/now-minting/NowMintingStatsItem.tsx
Consistent styling updates across all now-minting components: border/background color shifts to lighter white/iron tones, rounded-lg → rounded-xl/rounded-2xl, added backdrop-blur-sm effects, icon color adjustments (amber/emerald tones), and typography color refinements (iron-500 → iron-400/iron-300).
Content Display
components/waves/drops/ContentDisplay.tsx, components/waves/drops/ContentSegmentComponent.tsx
Added optional linkify boolean prop (defaults to true) to enable/disable text linkification. ContentDisplay forwards linkify to ContentSegmentComponent; ContentSegmentComponent conditionally applies linkification based on prop value. Anchor styling updated.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~35 minutes

Possibly related PRs

  • #1784 — Modifies BoostedSection grid/column layout and gaps in parallel with this PR's layout adjustments to the same component.
  • #1759 — Updates DropListItemContentMedia component that BoostedDropCardHome now uses for media rendering; both PRs affect media-rendering logic.
  • #1783 — Modifies ExploreWavesSection, HeroHeader, and NowMintingSection with overlapping styling/layout changes.

Suggested reviewers

  • simo6529
  • prxt6529

Poem

🐰 Hops through the home page with style so bright,
Rounded corners glow, shadows catch the light,
Skeletons dance while the cards reshape,
Responsive and swift, in a bold new drape!
LinkifyControl, a toggle so free—
The perfect refactor, just wait and see!

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 10.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title 'Homepage card fixes' is vague and generic, using non-descriptive terminology that doesn't convey specific information about the substantial styling, layout, and component structure changes across multiple homepage card components. Consider a more specific title that highlights the primary change, such as 'Refactor homepage card styling and responsive layout' or 'Update homepage cards with improved responsive design and typography.'
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Signed-off-by: ragnep <ragneinfo@gmail.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@components/home/explore-waves/ExploreWaveCard.tsx`:
- Around line 55-66: The Image sizes value is wrong for the grid breakpoints; in
ExploreWaveCard.tsx update the Image `sizes` prop (the <Image ... /> usage) to
reflect 1-column mobile, 2-column sm, and 3-column lg layouts: use a media-query
order such as "(max-width: 639px) 100vw, (max-width: 1023px) 50vw, 33vw" so the
browser requests appropriately sized images for getScaledImageUri(wave.picture,
ImageScale.AUTOx450) and avoids over/under-fetching.
🧹 Nitpick comments (3)
components/home/boosted/BoostedDropCardHome.tsx (1)

100-111: Remove stray whitespace on line 101.

Line 101 contains only whitespace characters. This appears to be a leftover from removed code.

🧹 Suggested cleanup
         <div className="tw-relative tw-flex tw-aspect-[5/2] sm:tw-aspect-[5/4] md:tw-aspect-[8/5] lg:tw-aspect-[5/4] xl:tw-aspect-[8/5] tw-w-full tw-items-center tw-justify-center tw-overflow-hidden tw-rounded-xl tw-px-6 tw-pb-6 sm:tw-pb-0 tw-pt-4 sm:tw-pt-16 md:tw-pt-12">
-           
            <div className="tw-relative tw-z-10 tw-flex tw-w-full tw-justify-center">
components/home/boosted/BoostedSection.tsx (1)

57-67: Consider removing the unnecessary wrapper div.

The <div> on line 57 wraps all content but provides no styling or semantic purpose. Similarly, the flex wrapper on lines 59-63 currently only contains the title span. Unless additional elements are planned for these containers, consider simplifying:

🧹 Suggested simplification
     <section className="tw-border-x-0 tw-border-y tw-border-solid tw-border-zinc-900 tw-bg-iron-950 tw-px-4 tw-py-10 md:tw-px-6 md:tw-py-16 lg:tw-px-8">
-      <div>
         <div className="tw-mb-8">
-          <div className="tw-flex tw-items-center">
-            <span className="tw-m-0 tw-text-xl tw-font-semibold tw-tracking-tight tw-text-white md:tw-text-2xl">
-              Boosted Drops
-            </span>
-          </div>
+          <h2 className="tw-m-0 tw-text-xl tw-font-semibold tw-tracking-tight tw-text-white md:tw-text-2xl">
+            Boosted Drops
+          </h2>
           <p className="tw-mb-0 tw-mt-2 tw-text-sm tw-text-iron-400">
             Community-boosted right now
           </p>
         </div>
 
         <div className="tw-grid tw-grid-cols-1 sm:tw-grid-cols-2 lg:tw-grid-cols-3 tw-gap-4 xl:tw-gap-6">
           ...
         </div>
-      </div>
     </section>

Note: Using an <h2> element instead of <span> would also improve semantic HTML and accessibility for the section heading.

components/home/next-mint-leading/NextMintLeadingSection.tsx (1)

90-99: Consider adding accessible loading cues for the skeleton state.
Recommend a screen-reader loading label and hiding decorative skeletons.

♿ Suggested a11y tweaks
-    return (
-      <section className={sectionClassName}>
+    return (
+      <section className={sectionClassName} aria-busy="true">
         <div>
           {header}
+          <span className="tw-sr-only">Loading upcoming mints</span>
           <div className="tw-grid tw-grid-cols-1 tw-gap-6 lg:tw-grid-cols-3 lg:tw-gap-8">
             {SKELETON_KEYS.map((key) => (
               <NextMintLeadingSkeletonCard key={key} />
             ))}
           </div>
         </div>
       </section>
     );
-  return (
-    <div className="tw-flex tw-flex-col tw-gap-3 tw-text-left sm:tw-gap-4">
+  return (
+    <div
+      className="tw-flex tw-flex-col tw-gap-3 tw-text-left sm:tw-gap-4"
+      aria-hidden="true"
+    >

Also applies to: 124-126

Comment thread components/home/explore-waves/ExploreWaveCard.tsx
Signed-off-by: ragnep <ragneinfo@gmail.com>
@sonarqubecloud
Copy link
Copy Markdown

@ragnep ragnep merged commit f69c467 into main Jan 22, 2026
7 checks passed
@ragnep ragnep deleted the homepage-card-fixes branch January 22, 2026 15:52
@coderabbitai coderabbitai Bot mentioned this pull request Jan 26, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Apr 28, 2026
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