Skip to content

Revert "Redesign homepage below-hero sections"#151

Merged
Blargian merged 1 commit into
mainfrom
revert-149-feat/homepage-below-hero
Jun 9, 2026
Merged

Revert "Redesign homepage below-hero sections"#151
Blargian merged 1 commit into
mainfrom
revert-149-feat/homepage-below-hero

Conversation

@Blargian

@Blargian Blargian commented Jun 9, 2026

Copy link
Copy Markdown
Member

Reverts #149


Note

Low Risk
Documentation-only homepage MDX and static CSS; no backend or auth changes. Main risk is visual/regression on localized home pages and any reliance on the removed asymmetric product layout.

Overview
This reverts the homepage below-hero redesign (PR #149) across the main and localized home index.mdx files and built _site/styles.css.

HeroCard and layout: Removes FullWidthDivider and trims HeroCard props (body, showArrow, arrowBottom, extraStyle). Use-case and product cards drop corner arrows and full-bleed dividers; sections use simpler stacked headings and uniform grids instead of intro copy plus FullWidthDivider breaks.

English homepage (index.mdx): Replaces the asymmetric product layout (large ClickHouse Cloud card with inline link lists plus a side column) with a flat 3-column grid of image cards. Restores use-case hero images on all four cards. Tweaks the docs MCP block spacing (top border / padding). Fixes switcher mode so the “Explore by use case” title shows when that tab is selected.

Locale copies (es, ja, ko, etc.): Same structural simplification; locale HeroCard links drop the preventDefault + window.location hack in favor of normal <a href>.

CSS: Deletes .ch-hero-card hover/dark rules, .ch-usecase-divider, and .ch-usecase-arrow from _site/styles.css (the English page still uses the ch-hero-card class with Tailwind utilities only).

Reviewed by Cursor Bugbot for commit 3e69303. Bugbot is set up for automated code reviews on this repo. Configure here.

@Blargian Blargian merged commit 3ec2150 into main Jun 9, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3e69303. Configure here.

Comment thread index.mdx
const darkFilename = darkFilenameProp || (filename ? filename.replace('-light.', '-dark.') : null);
const cardClassName = `ch-hero-card ${arrowBottom ? 'flex flex-col' : 'block'} p-4 rounded-lg no-underline bg-[#f9f9f9] border border-[#e5e7eb]`;

const cardClassName = "ch-hero-card block p-4 rounded-lg no-underline bg-[#f9f9f9] border border-[#e5e7eb]";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dark mode hero cards broken

Medium Severity

The revert drops .dark .ch-hero-card rules from _site/styles.css, but English HeroCard still uses the ch-hero-card class with light-only Tailwind (bg-[#f9f9f9], border-[#e5e7eb]) and no dark: variants, so goal, use case, and product cards stay light-themed in dark mode.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3e69303. Configure here.

Comment thread index.mdx
<h2 className="text-2xl font-semibold text-gray-900 dark:text-zinc-50 mb-0">Set up docs MCP server</h2>
<p className="text-sm text-gray-500 dark:text-zinc-500" style={{ marginBottom: '24px' }}>Query the ClickHouse documentation directly from your AI tools using the Model Context Protocol.</p>
<div style={{ marginTop: '24px' }}><McpSetup /></div>
<div id="mcp-setup" style={{ marginTop: '64px', paddingTop: '40px', borderTop: '1px solid rgba(255,255,255,0.08)', scrollMarginTop: '80px' }}>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

MCP divider invisible light mode

Low Severity

The MCP section wrapper uses a fixed borderTop of rgba(255,255,255,0.08), which is barely visible on the light theme and removes the visual separator that existed without that border in the redesigned layout.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 3e69303. Configure here.

@mintlify

mintlify Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
ClickHouse-docs 🟢 Ready View Preview Jun 9, 2026, 2:09 PM

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.

1 participant