Skip to content

Remove hiring CTA from blog posts; pad announcement banner#159

Draft
mateo-berri wants to merge 1 commit into
mainfrom
fix-blog-cta-and-banner-padding
Draft

Remove hiring CTA from blog posts; pad announcement banner#159
mateo-berri wants to merge 1 commit into
mainfrom
fix-blog-cta-and-banner-padding

Conversation

@mateo-berri
Copy link
Copy Markdown
Collaborator

Summary

Two small docs UI fixes:

  1. Remove the "We're hiring / Like what you see? Join us" card that was appended to the bottom of every blog post via src/theme/BlogPostPage/index.js. It looked out of place stuck under each post, and the blog list page hero already has a "We're hiring!" button, so the link is still discoverable in a better spot.
  2. Add padding to the announcement bar ("LiteLLM May Town Hall — rescheduled..."). The previous override only set padding: 10px 0 on the outer bar, leaving the text flush against the left/right viewport edges. Padding now lives on the inner content div at 14px 48px (12px 20px on mobile) so the banner has proper breathing room.

Files changed

  • src/theme/BlogPostPage/index.js — drop HiringCTA component and its render.
  • src/theme/BlogPostPage/styles.module.css — remove now-unused .cta* styles.
  • src/css/custom.css — pad the announcement bar's content div, drop the outer padding: 10px 0.

Testing

Visual change only; no logic affected. Couldn't run a local docusaurus build (node_modules not installed in this environment), but the diff is purely CSS + removal of a static React component.

Slack Thread

Open in Web Open in Cursor 

- Drop the 'We're hiring / Like what you see? Join us' card from the
  bottom of every blog post. The blog list page hero already has a
  'We're hiring!' button, so this avoids duplicating the link in a
  noisy footer card on every post.
- Move announcement bar padding onto the inner content div and bump it
  to 14px vertical / 48px horizontal (12/20 on mobile) so the May
  Town Hall banner no longer sits flush against the viewport edges.

Co-authored-by: Mateo Wang <mateo-berri@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment May 18, 2026 8:33pm

Request Review

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