-
Notifications
You must be signed in to change notification settings - Fork 229
OPS-833: Add extra logos to finance page #1724
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
Greptile OverviewGreptile SummaryThis PR adds two new company logos (Ant Group and S&P Global) to the finance page and transitions from a static grid layout to an animated carousel display using the marquee component. Key Changes
Architecture NotesThe implementation follows the existing pattern established in the healthcare page, which also uses the logos carousel. The carousel only displays light mode logos (no dark mode variants), which is consistent with the healthcare implementation where none of the logos have dark mode versions either. Code Quality ConsiderationThe Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant Browser
participant FinancePage as Finance Page
participant SocialProof as social_proof()
participant LogosCarousel as logos_carousel()
participant Marquee as Marquee Component
participant Assets as SVG Assets
User->>Browser: Visit Finance Page
Browser->>FinancePage: Load page
FinancePage->>SocialProof: Render social_proof()
SocialProof->>SocialProof: Render first_card("Trusted by...")
SocialProof->>LogosCarousel: Call logos_carousel(LOGOS)
Note over LogosCarousel: LOGOS = ["man_group", "world_bank",<br/>"credit_agricole", "bayesline",<br/>"antgroup", "spglobal"]
loop For each logo in LOGOS
LogosCarousel->>LogosCarousel: Create social_proof_card(logo)
LogosCarousel->>Assets: Request /companies/light/{logo}.svg
Assets-->>LogosCarousel: Return SVG image
end
LogosCarousel->>Marquee: Create marquee with cards
Note over Marquee: Config: direction="left",<br/>speed=50, pause_on_hover=False,<br/>gradient_width=0
Marquee-->>SocialProof: Return carousel component
SocialProof-->>FinancePage: Return social proof section
FinancePage-->>Browser: Render page
Browser-->>User: Display finance page with scrolling logos
|
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.
1 file reviewed, 1 comment
No description provided.