Skip to content

UI: remove blogs promo banner#33

Open
Yxmura wants to merge 1 commit intomainfrom
ui/remove-blogs-banner
Open

UI: remove blogs promo banner#33
Yxmura wants to merge 1 commit intomainfrom
ui/remove-blogs-banner

Conversation

@Yxmura
Copy link
Collaborator

@Yxmura Yxmura commented Feb 8, 2026

Summary

  • Remove the top "Check out our new Blogs feature" banner

Notes

  • This removes the banner and the dismiss/localStorage logic from Navbar.

@vercel
Copy link

vercel bot commented Feb 8, 2026

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

Project Deployment Actions Updated (UTC)
renderdragon Ready Ready Preview, Comment Feb 8, 2026 1:56pm

@greptile-apps
Copy link

greptile-apps bot commented Feb 8, 2026

Greptile Overview

Greptile Summary

Removes the fixed top “Check out our new Blogs feature” promo banner from Navbar and deletes the associated dismiss/localStorage state. The remainder of Navbar (links, dropdowns, auth UI, and theme toggling) is unchanged aside from formatting/quote style adjustments.

No merge-blocking issues found in the changeset.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk.
  • Change is narrowly scoped to removing a banner plus its localStorage dismiss logic; resulting layout sets header top offset to 0 and no other behavioral logic was modified beyond formatting.
  • No files require special attention

Important Files Changed

Filename Overview
src/components/Navbar.tsx Removed the fixed top blogs promo banner plus its localStorage dismiss state; also reformatted the file (quote style, wrapping) without changing behavior elsewhere.

Sequence Diagram

sequenceDiagram
  participant U as User
  participant N as Navbar
  participant LS as localStorage
  participant DOM as document.documentElement

  U->>N: Visit any page
  N->>LS: getItem("theme")
  N->>N: init theme state
  N->>DOM: add/remove "dark" class (effect)

  U->>N: Toggle theme (desktop ThemeToggle / mobile Toggle)
  N->>N: setTheme(newTheme)
  N->>LS: setItem("theme", newTheme)
  N->>DOM: add/remove "dark" class

  Note over N: PR removes blogs promo banner render
  Note over N,LS: PR removes hideBlogsBanner localStorage read/write
Loading

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