-
Notifications
You must be signed in to change notification settings - Fork 3.3k
improvement(docs): updated logo, added lightbox to action media, fixed minor styling inconsistencies between themes #3014
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…d minor styling inconsistencies between themes
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile OverviewGreptile SummaryThis PR refreshes the documentation site's visual identity by updating the logo and color scheme from purple to green (#33C482), adding lightbox functionality to action media, and fixing minor styling inconsistencies. Major Changes:
Style Guide Considerations:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant Browser
participant Page
participant SimLogo
participant ActionMedia
participant Lightbox
participant OGRoute
User->>Browser: Visit documentation page
Browser->>Page: Load [[...slug]]/page.tsx
Page->>SimLogo: Render SimLogoFull in navbar/sidebar
SimLogo->>Browser: Display SVG logo (green icon + text)
User->>ActionMedia: Click on action image/video
ActionMedia->>ActionMedia: handleClick() called
ActionMedia->>Lightbox: Open lightbox (setIsLightboxOpen(true))
Lightbox->>Browser: Display fullscreen media overlay
Lightbox->>Browser: Set document.body.style.overflow = 'hidden'
User->>Lightbox: Press Escape or click outside
Lightbox->>Lightbox: onClose() called
Lightbox->>ActionMedia: Close lightbox (setIsLightboxOpen(false))
Lightbox->>Browser: Restore document.body.style.overflow = 'unset'
Note over Browser,OGRoute: Social Media Preview
Browser->>OGRoute: Request OG image (/api/og?title=...)
OGRoute->>OGRoute: Load Geist font from Google Fonts
OGRoute->>OGRoute: Render SimLogoFull SVG
OGRoute->>Browser: Return ImageResponse (1200x630 PNG)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 3 comments
Summary
Type of Change
Testing
Tested manually
Checklist