Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 17 additions & 20 deletions pcweb/components/docpage/navbar/navbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,24 @@


def resource_item(text: str, url: str, icon: str, index):
return rx.el.li(
rx.el.a(
rx.box(
ui.icon(icon, size=16, class_name="flex-shrink-0 text-slate-9"),
rx.text(
text,
class_name="font-small text-slate-9 truncate text-start w-[150px]",
),
rx.icon(
tag="chevron_right",
size=14,
stroke_width=2,
class_name="flex-shrink-0 text-slate-8 ml-auto",
),
class_name="flex flex-row flex-nowrap items-center gap-4 hover:bg-secondary-3 px-[1.125rem] py-2 rounded-md w-full transition-colors",
return rx.el.a(
rx.box(
ui.icon(icon, size=16, class_name="flex-shrink-0 text-slate-9"),
rx.text(
text,
class_name="font-small text-slate-9 truncate text-start w-[150px]",
),
class_name="w-full text-slate-9 hover:text-slate-9",
to=url,
on_click=SidebarState.set_sidebar_index(index),
rx.icon(
tag="chevron_right",
size=14,
stroke_width=2,
class_name="flex-shrink-0 text-slate-8 ml-auto",
),
class_name="flex flex-row flex-nowrap items-center gap-4 hover:bg-secondary-3 px-[1.125rem] py-2 rounded-md w-full transition-colors",
),
class_name="w-full",
class_name="w-full text-slate-9 hover:text-slate-9",
to=url,
on_click=SidebarState.set_sidebar_index(index),
)


Expand Down Expand Up @@ -416,7 +413,7 @@ def doc_section():
unstyled=True,
class_name=ui.cn(
ui.navigation_menu.class_names.CONTENT,
"items-start gap-1.5 gap-x-1.5 grid grid-cols-1 m-0 p-1.5 w-[280px] min-w-max",
"flex flex-col gap-1.5 m-0 p-1.5 w-[280px] min-w-max h-auto",
),
)

Expand Down
4 changes: 2 additions & 2 deletions pcweb/components/docpage/sidebar/sidebar_items/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ def get_ai_builder_integrations():
ai_builder.integrations.google_auth,
ai_builder.integrations.groq,
ai_builder.integrations.hubspot,
ai_builder.integrations.huggingface,
ai_builder.integrations.hugging_face,
ai_builder.integrations.langchain,
ai_builder.integrations.linear,
ai_builder.integrations.notion,
ai_builder.integrations.okta_auth,
ai_builder.integrations.open_ai,
ai_builder.integrations.openai,
ai_builder.integrations.perplexity,
ai_builder.integrations.replicate,
ai_builder.integrations.resend,
Expand Down
2 changes: 1 addition & 1 deletion pcweb/pages/landing/views/ai_bento.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def bento_cards() -> rx.Component:
),
frontend_card(
title="Integrate With Tools",
description="Over 15 integrations are available.",
description="Over 100+ integrations are available.",
image="bento2.webp",
),
frontend_card(
Expand Down
4 changes: 2 additions & 2 deletions pcweb/pages/landing/views/hero.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ def prompt_box() -> rx.Component:
class_name="animate-[prompt-box-line] animate-duration-[200ms] animate-ease-out origin-left absolute top-13 left-5 h-10 animate-delay-200 animate-fill-both pointer-events-none",
),
rx.el.span(
"when critical metrics",
"for critical metrics",
# Cursor
rx.el.span(
class_name="w-0.5 h-8 bg-slate-12 animate-blink inline-block align-middle animate-fill-both animate-delay-450",
),
class_name="animate-[prompt-box-line] animate-duration-[200ms] animate-ease-out origin-left absolute top-23 left-5 h-10 animate-delay-400 animate-fill-both pointer-events-none",
),
class_name="text-slate-11 dark:text-slate-9 text-xl leading-[2.5rem] font-medium cursor-text",
class_name="text-slate-11 dark:text-slate-9 text-xl leading-[2.5rem] font-medium cursor-text max-lg:hidden",
),
rx.el.div(
rx.el.textarea(
Expand Down
4 changes: 2 additions & 2 deletions pcweb/pages/landing/views/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def product_card(
src=f"/landing/products/dark/product_{graphic}.webp",
class_name="w-auto pointer-events-none hidden dark:block",
),
class_name="w-full h-[17.25rem]",
class_name="w-full max-h-[17.25rem] h-full overflow-hidden",
),
rx.el.a(
rx.el.span(
Expand Down Expand Up @@ -79,5 +79,5 @@ def products() -> rx.Component:
("amber", "11"),
"hosting",
),
class_name="grid grid-cols-1 md:grid-cols-3 mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 lg:divide-x divide-slate-3 lg:border-t",
class_name="grid grid-cols-1 lg:grid-cols-3 mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 lg:divide-x divide-slate-3 lg:border-t",
)