Skip to content

Commit 2aa1fb0

Browse files
authored
add reflex enterprise card link to sidebar (#1404)
1 parent cb10d01 commit 2aa1fb0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

pcweb/components/docpage/sidebar/sidebar.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,33 @@ def sidebar_comp(
551551
class_name="flex flex-col items-start gap-6 p-[0px_1rem_0px_0.5rem] w-full list-none list-style-none",
552552
),
553553
),
554+
(
555+
3,
556+
rx.el.ul(
557+
rx.link( # pyright: ignore [reportCallIssue]
558+
rx.box( # pyright: ignore [reportCallIssue]
559+
rx.box( # pyright: ignore [reportCallIssue]
560+
rx.icon(
561+
"atom", size=16
562+
), # pyright: ignore [reportCallIssue]
563+
rx.el.h5(
564+
"Reflex Enterprise",
565+
class_name="font-smbold text-[0.875rem] text-slate-12 leading-5 tracking-[-0.01313rem] transition-color",
566+
),
567+
class_name="flex flex-row items-center gap-3 text-slate-12",
568+
),
569+
rx.text( # pyright: ignore [reportCallIssue]
570+
"See the Reflex Enterprise components in action!",
571+
class_name="font-small text-slate-9",
572+
),
573+
class_name="flex flex-col gap-2 border-slate-5 bg-slate-1 hover:bg-slate-3 shadow-large px-3.5 py-2 border rounded-xl transition-bg",
574+
),
575+
underline="none",
576+
href="#",
577+
),
578+
class_name="flex flex-col items-start gap-6 p-[0px_1rem_0px_0.5rem] w-full list-none list-style-none",
579+
),
580+
),
554581
),
555582
),
556583
),

0 commit comments

Comments
 (0)