Skip to content

docs: redesign blog with cards and featured posts, replace dividers with gradient fades#641

Merged
zahlekhan merged 6 commits into
mainfrom
blog-page-updates
Jun 11, 2026
Merged

docs: redesign blog with cards and featured posts, replace dividers with gradient fades#641
zahlekhan merged 6 commits into
mainfrom
blog-page-updates

Conversation

@pd-builds

Copy link
Copy Markdown
Contributor

Blog index redesign

  • Posts render as cards in a 2-column grid with equal heights, borrowing the project card design language (openui border, radius, shadow, hover states)
  • Author name and date on every card, pinned to the bottom
  • New optional featured: true frontmatter flag: featured posts sort first and span the full grid width with a purple FEATURED chip. Both the State of Generative UI report and the JSON origin story are featured
  • Page background follows the theme: white in light mode, #171717 in dark mode
  • The card area sits on a band that fades in from the page color and back out at the bottom

Blog post page

  • Page blends from the menu bar surface into the page background, then back into the footer surface at the bottom
  • Site footer added

Footer

  • Dark mode now shows the white mascot variant (it existed but was hardcoded off, so dark mode rendered the light outline invisibly)
  • The handcrafted section shares the footer block's surface color so the footer reads as one piece

Site-wide: stepped dividers replaced with gradient fades

  • Removed the stepped GradientDivider bars from home, projects, and OpenClaw OS
  • Each gray content band now blends with a CSS linear-gradient at both ends, using design system variables so both themes adapt automatically
  • Increased band padding for more breathing room (home/OpenClaw 8rem, projects 5rem, blog 6rem)

Verification

Checked in the local preview in both light and dark modes on all four pages: gradient endpoints measured to match the page surfaces exactly, no console errors introduced, and the new State of Generative UI post renders correctly in the new grid.

🤖 Generated with Claude Code

pd-builds and others added 6 commits June 11, 2026 13:22
- Render blog posts as cards with rounded borders and hover states
- Show the author name on each card alongside the date
- Page background is white in light mode and #171717 in dark mode
- Add the shared site Footer to the blog index

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Restyle blog cards to match the project card design (openui border,
  radius, shadow, and surface variables, so they theme automatically)
- Lay cards out in a 2-column grid with equal row heights
- Add optional 'featured' boolean to the blog frontmatter schema;
  featured posts sort first and span the full grid width with a
  Featured chip
- Mark the OpenUI origin story post as featured

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The footer's HandcraftedMascot already shipped a dark variant (the same
white-body art as the header logo) but isDark was hardcoded to false,
so dark mode rendered the light outline mascot invisibly against the
dark background. Resolve the theme via next-themes after mount so the
server and first client render stay consistent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Card area sits on a band that fades from the page color into the
  gray and back at both ends (replaces the stepped divider)
- Cards are taller (15rem min) with 4-line description clamp and more
  band padding
- Blog post page blends from the menu bar surface into the page
  background and back into the footer surface; footer added
- Feature the new State of Generative UI report alongside the JSON
  origin story (both render as full-width cards)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Remove GradientDivider usage from home, projects, and OpenClaw OS
- Each gray content band now fades in from the page surface and back
  out at the bottom via linear-gradient on the section background
- Drop contentShell's opaque background so the section gradient shows
- Increase band padding on home/OpenClaw (8rem) and projects (5rem)
- Give the footer's handcrafted section the same surface color as the
  footer block below it so the footer reads as one piece

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zahlekhan zahlekhan enabled auto-merge (squash) June 11, 2026 11:14
@zahlekhan zahlekhan merged commit 82dd548 into main Jun 11, 2026
1 check passed
@zahlekhan zahlekhan deleted the blog-page-updates branch June 11, 2026 11:16
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