Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit 9c63140

Browse files
committed
OPS-833: Add extra logos to finance page
1 parent f3ecc79 commit 9c63140

4 files changed

Lines changed: 30 additions & 6 deletions

File tree

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

pcweb/pages/use_cases/common/logos_carousel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ def logos_carousel(logos: list[str]) -> rx.Component:
2222
class_name="h-[10.75rem] w-full overflow-hidden",
2323
gradient_width=0,
2424
speed=50,
25+
pause_on_hover=False,
2526
)
Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
11
import reflex as rx
2+
import reflex_ui as ui
23

3-
from pcweb.pages.use_cases.common.social_proof import first_card, social_proof_card
4+
from pcweb.pages.use_cases.common.logos_carousel import logos_carousel
5+
6+
LOGOS = [
7+
"man_group",
8+
"world_bank",
9+
"credit_agricole",
10+
"bayesline",
11+
"antgroup",
12+
"spglobal",
13+
]
14+
15+
16+
def first_card(title: str) -> rx.Component:
17+
return rx.el.div(
18+
ui.icon(
19+
"CheckmarkBadge02Icon",
20+
class_name="text-m-slate-11 dark:text-m-slate-9 shrink-0",
21+
),
22+
rx.el.span(
23+
title,
24+
class_name="text-m-slate-11 dark:text-m-slate-9 text-sm font-medium text-wrap",
25+
),
26+
class_name="flex flex-row gap-2.5 items-center max-lg:justify-center lg:col-span-2 px-10 h-full max-lg:h-[10.75rem] max-lg:w-full w-full lg:border-r",
27+
)
428

529

630
def social_proof() -> rx.Component:
731
return rx.el.div(
832
first_card("Trusted by innovative finance teams"),
9-
social_proof_card("man_group"),
10-
social_proof_card("world_bank"),
11-
social_proof_card("credit_agricole"),
12-
social_proof_card("bayesline"),
13-
class_name="grid lg:grid-cols-6 grid-cols-1 justify-center items-center mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 lg:divide-x divide-slate-3 lg:border-t max-lg:divide-y",
33+
logos_carousel(LOGOS),
34+
class_name="flex lg:flex-row flex-col justify-center items-center mx-auto w-full max-w-[64.19rem] lg:border border-slate-3 h-[10.75rem] z-1",
1435
)

0 commit comments

Comments
 (0)