Skip to content

Redesign homepage hero section#140

Merged
Blargian merged 1 commit into
ClickHouse:mainfrom
danielclickh:feat/homepage-hero-ui
Jun 9, 2026
Merged

Redesign homepage hero section#140
Blargian merged 1 commit into
ClickHouse:mainfrom
danielclickh:feat/homepage-hero-ui

Conversation

@danielclickh

@danielclickh danielclickh commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add HighlightedClickHouse component with light/dark highlight images for the main heading
  • Expand hero cards from 3-column to 4-column layout; add "Our solutions" card
  • Improve HeroCard description truncation with WebKit line clamp (2 lines, fixed height)
  • Reduce card title font size to 18px and tighten spacing throughout
  • Remove slug: home frontmatter (caused URL mismatch in Mintlify routing — root page served at / but slug registered it as /home)
  • Sync i18n homepages (es, ja, ko, pt-br, ru, zh): remove redundant stacked-mode heading

Test plan

  • Visit homepage (/) — hero heading shows highlight overlay in light and dark mode
  • Hero cards display in 4 columns on desktop, stack on mobile
  • HeroCard descriptions truncate cleanly to 2 lines
  • No flash or redirect loop on / — removing slug fixes the /home redirect

🤖 Generated with Claude Code


Note

Low Risk
Mostly homepage MDX layout and styling; removing slug: home is the main routing change and should be smoke-tested on /.

Overview
Redesigns the English docs homepage hero and goal cards, with a small sync on localized homepages.

The hero replaces the tilted yellow ClickHouse label with HighlightedClickHouse (light/dark highlight images), bumps heading weight, and changes the subtitle to large semibold “Docs for the fastest analytics database” with extra bottom padding.

HeroCard is tightened: ch-hero-card styling, 18px titles, 2-line WebKit clamp on descriptions, ellipsis on link labels, and smaller icons. The goal section drops the stacked “Explore by goal” heading, uses a 4-column grid (md:2 / lg:4), adds top spacing, and introduces an “Our solutions” card (chDB, Cloud, ClickStack, Langfuse, Managed Postgres, K8s operator).

slug: home is removed from root frontmatter to fix Mintlify serving / vs /home.

es, ja, ko, pt-br, ru, zh only remove the redundant stacked-mode “Explore by goal” block; they do not get the full English hero/card redesign.

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

- Add HighlightedClickHouse component with light/dark highlight images for
  the main heading
- Expand hero cards from 3-column to 4-column layout and add "Our solutions"
  card
- Improve HeroCard description truncation with WebKit line clamp
- Reduce card title font size to 18px; tighten spacing throughout
- Remove `slug: home` frontmatter (causes URL mismatch in Mintlify routing)
- Sync i18n homepages (es, ja, ko, pt-br, ru, zh): remove redundant stacked
  mode heading that was already hidden

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@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

Reviewed by Cursor Bugbot for commit 9f059b6. Configure here.

Comment thread index.mdx
const darkFilename = darkFilenameProp || (filename ? filename.replace('-light.', '-dark.') : null);

const cardClassName = "block p-4 rounded-lg no-underline bg-[#f9f9f9] dark:bg-[#1b1b18] border border-[#e5e7eb] dark:border-[#3c3c3c]";
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.

Hero cards missing dark styling

Medium Severity

HeroCard now uses ch-hero-card with light-only bg-[#f9f9f9] and border classes, but no stylesheet defines ch-hero-card. The previous dark:bg and dark:border utilities were removed, so hero cards keep a light appearance when the site is in dark mode.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9f059b6. Configure here.

Comment thread index.mdx
/>
<HeroCard
title="Our solutions"
description="Ingest logs, metrics, and traces to monitor systems and power observability dashboards."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wrong solutions card description

Medium Severity

The new “Our solutions” HeroCard uses a description about ingesting logs, metrics, and traces for observability dashboards, while its links point to product pages such as chDB, ClickHouse Cloud, and Managed Postgres—not an observability-only topic.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9f059b6. Configure here.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Blargian Blargian merged commit ee3613a into ClickHouse:main Jun 9, 2026
1 check passed
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.

3 participants