instruction stringlengths 0 1k | input stringlengths 1 1k | output stringlengths 10 6.51k |
|---|---|---|
import reflex as rx
|
def semicircle_timer():
segments = [
rx.box(
class_name=rx.cond(
TimeSecondsClientState.value < i,
"timer-segment",
"timer-segment active",
),
style={"--segment-index": i},
)
for i in range(61)
]
return rx.box(
TimeSecondsClientState,
rx.el.style(
"""
.timer-segment {
width: 0.25rem;
height: 1.5rem;
position: absolute;
left: 50%;
bottom: 0;
transform-origin: bottom center;
border-radius: 0.4375rem;
transform: rotate(calc((var(--segment-index) * 3deg) - 90deg)) translateY(-15.25rem);
background-color: var(--slate-3, #222326);
transition: all 0.2s ease-out;
}
.timer-segment.active {
background-color: var(--violet-9, #6E56CF);
| TimeSecondsClientState = rx._x.client_state("timer", default=0) |
import reflex as rx
TimeSecondsClientState = rx._x.client_state("timer", default=0)
def semicircle_timer():
|
return rx.box(
TimeSecondsClientState,
rx.el.style(
"""
.timer-segment {
width: 0.25rem;
height: 1.5rem;
position: absolute;
left: 50%;
bottom: 0;
transform-origin: bottom center;
border-radius: 0.4375rem;
transform: rotate(calc((var(--segment-index) * 3deg) - 90deg)) translateY(-15.25rem);
background-color: var(--slate-3, #222326);
transition: all 0.2s ease-out;
}
.timer-segment.active {
background-color: var(--violet-9, #6E56CF);
box-shadow: 0px 0px 8px 0px var(--violet-9, #6E56CF);
}
"""
),
rx.box(
*segments,
),
# Use moment with interval to update every second
rx.moment(
interval=1000,
format="ss",
on_change=TimeSecon | segments = [
rx.box(
class_name=rx.cond(
TimeSecondsClientState.value < i,
"timer-segment",
"timer-segment active",
),
style={"--segment-index": i},
)
for i in range(61)
] |
def timer():
remove_negative_sign = rx.vars.function.ArgsFunctionOperation.create(
args_names=("t",),
return_expr=rx.vars.sequence.string_replace_operation(
rx.Var("t").to(str), "-", ""
),
)
return rx.box(
rx.text("Launch in", class_name="font-small font-medium text-slate-9"),
rx.moment(
date="2024-12-05T00:00:00",
duration_from_now=True,
format="DD[d] HH[h] mm[m] ss[s]",
class_name="text-3xl font-semibold text-slate-12 countdown text-nowrap",
custom_attrs={"filter": remove_negative_sign},
interval=1000,
),
class_name="absolute top-[18.25rem] left-1/2 -translate-x-1/2 flex flex-col gap-1 text-center",
)
| import reflex as rx | |
class WaitlistState(rx.State):
loading = False
success = False
def waitlist():
return rx.box(
rx.box(
rx.el.h2(
"Claim your spot!",
class_name="lg:text-5xl text-3xl gradient-heading font-semibold leading-[3.5rem] mb-4",
),
rx.text(
"""Deploy your app with a single command.
Performant, secure, and scalable.""",
class_name="text-slate-9 lg:text-lg text-base mb-8 whitespace-pre-line font-medium text-center",
),
rx.form(
rx.cond(
WaitlistState.success,
rx.badge(
"Thank you for joining the waitlist!",
color_scheme="green",
size="3",
),
rx.vstack(
rx.hstack(
rx.el.input(
placeholder="Em | import reflex as rx | |
import reflex as rx
|
def waitlist():
return rx.box(
rx.box(
rx.el.h2(
"Claim your spot!",
class_name="lg:text-5xl text-3xl gradient-heading font-semibold leading-[3.5rem] mb-4",
),
rx.text(
"""Deploy your app with a single command.
Performant, secure, and scalable.""",
class_name="text-slate-9 lg:text-lg text-base mb-8 whitespace-pre-line font-medium text-center",
),
rx.form(
rx.cond(
WaitlistState.success,
rx.badge(
"Thank you for joining the waitlist!",
color_scheme="green",
size="3",
),
rx.vstack(
rx.hstack(
rx.el.input(
placeholder="Email",
name="email",
| class WaitlistState(rx.State):
loading = False
success = False |
import reflex as rx
class WaitlistState(rx.State):
|
success = False
def waitlist():
return rx.box(
rx.box(
rx.el.h2(
"Claim your spot!",
class_name="lg:text-5xl text-3xl gradient-heading font-semibold leading-[3.5rem] mb-4",
),
rx.text(
"""Deploy your app with a single command.
Performant, secure, and scalable.""",
class_name="text-slate-9 lg:text-lg text-base mb-8 whitespace-pre-line font-medium text-center",
),
rx.form(
rx.cond(
WaitlistState.success,
rx.badge(
"Thank you for joining the waitlist!",
color_scheme="green",
size="3",
),
rx.vstack(
rx.hstack(
rx.el.input(
placeholder="Email",
name="email",
| loading = False |
import reflex as rx
class WaitlistState(rx.State):
loading = False
|
def waitlist():
return rx.box(
rx.box(
rx.el.h2(
"Claim your spot!",
class_name="lg:text-5xl text-3xl gradient-heading font-semibold leading-[3.5rem] mb-4",
),
rx.text(
"""Deploy your app with a single command.
Performant, secure, and scalable.""",
class_name="text-slate-9 lg:text-lg text-base mb-8 whitespace-pre-line font-medium text-center",
),
rx.form(
rx.cond(
WaitlistState.success,
rx.badge(
"Thank you for joining the waitlist!",
color_scheme="green",
size="3",
),
rx.vstack(
rx.hstack(
rx.el.input(
placeholder="Email",
name="email",
| success = False |
from .integration_gallery import (
integration_filters,
integration_gallery,
integration_request_form,
)
from .integration_header import integration_header
# @mainpage(path="/integrations", title="Reflex · Integrations", meta=meta_tags)
def integration_page():
return rx.el.div(
integration_header(),
integration_filters(),
integration_gallery(),
integration_request_form(),
class_name="flex flex-col size-full justify-center items-center",
)
| import reflex as rx | |
import reflex as rx
from .integration_gallery import (
integration_filters,
integration_gallery,
integration_request_form,
)
|
# @mainpage(path="/integrations", title="Reflex · Integrations", meta=meta_tags)
def integration_page():
return rx.el.div(
integration_header(),
integration_filters(),
integration_gallery(),
integration_request_form(),
class_name="flex flex-col size-full justify-center items-center",
)
| from .integration_header import integration_header |
import reflex_ui as ui
from reflex.experimental import ClientStateVar
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on | import reflex as rx | |
import reflex as rx
|
from reflex.experimental import ClientStateVar
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter. | import reflex_ui as ui |
import reflex as rx
import reflex_ui as ui
|
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter.set_value(data["name"]),
)
def integratio | from reflex.experimental import ClientStateVar |
import reflex as rx
import reflex_ui as ui
from reflex.experimental import ClientStateVar
|
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter.set_value(data["name"]),
)
def integration_filters():
return rx.el.div(
rx.el.div | from .integration_list import get_integration_path |
import reflex as rx
import reflex_ui as ui
from reflex.experimental import ClientStateVar
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
|
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter.set_value(data["name"]),
)
def integration_filters():
return rx.el.div(
rx.el.div(
*[integration_filter_button(data) for data in FilterOptions],
class_name="flex flex-row gap-3 items-c | selected_filter = ClientStateVar.create("selected_filter", "All") |
import reflex as rx
import reflex_ui as ui
from reflex.experimental import ClientStateVar
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
|
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter.set_value(data["name"]),
)
def integration_filters():
return rx.el.div(
rx.el.div(
*[integration_filter_button(data) for data in FilterOptions],
class_name="flex flex-row gap-3 items-center justify-center flex-wrap",
),
class_name="w-full max-w-[64.19rem] pb-12",
)
def integration_gallery_cards(data):
return rx.el.a(
rx.el.div(
rx.el.div(
ui.avatar.root(
ui.avatar.image(
src=rx.color_mode_cond(
| FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
] |
import reflex as rx
import reflex_ui as ui
from reflex.experimental import ClientStateVar
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
|
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter.set_value(data["name"]),
)
def integration_filters():
return rx.el.div(
rx.el.div(
*[integration_filter_button(data) for data in FilterOptions],
class_name="flex flex-row gap-3 items-center justify-center flex-wrap",
),
class_name="w-full max-w-[64.19rem] pb-12",
)
def integration_gallery_cards(data):
return rx.el.a(
rx.el.div(
rx.el.div(
ui.avatar.root(
ui.avatar.image(
src=rx.color_mode_cond(
f"/integrations/light/{data['name']}.svg",
f"/integrations/dark/{data['name']}.svg",
| active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10" |
ClientStateVar
from .integration_list import get_integration_path
from .integration_request import request_integration_dialog
selected_filter = ClientStateVar.create("selected_filter", "All")
FilterOptions = [
{"name": "AI", "icon": "BotIcon"},
{"name": "DevTools", "icon": "WorkflowSquare10Icon"},
{"name": "Data Infrastructure", "icon": "DatabaseAddIcon"},
{"name": "Authentication", "icon": "LockPasswordIcon"},
{"name": "Communication", "icon": "SentIcon"},
{"name": "All", "icon": "CellsIcon"},
]
def integration_filter_button(data: dict):
active_pill = "border border-violet-8 bg-violet-3 hover:bg-violet-3 !text-violet-10"
return ui.button(
ui.icon(icon=data["icon"]),
rx.el.p(data["name"], class_name="text-sm"),
variant="outline",
class_name="flex flex-row items-center "
+ rx.cond(selected_filter.value == data["name"], active_pill, "").to(str),
on_click=selected_filter.set_value(data["name"]),
)
|
def integration_gallery_cards(data):
return rx.el.a(
rx.el.div(
rx.el.div(
ui.avatar.root(
ui.avatar.image(
src=rx.color_mode_cond(
f"/integrations/light/{data['name']}.svg",
f"/integrations/dark/{data['name']}.svg",
),
unstyled=True,
class_name="size-full",
),
ui.avatar.fallback(
data["name"][0],
class_name="text-secondary-12 text-xl font-semibold uppercase size-full",
unstyled=True,
),
unstyled=True,
class_name="size-8 flex items-center justify-center",
),
ui.link(
render_=ui.button(
"Learn More",
variant= | def integration_filters():
return rx.el.div(
rx.el.div(
*[integration_filter_button(data) for data in FilterOptions],
class_name="flex flex-row gap-3 items-center justify-center flex-wrap",
),
class_name="w-full max-w-[64.19rem] pb-12",
) |
to=data["path"],
),
class_name="w-full flex flex-row items-center justify-between",
),
rx.el.div(
rx.el.p(
data["title"], class_name="text-lg font-semibold text-secondary-12"
),
rx.el.p(
data["description"],
class_name="font-medium text-secondary-11 leading-[1.35]",
),
class_name="flex flex-col gap-y-1",
),
class_name="flex flex-col gap-y-6 rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small p-6 h-[13rem] justify-between hover:bg-secondary-2",
),
href=data["path"],
class_name="group text-inherit hover:!text-inherit decoration-none no-underline "
+ rx.cond(
(selected_filter.value == data["tags"]) | (selected_filter.value == "All"),
"flex",
"hidden",
),
)
|
def integration_request_form():
return rx.el.div(
rx.el.p("Missing an integration?"),
rx.el.p(
rx.fragment(
"Click ", request_integration_dialog(), " to tell us what you need."
)
),
class_name="w-full max-w-[64.19rem] flex flex-col gap-y-1 text-md font-semibold py-10 items-center justify-center",
)
| def integration_gallery():
return rx.el.div(
rx.el.div(
*[
integration_gallery_cards(next(iter(item.values())))
for item in get_integration_path()
],
class_name="w-full grid lg:grid-cols-2 md:grid-cols-2 grid-cols-1 gap-6",
),
) |
.el.p(
data["description"],
class_name="font-medium text-secondary-11 leading-[1.35]",
),
class_name="flex flex-col gap-y-1",
),
class_name="flex flex-col gap-y-6 rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small p-6 h-[13rem] justify-between hover:bg-secondary-2",
),
href=data["path"],
class_name="group text-inherit hover:!text-inherit decoration-none no-underline "
+ rx.cond(
(selected_filter.value == data["tags"]) | (selected_filter.value == "All"),
"flex",
"hidden",
),
)
def integration_gallery():
return rx.el.div(
rx.el.div(
*[
integration_gallery_cards(next(iter(item.values())))
for item in get_integration_path()
],
class_name="w-full grid lg:grid-cols-2 md:grid-cols-2 grid-cols-1 gap-6",
),
)
| def integration_request_form():
return rx.el.div(
rx.el.p("Missing an integration?"),
rx.el.p(
rx.fragment(
"Click ", request_integration_dialog(), " to tell us what you need."
)
),
class_name="w-full max-w-[64.19rem] flex flex-col gap-y-1 text-md font-semibold py-10 items-center justify-center",
) | |
def integration_header() -> rx.Component:
return rx.el.section(
rx.el.h1(
"Integrations",
class_name="max-w-full inline-block bg-clip-text bg-gradient-to-r from-slate-12 to-slate-11 w-full font-xx-large text-center text-transparent text-balance mx-auto break-words",
),
rx.el.h2(
"""Easily connect with the tools your team already uses
or extend your app with any Python SDK, library, or API.""",
class_name="max-w-full w-full font-semibold text-md text-center text-slate-11 -mt-2 md:text-2xl mx-auto text-balance word-wrap break-words md:whitespace-pre",
),
class_name="flex flex-col justify-center items-center gap-4 mx-auto w-full max-w-[64.19rem] pb-[2.5rem] pt-12",
)
| import reflex as rx | |
import os
|
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[ | import frontmatter |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
|
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
| base_dir = "docs/ai_builder/integrations" |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
|
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").s | web_path_prefix = "/docs/ai-builder/integrations" |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
|
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
| result = [] |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
| # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
| exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
|
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{sl | name_without_ext = filename[:-3] |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
|
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"descrip | if name_without_ext in exclude_files:
continue |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
|
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
| key = name_without_ext.lower() |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
|
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"tit | slug = key.replace("_", "-") |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
|
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
| file_path = os.path.join(base_dir, filename) |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
|
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| post = frontmatter.load(f) |
import os
import frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
|
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| raw_tags = post.get("tags", []) |
ort frontmatter
# Get the paths for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
|
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| tag = raw_tags[0] |
for our integrations from the source docs/
def get_integration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
|
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = "" |
ntegration_path() -> list:
base_dir = "docs/ai_builder/integrations"
web_path_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
|
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| tag = raw_tags |
th_prefix = "/docs/ai-builder/integrations"
result = []
exclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
|
title = key.replace("_", " ").title()
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| description = post.get("description", "").strip() |
xclude_files = [
"mcp_installation",
"mcp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
|
if title == "Open Ai":
title = "Open AI"
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| title = key.replace("_", " ").title() |
cp_overview",
"overview",
] # without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
|
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| if title == "Open Ai":
title = "Open AI" |
without .md extension
for filename in os.listdir(base_dir):
if filename.endswith(".md"):
name_without_ext = filename[:-3]
if name_without_ext in exclude_files:
continue
key = name_without_ext.lower()
slug = key.replace("_", "-")
file_path = os.path.join(base_dir, filename)
with open(file_path, "r", encoding="utf-8") as f:
post = frontmatter.load(f)
# Handle tags as a string (get first tag, or empty)
raw_tags = post.get("tags", [])
if isinstance(raw_tags, list) and raw_tags:
tag = raw_tags[0]
elif isinstance(raw_tags, str):
tag = raw_tags
else:
tag = ""
description = post.get("description", "").strip()
title = key.replace("_", " ").title()
if title == "Open Ai":
|
result.append(
{
key: {
"path": f"{web_path_prefix}/{slug}",
"tags": tag,
"description": description,
"name": key,
"title": title,
}
}
)
return result
| title = "Open AI" |
import reflex_ui as ui
from pcweb.templates.docpage.state import FeedbackState
def request_integration_dialog() -> rx.Component:
return ui.dialog(
title="Request Integration",
description="Let us know what integration you'd like to see added.",
trigger=rx.el.strong(
rx.el.u("here"),
class_name="cursor-pointer text-primary-11 decoration-primary-9",
),
content=rx.el.form(
ui.textarea(
placeholder="Requested integration...",
name="request",
auto_focus=True,
required=True,
max_length=2000,
class_name="h-[6rem]",
),
ui.button(
"Submit",
variant="primary",
size="md",
),
on_submit=[
rx.run_script(
"document.dispatchEvent(new KeyboardEvent('keydown', {'key': 'Escape'}))"
| import reflex as rx | |
import reflex as rx
|
from pcweb.templates.docpage.state import FeedbackState
def request_integration_dialog() -> rx.Component:
return ui.dialog(
title="Request Integration",
description="Let us know what integration you'd like to see added.",
trigger=rx.el.strong(
rx.el.u("here"),
class_name="cursor-pointer text-primary-11 decoration-primary-9",
),
content=rx.el.form(
ui.textarea(
placeholder="Requested integration...",
name="request",
auto_focus=True,
required=True,
max_length=2000,
class_name="h-[6rem]",
),
ui.button(
"Submit",
variant="primary",
size="md",
),
on_submit=[
rx.run_script(
"document.dispatchEvent(new KeyboardEvent('keydown', {'key': 'Escape'}))"
),
Feed | import reflex_ui as ui |
import reflex as rx
import reflex_ui as ui
|
def request_integration_dialog() -> rx.Component:
return ui.dialog(
title="Request Integration",
description="Let us know what integration you'd like to see added.",
trigger=rx.el.strong(
rx.el.u("here"),
class_name="cursor-pointer text-primary-11 decoration-primary-9",
),
content=rx.el.form(
ui.textarea(
placeholder="Requested integration...",
name="request",
auto_focus=True,
required=True,
max_length=2000,
class_name="h-[6rem]",
),
ui.button(
"Submit",
variant="primary",
size="md",
),
on_submit=[
rx.run_script(
"document.dispatchEvent(new KeyboardEvent('keydown', {'key': 'Escape'}))"
),
FeedbackState.handle_integration_request,
],
| from pcweb.templates.docpage.state import FeedbackState |
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video imp | import reflex as rx | |
import reflex as rx
|
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage | from pcweb.meta.meta import meta_tags |
import reflex as rx
from pcweb.meta.meta import meta_tags
|
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · W | from pcweb.pages.landing.views.ai_bento import ai_bento |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
|
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> | from pcweb.pages.landing.views.app_build import app_build |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
|
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
| from pcweb.pages.landing.views.companies import companies |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
|
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
int | from pcweb.pages.landing.views.connect_section import connect_section |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
|
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento( | from pcweb.pages.landing.views.deploy_section import deploy_section |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
|
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_ | from pcweb.pages.landing.views.enterprise_social import enterprise_social |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
|
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento() | from pcweb.pages.landing.views.final_cta import final_cta |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
|
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
| from pcweb.pages.landing.views.hero import hero |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
|
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full | from pcweb.pages.landing.views.integrations import integrations |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
|
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.os_bento import os_bento |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
|
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.os_stats import os_stats |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
|
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.products import products |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
|
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.social_marquee import social_marquee |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
|
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.social_stats import social_stats |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
|
from pcweb.pages.landing.views.video import video
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.use_cases import use_cases_section |
import reflex as rx
from pcweb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
|
from pcweb.templates.mainpage import mainpage
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.pages.landing.views.video import video |
eb.meta.meta import meta_tags
from pcweb.pages.landing.views.ai_bento import ai_bento
from pcweb.pages.landing.views.app_build import app_build
from pcweb.pages.landing.views.companies import companies
from pcweb.pages.landing.views.connect_section import connect_section
from pcweb.pages.landing.views.deploy_section import deploy_section
from pcweb.pages.landing.views.enterprise_social import enterprise_social
from pcweb.pages.landing.views.final_cta import final_cta
from pcweb.pages.landing.views.hero import hero
from pcweb.pages.landing.views.integrations import integrations
from pcweb.pages.landing.views.os_bento import os_bento
from pcweb.pages.landing.views.os_stats import os_stats
from pcweb.pages.landing.views.products import products
from pcweb.pages.landing.views.social_marquee import social_marquee
from pcweb.pages.landing.views.social_stats import social_stats
from pcweb.pages.landing.views.use_cases import use_cases_section
from pcweb.pages.landing.views.video import video
|
@mainpage(path="/", title="Reflex · Web apps in Pure Python", meta=meta_tags)
def landing() -> rx.Component:
return rx.el.div(
hero(),
app_build(),
social_stats(),
products(),
integrations(),
video(),
companies(),
ai_bento(),
connect_section(),
enterprise_social(),
social_marquee(),
use_cases_section(),
os_bento(),
os_stats(),
deploy_section(),
final_cta(),
class_name="flex flex-col size-full justify-center items-center",
)
| from pcweb.templates.mainpage import mainpage |
import reflex_ui as ui
from pcweb.components.numbers_pattern import numbers_pattern
def header() -> rx.Component:
return rx.el.div(
rx.el.div(
ui.icon("Layers01Icon", class_name="shrink-0"),
rx.el.span("Features", class_name="text-sm font-semibold"),
class_name="flex flex-row gap-2 items-center text-primary-9",
),
rx.el.h2(
"Generate your app with AI",
class_name="max-w-full w-full lg:text-3xl text-2xl text-center text-slate-12 font-semibold text-balance word-wrap break-words md:whitespace-pre",
),
rx.el.p(
"Build production-ready web apps in seconds with AI-powered code generation.",
class_name="text-slate-9 text-sm font-medium text-center text-balance word-wrap break-words md:whitespace-pre",
),
class_name="flex flex-col gap-4 items-center mx-auto w-full relative overflow-hidden",
)
def frontend_card(
title: str,
description | import reflex as rx | |
import reflex as rx
|
from pcweb.components.numbers_pattern import numbers_pattern
def header() -> rx.Component:
return rx.el.div(
rx.el.div(
ui.icon("Layers01Icon", class_name="shrink-0"),
rx.el.span("Features", class_name="text-sm font-semibold"),
class_name="flex flex-row gap-2 items-center text-primary-9",
),
rx.el.h2(
"Generate your app with AI",
class_name="max-w-full w-full lg:text-3xl text-2xl text-center text-slate-12 font-semibold text-balance word-wrap break-words md:whitespace-pre",
),
rx.el.p(
"Build production-ready web apps in seconds with AI-powered code generation.",
class_name="text-slate-9 text-sm font-medium text-center text-balance word-wrap break-words md:whitespace-pre",
),
class_name="flex flex-col gap-4 items-center mx-auto w-full relative overflow-hidden",
)
def frontend_card(
title: str,
description: str,
image: str,
| import reflex_ui as ui |
import reflex as rx
import reflex_ui as ui
|
def header() -> rx.Component:
return rx.el.div(
rx.el.div(
ui.icon("Layers01Icon", class_name="shrink-0"),
rx.el.span("Features", class_name="text-sm font-semibold"),
class_name="flex flex-row gap-2 items-center text-primary-9",
),
rx.el.h2(
"Generate your app with AI",
class_name="max-w-full w-full lg:text-3xl text-2xl text-center text-slate-12 font-semibold text-balance word-wrap break-words md:whitespace-pre",
),
rx.el.p(
"Build production-ready web apps in seconds with AI-powered code generation.",
class_name="text-slate-9 text-sm font-medium text-center text-balance word-wrap break-words md:whitespace-pre",
),
class_name="flex flex-col gap-4 items-center mx-auto w-full relative overflow-hidden",
)
def frontend_card(
title: str,
description: str,
image: str,
height: str = "auto",
cols: str = "1",
) -> rx.Compone | from pcweb.components.numbers_pattern import numbers_pattern |
from pcweb.components.icons.hugeicons import hi
from pcweb.components.new_button import button
from pcweb.components.tabs import tabs
items = [
{
"title": "Analytics",
"icon": "analytics-01",
"value": "data",
"color": "orange",
"image": "/case_studies/analytics_dashboard.webp",
"description": "Convert notebooks into production apps with live tables, charts, and custom components.",
},
{
"title": "Finance",
"icon": "money-02",
"value": "financial",
"color": "jade",
"image": "/case_studies/bayesline_app.webp",
"description": "Financial analytics dashboard that delivers custom equity-factor risk models in minutes.",
},
{
"title": "E-commerce",
"icon": "shopping-bag-01",
"value": "ecommerce",
"color": "blue",
"image": "/case_studies/sellerx_app.webp",
"description": "Unify marketplace sales, inventory alerts, and supplier dat | import reflex as rx | |
import reflex as rx
|
from pcweb.components.new_button import button
from pcweb.components.tabs import tabs
items = [
{
"title": "Analytics",
"icon": "analytics-01",
"value": "data",
"color": "orange",
"image": "/case_studies/analytics_dashboard.webp",
"description": "Convert notebooks into production apps with live tables, charts, and custom components.",
},
{
"title": "Finance",
"icon": "money-02",
"value": "financial",
"color": "jade",
"image": "/case_studies/bayesline_app.webp",
"description": "Financial analytics dashboard that delivers custom equity-factor risk models in minutes.",
},
{
"title": "E-commerce",
"icon": "shopping-bag-01",
"value": "ecommerce",
"color": "blue",
"image": "/case_studies/sellerx_app.webp",
"description": "Unify marketplace sales, inventory alerts, and supplier data in a single dashboard.",
},
{
" | from pcweb.components.icons.hugeicons import hi |
import reflex as rx
from pcweb.components.icons.hugeicons import hi
|
from pcweb.components.tabs import tabs
items = [
{
"title": "Analytics",
"icon": "analytics-01",
"value": "data",
"color": "orange",
"image": "/case_studies/analytics_dashboard.webp",
"description": "Convert notebooks into production apps with live tables, charts, and custom components.",
},
{
"title": "Finance",
"icon": "money-02",
"value": "financial",
"color": "jade",
"image": "/case_studies/bayesline_app.webp",
"description": "Financial analytics dashboard that delivers custom equity-factor risk models in minutes.",
},
{
"title": "E-commerce",
"icon": "shopping-bag-01",
"value": "ecommerce",
"color": "blue",
"image": "/case_studies/sellerx_app.webp",
"description": "Unify marketplace sales, inventory alerts, and supplier data in a single dashboard.",
},
{
"title": "DevOps",
"icon": "ai-cloud-01" | from pcweb.components.new_button import button |
import reflex as rx
from pcweb.components.icons.hugeicons import hi
from pcweb.components.new_button import button
|
items = [
{
"title": "Analytics",
"icon": "analytics-01",
"value": "data",
"color": "orange",
"image": "/case_studies/analytics_dashboard.webp",
"description": "Convert notebooks into production apps with live tables, charts, and custom components.",
},
{
"title": "Finance",
"icon": "money-02",
"value": "financial",
"color": "jade",
"image": "/case_studies/bayesline_app.webp",
"description": "Financial analytics dashboard that delivers custom equity-factor risk models in minutes.",
},
{
"title": "E-commerce",
"icon": "shopping-bag-01",
"value": "ecommerce",
"color": "blue",
"image": "/case_studies/sellerx_app.webp",
"description": "Unify marketplace sales, inventory alerts, and supplier data in a single dashboard.",
},
{
"title": "DevOps",
"icon": "ai-cloud-01",
"value": "engineering",
| from pcweb.components.tabs import tabs |
ect-cover pointer-events-none",
),
rx.box(
hi("magic-wand-01", class_name="shrink-0"),
rx.el.span("AI Builder", class_name="text-sm font-semibold"),
class_name="flex flex-row gap-2 items-center text-violet-9",
),
rx.el.h2(
"""Use Cases by Industry""",
class_name="max-w-full w-full lg:text-3xl text-2xl text-center text-slate-12 font-semibold text-balance word-wrap break-words md:whitespace-pre",
),
rx.el.p(
"""Describe what you want to build, and AI will generate a working Python app instantly
—complete with a backend, frontend, and database integration.""",
class_name="text-slate-11 text-sm font-medium text-center text-balance word-wrap break-words md:whitespace-pre",
),
class_name="flex flex-col gap-4 mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 p-10 justify-center items-center relative overflow-hidden h-[22.75rem]",
)
|
def tab_panel(item: dict[str, str]):
return tabs.panel(
rx.box(
rx.image(
src=item["image"],
class_name="size-full object-cover object-left-top border border-slate-3",
),
class_name="max-lg:aspect-square lg:h-[550px] overflow-hidden p-3",
),
rx.box(
rx.el.p(
item["description"], class_name="text-xl text-slate-10 font-semibold"
),
class_name="p-4",
),
keep_mounted=True,
value=item["value"],
class_name="border-t border-slate-3 flex flex-col divide-y divide-slate-3 data-[hidden]:hidden border-b",
)
def use_cases():
return rx.el.section(
tabs.root(
rx.box(
tabs.list(
*[tab_item(item) for item in items],
tabs.indicator(class_name="rounded-none bg-slate-4"),
class_name="w-full flex justify-start rounded-none | def tab_item(item: dict[str, str]):
return tabs.tab(
hi(item["icon"], class_name=f"text-{item['color']}-9", size=19),
item["title"],
value=item["value"],
class_name="w-full rounded-none border border-slate-3 text-base",
) |
*[tab_item(item) for item in items],
tabs.indicator(class_name="rounded-none bg-slate-4"),
class_name="w-full flex justify-start rounded-none bg-slate-1 gap-2 max-lg:overflow-x-auto",
),
class_name="w-full flex justify-start px-2 py-1",
),
*[tab_panel(item) for item in items],
default_value=items[0]["value"],
class_name="w-full flex flex-col border-t border-slate-3",
),
rx.link(
button(
"View all use cases",
size="lg",
icon=rx.icon("chevron-right", size=16),
variant="transparent",
class_name="flex-row-reverse my-3.5",
),
href="/use-cases",
),
class_name="flex flex-col mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 justify-center items-center relative overflow-hidden border-b border-slate-3",
)
| def ai_section() -> rx.Component:
return rx.el.section(
header(),
use_cases(),
class_name="flex flex-col mx-auto w-full max-w-[84.19rem]",
) | |
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
| import reflex as rx | |
import reflex as rx
|
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class | import reflex_ui as ui |
import reflex as rx
import reflex_ui as ui
|
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center | from pcweb.components.icons.icons import get_icon |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
|
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-b | from pcweb.components.progressive_blur import progressive_blur |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
|
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] | DELAY_USER_PROFILE = 250 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
|
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
| DURATION_USER_PROFILE = 900 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
|
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
| DELAY_OKTA = 1050 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
|
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def int | DURATION_OKTA = 300 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
|
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_d | DELAY_DIVIDER = 1200 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
|
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_na | DURATION_DIVIDER = 200 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
|
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx | DELAY_GRAPH_OVERVIEW = 1350 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
|
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
| DURATION_GRAPH_OVERVIEW = 700 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
|
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/in | DELAY_GRAPH_Y_AXIS = 1550 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
|
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg" | DURATION_GRAPH_Y_AXIS = 700 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
|
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name | DELAY_DATABRICKS = 2100 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
|
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-no | DURATION_DATABRICKS = 300 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
|
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden" | DELAY_GRAPH_BARS = 1950 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
|
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.im | DURATION_GRAPH_BARS = 300 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
|
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/land | DELAY_METRICS_HEADER = 2250 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
|
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.s | DURATION_METRICS_HEADER = 800 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
|
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name | DELAY_METRICS_BADGE = 2500 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
|
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none | DURATION_METRICS_BADGE = 700 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
|
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block | DELAY_METRICS_TABS = 2350 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
|
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_ | DURATION_METRICS_TABS = 700 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
|
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_name=ui.cn(
"z-10 | DELAY_METRICS_CONTENT = 2450 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
|
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_name=ui.cn(
"z-100 flex justify-center items-cen | DURATION_METRICS_CONTENT = 600 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
|
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-whit | DELAY_SLACK = 3050 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
|
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/ | DURATION_SLACK = 300 |
import reflex as rx
import reflex_ui as ui
from pcweb.components.icons.icons import get_icon
from pcweb.components.progressive_blur import progressive_blur
# Animation delays (in ms)
DELAY_USER_PROFILE = 250
DURATION_USER_PROFILE = 900
DELAY_OKTA = 1050
DURATION_OKTA = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
|
def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
def okta_card():
return integration_card_light_dark(
"okta",
class_name=f"rounded-t-[14px] rounded-bl-[14px] rounded-br-[4px] absolute top-2 left-2 animate-scale-rotate-in animate-duration-{DURATION_OKTA} animate-ease-out animate-delay-{DELAY_OKTA}",
)
def databricks_card():
return integration_card(
"d | def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
) |
A = 300
DELAY_DIVIDER = 1200
DURATION_DIVIDER = 200
DELAY_GRAPH_OVERVIEW = 1350
DURATION_GRAPH_OVERVIEW = 700
DELAY_GRAPH_Y_AXIS = 1550
DURATION_GRAPH_Y_AXIS = 700
DELAY_DATABRICKS = 2100
DURATION_DATABRICKS = 300
DELAY_GRAPH_BARS = 1950
DURATION_GRAPH_BARS = 300
DELAY_METRICS_HEADER = 2250
DURATION_METRICS_HEADER = 800
DELAY_METRICS_BADGE = 2500
DURATION_METRICS_BADGE = 700
DELAY_METRICS_TABS = 2350
DURATION_METRICS_TABS = 700
DELAY_METRICS_CONTENT = 2450
DURATION_METRICS_CONTENT = 600
DELAY_SLACK = 3050
DURATION_SLACK = 300
def integration_card(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
)
|
def okta_card():
return integration_card_light_dark(
"okta",
class_name=f"rounded-t-[14px] rounded-bl-[14px] rounded-br-[4px] absolute top-2 left-2 animate-scale-rotate-in animate-duration-{DURATION_OKTA} animate-ease-out animate-delay-{DELAY_OKTA}",
)
def databricks_card():
return integration_card(
"databricks",
class_name=f"rounded-t-[14px] rounded-br-[14px] rounded-bl-[4px] absolute top-[5.25rem] right-[11rem] animate-scale-rotate-in animate-duration-{DURATION_DATABRICKS} animate-ease-out animate-delay-{DELAY_DATABRICKS}",
)
def user_profile():
return rx.el.div(
rx.el.div(
rx.image(
src="/landing/app_build/user.webp",
class_name="object-cover pointer-events-none",
),
class_name="size-10 bg-violet-5 dark:bg-[#E1D9FF] rounded-full border border-violet-7 overflow-hidden",
),
rx.el.span(
"Amelia Wong",
class_name=" | def integration_card_light_dark(icon: str, class_name: str = ""):
return rx.el.div(
rx.image(
src=f"/landing/integrations/light/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 dark:hidden",
),
rx.image(
src=f"/landing/integrations/dark/{icon}.svg",
class_name="size-7 pointer-events-none shrink-0 hidden dark:block",
),
class_name=ui.cn(
"z-100 flex justify-center items-center size-12 bg-white-1/88 dark:bg-black/20 backdrop-blur-[6px] border border-slate-6 dark:border-[#1C2024] shadow-large",
class_name,
),
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.