feat(website): unify page frame, rails, section rhythm, and hairline grids across home and /hub

This commit is contained in:
Mohamed Boudra
2026-11-20 14:53:44 +01:00
parent 2c69f5a5d2
commit fd579a249a
11 changed files with 888 additions and 431 deletions
+16 -6
View File
@@ -2,15 +2,25 @@ import type { ReactNode } from "react";
export function FAQItem({ question, children }: { question: string; children: ReactNode }) {
return (
<details className="group">
<summary className="font-medium text-sm cursor-pointer list-none grid grid-cols-[1.25rem_1fr] items-baseline">
<span className="font-mono text-lg leading-none text-white/40 group-open:hidden">+</span>
<span className="font-mono text-lg leading-none text-white/40 hidden group-open:inline">
<details className="group py-5 first:pt-4 last:pb-4">
<summary className="flex cursor-pointer list-none items-baseline justify-between gap-6 text-[15px] font-medium text-white/90 transition-colors hover:text-white">
<span>{question}</span>
<span
aria-hidden="true"
className="shrink-0 font-mono text-base leading-none text-white/40 transition-colors group-hover:text-white/70 group-open:hidden"
>
+
</span>
<span
aria-hidden="true"
className="hidden shrink-0 font-mono text-base leading-none text-accent-text group-open:inline"
>
−
</span>
{question}
</summary>
<div className="text-sm text-muted-foreground space-y-2 mt-2 pl-5 prose">{children}</div>
<div className="prose mt-3 max-w-2xl space-y-2.5 text-sm leading-relaxed text-muted-foreground">
{children}
</div>
</details>
);
}
+5 -5
View File
@@ -68,12 +68,12 @@ export function HubLandingFlow() {
<FlowArrow />
<div className="rounded-xl border border-white/20 bg-white/[0.06] px-5 py-5 text-center">
<div className="rounded-xl border border-brand-green/50 bg-brand-green/[0.12] px-5 py-5 text-center">
<p className="flex justify-center">
<HubLockup className="h-5 w-auto text-foreground" />
<span className="sr-only">{t("hub.shape.hub")}</span>
</p>
<p className="mt-2 text-xs text-muted-foreground">{t("hub.shape.hubHosting")}</p>
<p className="mt-2 text-xs text-white/70">{t("hub.shape.hubHosting")}</p>
</div>
<FlowArrow />
@@ -124,7 +124,7 @@ function CompactDaemonRow({
export function HubArchitectureDiagram() {
const { t } = useTranslation();
return (
<div className="rounded-2xl border border-white/10 bg-white/[0.02] p-6 md:p-8">
<div className="rounded-xl border border-white/[0.08] bg-white/[0.015] p-6 md:p-8">
<div className="flex flex-col items-center">
<DiagramRow label={t("hub.shape.triggersRow")}>
{HUB_TRIGGER_SOURCES.map(({ id, Icon }) => (
@@ -134,12 +134,12 @@ export function HubArchitectureDiagram() {
<Connector label={t("hub.shape.webhooks")} />
<div className="w-full max-w-xs rounded-xl border border-white/20 bg-white/[0.06] px-6 py-5 text-center">
<div className="w-full max-w-xs rounded-xl border border-brand-green/50 bg-brand-green/[0.12] px-6 py-5 text-center">
<p className="flex justify-center">
<HubLockup className="h-[22px] w-auto text-foreground" />
<span className="sr-only">{t("hub.shape.hub")}</span>
</p>
<p className="mt-1.5 text-xs text-muted-foreground">{t("hub.shape.hubHosting")}</p>
<p className="mt-1.5 text-xs text-white/70">{t("hub.shape.hubHosting")}</p>
</div>
<Connector label={t("hub.shape.sameRpcs")} />
+246 -188
View File
@@ -89,7 +89,14 @@ import {
PiIcon,
} from "~/components/agent-icons";
import { HubLandingFlow } from "~/components/hub-flow";
import { PaseoHubLockup, PaseoHubMark } from "~/components/paseo-brand";
import {
ChapterBand,
ChapterDivider,
HairlineGrid,
PageHeaderBand,
SectionOpener,
} from "~/components/page-frame";
import { PaseoHubLockup, PaseoHubMark, PaseoMark } from "~/components/paseo-brand";
import {
MobileChat,
MobileDiff,
@@ -100,8 +107,7 @@ import {
} from "~/components/mockup";
import { FAQItem } from "~/components/faq-item";
import { SiteFooter } from "~/components/site-footer";
import { SponsorSection, SponsorsSection } from "~/components/sponsorship";
import { SiteHeader } from "~/components/site-header";
import { HomepageSponsorsSection } from "~/components/sponsorship";
import "~/styles.css";
interface LandingPageProps {
@@ -113,60 +119,88 @@ interface LandingPageProps {
export function LandingPage({ title, subtitle, showHubEyebrow = false }: LandingPageProps) {
return (
<CursorFieldProvider>
{/* Hero section with background image */}
<div className="relative bg-cover bg-center bg-no-repeat">
<div className="relative px-6 pt-4 pb-10 md:px-32 md:pt-6 md:pb-12 max-w-7xl mx-auto">
<Nav compact={showHubEyebrow} />
<Hero title={title} subtitle={subtitle} showHubEyebrow={showHubEyebrow} />
<GetStarted />
</div>
<div className="min-h-screen bg-background">
<PageHeaderBand />
{/* Mockup - inside hero so it's above the gradient, positioned to overflow into black section */}
<motion.div
initial={FADE_IN_UP_40}
animate={FADE_IN}
transition={EASE_OUT_08_DELAY_05}
className="relative px-6 md:px-8 pt-4 md:pt-8 pb-8 md:pb-16"
>
<div className="max-w-7xl mx-auto">
<HeroMockup />
</div>
</motion.div>
</div>
<main>
{/* Opening bookend: centered hero, interactive desktop mockup, and phone trio */}
<ChapterBand spacing="none" ruled={false} ticks={false}>
<div className="pt-12 pb-8 md:pt-16 md:pb-10">
<Hero title={title} subtitle={subtitle} showHubEyebrow={showHubEyebrow} />
<GetStarted />
</div>
{/* Phone showcase */}
<PhoneShowcase />
<motion.div
initial={FADE_IN_UP_40}
animate={FADE_IN}
transition={EASE_OUT_08_DELAY_05}
className="relative pt-4 pb-10 md:pt-6 md:pb-14"
>
<div>
<HeroMockup />
</div>
</motion.div>
{/* Content section */}
<div className="landing-content bg-background">
<main className="p-6 md:p-20 md:pt-40 max-w-5xl mx-auto">
<div className="space-y-24">
<PhoneShowcase />
</ChapterBand>
{/* Chapter 1: Community proof */}
<ChapterBand spacing="compact">
<SocialProofWall />
<MultiProviderSection />
<TurnkeySection />
<ExtensibleSection />
<AutomationSection />
</ChapterBand>
{/* Chapter 2: The product (Providers, Deployment, Extensibility, Automation) */}
<ChapterBand spacing="none">
<div className="py-16 md:py-20">
<MultiProviderSection />
</div>
<ChapterDivider />
<div className="py-16 md:py-20">
<TurnkeySection />
</div>
<ChapterDivider />
<div className="py-16 md:py-20">
<ExtensibleSection />
</div>
<ChapterDivider />
<div className="py-16 md:py-20">
<AutomationSection />
</div>
</ChapterBand>
{/* Chapter 3: Paseo Hub */}
<ChapterBand spacing="chapter" tint="subtle">
<HubSection />
<SponsorsSection placement="page" />
<SponsorSection />
<PhilosophySection />
</ChapterBand>
{/* Chapter 4: Open source philosophy and consolidated sponsorship */}
<ChapterBand spacing="none">
<div className="py-16 md:py-20">
<PhilosophySection />
</div>
<ChapterDivider />
<div className="py-16 md:py-20">
<HomepageSponsorsSection />
</div>
</ChapterBand>
{/* Chapter 5: FAQ */}
<ChapterBand spacing="section">
<FAQ />
</div>
</ChapterBand>
{/* Closing bookend: centered download CTA */}
<ChapterBand spacing="chapter" tint="subtle">
<ClosingCtaSection />
</ChapterBand>
</main>
<SiteFooter sponsors={false} />
<SiteFooter width="default" sponsors={false} />
</div>
</CursorFieldProvider>
);
}
function Nav({ compact = false }: { compact?: boolean }) {
return (
<nav className={compact ? "mb-12 md:mb-16" : "mb-20 md:mb-24"}>
<SiteHeader />
</nav>
);
}
function Hero({
title,
subtitle,
@@ -179,8 +213,10 @@ function Hero({
return (
<div className="space-y-6 text-center">
{showHubEyebrow ? <HubHeroEyebrow /> : null}
<h1 className="text-4xl md:text-6xl font-medium tracking-tight leading-[0.95]">{title}</h1>
<p className="text-base leading-relaxed text-white/70 md:text-lg max-w-lg mx-auto">
<h1 className="text-4xl font-medium tracking-[-0.03em] leading-[0.98] md:text-6xl">
{title}
</h1>
<p className="mx-auto max-w-lg text-base leading-relaxed text-white/70 md:text-lg">
{subtitle}
</p>
</div>
@@ -334,12 +370,14 @@ function AgentBadge({ name, Icon }: (typeof FEATURED_AGENTS)[number]) {
}
function FeatureSection({
eyebrow,
title,
description,
badge,
links,
children,
}: {
eyebrow?: string;
title: string;
description: string;
badge?: string;
@@ -353,54 +391,18 @@ function FeatureSection({
viewport={VIEWPORT_60}
transition={EASE_OUT_05}
>
<SectionTitle title={title} description={description} badge={badge} links={links} />
<SectionOpener
eyebrow={eyebrow}
title={title}
description={description}
badge={badge}
links={links}
/>
{children}
</motion.section>
);
}
function SectionTitle({
title,
description,
badge,
links,
}: {
title: string;
description: string;
badge?: string;
links?: ReadonlyArray<{ href: string; label: string }>;
}) {
return (
<div className="mb-12 space-y-2">
<div className="flex items-center gap-3">
<h2 className="text-3xl font-medium">{title}</h2>
{badge && (
<span className="rounded-full bg-emerald-400/10 px-2 py-1 text-xs text-emerald-300">
{badge}
</span>
)}
</div>
<p className="text-base text-pretty text-muted-foreground max-w-lg">{description}</p>
{links ? (
<div className="flex flex-wrap gap-x-4 gap-y-1 pt-1 text-xs">
{links.map((link) => (
<a
key={link.href}
href={link.href}
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1 text-extra-muted-foreground transition-colors hover:text-muted-foreground"
>
{link.label}
<ExternalLink className="h-3 w-3" />
</a>
))}
</div>
) : null}
</div>
);
}
function SocialProofWall() {
const { t } = useTranslation();
return (
@@ -410,7 +412,8 @@ function SocialProofWall() {
viewport={VIEWPORT_60}
transition={EASE_OUT_05}
>
<SectionTitle
<SectionOpener
eyebrow={t("landing.eyebrows.community")}
title={t("landing.socialProof.title")}
description={t("landing.socialProof.description")}
/>
@@ -457,7 +460,7 @@ function SocialProofCard({ tweet, inert }: { tweet: SocialProofTweet; inert?: bo
target="_blank"
rel="noreferrer"
tabIndex={inert ? -1 : undefined}
className="group flex h-[154px] w-[320px] shrink-0 flex-col justify-between overflow-hidden rounded-2xl border border-white/10 bg-white/[0.03] p-4 transition-colors hover:border-white/20 hover:bg-white/[0.05] md:w-[420px]"
className="group flex h-[154px] w-[300px] shrink-0 flex-col justify-between overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.02] p-4 transition-colors hover:border-white/20 hover:bg-white/[0.04] md:w-[380px]"
aria-label={t("landing.socialProof.readPost", { name: tweet.name })}
>
<div>
@@ -486,30 +489,34 @@ function MultiProviderSection() {
const localize = useLocalizePath();
return (
<FeatureSection
eyebrow={t("landing.eyebrows.providers")}
title={t("landing.providers.title")}
description={t("landing.providers.description")}
>
<div className="grid grid-cols-2 gap-2 sm:grid-cols-3 sm:gap-4">
<HairlineGrid columns="2-3">
{FEATURED_AGENTS.map((agent) => (
<div
key={agent.name}
className="flex items-center justify-center gap-2 rounded-xl border border-white/10 bg-white/[0.03] px-3 py-3 sm:gap-3 sm:px-5 sm:py-4"
className="flex items-center gap-3 bg-background px-5 py-4 transition-colors hover:bg-white/[0.025] sm:px-6 sm:py-5"
>
<span className="shrink-0 text-white/80">
<agent.Icon className="h-5 w-5 sm:h-7 sm:w-7" />
<agent.Icon className="h-5 w-5 sm:h-6 sm:w-6" />
</span>
<span className="truncate text-sm font-medium text-white/90 sm:text-base">
{agent.name}
</span>
<span className="truncate text-sm font-medium sm:text-base">{agent.name}</span>
</div>
))}
<a
href={localize("/agents")}
className="flex items-center justify-center gap-2 rounded-xl border border-dashed border-white/10 bg-white/[0.01] px-3 py-3 text-white/50 hover:text-white/80 hover:border-white/20 hover:bg-white/[0.03] transition-colors sm:gap-3 sm:px-5 sm:py-4"
className="flex items-center justify-between gap-2 bg-background px-5 py-4 text-white/55 transition-colors hover:bg-white/[0.025] hover:text-accent-text sm:px-6 sm:py-5"
>
<span className="text-sm font-medium sm:text-base">
{t("common.more", { count: ADDITIONAL_AGENT_COUNT })}
</span>
<ArrowRight className="h-4 w-4 shrink-0" aria-hidden="true" />
</a>
</div>
</HairlineGrid>
</FeatureSection>
);
}
@@ -519,16 +526,19 @@ function TurnkeySection() {
const localize = useLocalizePath();
return (
<FeatureSection
eyebrow={t("landing.eyebrows.deployment")}
title={t("landing.runAnywhere.title")}
description={t("landing.runAnywhere.description")}
>
<div className="space-y-8">
<ProductLead
icon={Monitor}
title={t("landing.runAnywhere.desktopTitle")}
description={t("landing.runAnywhere.desktopDescription")}
/>
<div className="grid gap-4 md:grid-cols-3">
<div className="overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.08]">
<div className="bg-background p-6 md:p-7">
<ProductLead
icon={Monitor}
title={t("landing.runAnywhere.desktopTitle")}
description={t("landing.runAnywhere.desktopDescription")}
/>
</div>
<div className="grid gap-px border-t border-white/[0.08] md:grid-cols-3">
<TurnkeyExtensionCard
icon={Smartphone}
title={t("landing.runAnywhere.mobileTitle")}
@@ -575,22 +585,20 @@ function TurnkeyExtensionCard({
ctaIcon?: React.ReactNode;
}) {
return (
<FeatureCard icon={Icon} title={title} description={description}>
<div className="flex items-center justify-between">
<a
href={ctaHref}
className="inline-flex items-center gap-1.5 rounded-full bg-foreground px-2.5 py-1.5 text-xs text-background transition-colors hover:bg-foreground/90"
>
{ctaIcon}
{ctaLabel}
<ArrowRight className="h-3.5 w-3.5" />
</a>
</div>
</FeatureCard>
<FeatureCell icon={Icon} title={title} description={description}>
<a
href={ctaHref}
className="inline-flex items-center gap-1.5 rounded-full bg-foreground px-3 py-1.5 text-xs font-medium text-background transition-colors hover:bg-foreground/90"
>
{ctaIcon}
{ctaLabel}
<ArrowRight className="h-3.5 w-3.5" />
</a>
</FeatureCell>
);
}
/** The lead product of a section: an icon tile and title on the page background. */
/** The lead product of a section: an icon tile and title. */
function ProductLead({
icon: Icon,
title,
@@ -605,13 +613,13 @@ function ProductLead({
return (
<div className="flex flex-col gap-6 sm:flex-row sm:items-center sm:justify-between">
<div className="flex items-center gap-4">
<div className="rounded-xl border border-white/10 bg-white/[0.06] p-3 text-muted-foreground">
<Icon className="h-6 w-6" strokeWidth={1.5} />
<div className="rounded-lg border border-white/[0.08] bg-white/[0.04] p-3 text-accent-text">
<Icon className="h-5 w-5" strokeWidth={1.5} />
</div>
<div className="space-y-0.5">
<h3 className="text-xl font-medium text-white/90">{title}</h3>
<h3 className="text-lg font-medium text-white/95">{title}</h3>
{description ? (
<p className="text-sm leading-relaxed text-white/50">{description}</p>
<p className="text-sm leading-relaxed text-white/55">{description}</p>
) : null}
</div>
</div>
@@ -620,8 +628,8 @@ function ProductLead({
);
}
/** A small card: icon and title on one line, the blurb below, an optional action last. */
function FeatureCard({
/** A hairline grid cell: icon and title on one line, the blurb below, an optional action last. */
function FeatureCell({
icon: Icon,
title,
description,
@@ -633,12 +641,12 @@ function FeatureCard({
children?: React.ReactNode;
}) {
return (
<div className="flex flex-col rounded-xl border border-white/10 bg-white/[0.025] p-5">
<div className="flex items-center gap-3">
<Icon className="h-5 w-5 shrink-0 text-extra-muted-foreground" strokeWidth={1.5} />
<h3 className="font-medium text-white/85">{title}</h3>
<div className="flex flex-col bg-background p-6">
<div className="flex items-center gap-2.5">
<Icon className="h-4 w-4 shrink-0 text-accent-text" strokeWidth={1.5} />
<h3 className="text-sm font-medium text-white/90">{title}</h3>
</div>
<p className="mt-3 text-sm leading-relaxed text-white/45">{description}</p>
<p className="mt-2.5 text-sm leading-relaxed text-white/55">{description}</p>
{children ? <div className="mt-auto pt-5">{children}</div> : null}
</div>
);
@@ -671,12 +679,16 @@ function AutomationSection() {
return (
<FeatureSection
eyebrow={t("landing.eyebrows.automation")}
title={t("landing.automation.title")}
description={t("landing.automation.description")}
links={links}
>
<div className="grid gap-4 md:grid-cols-[14rem_minmax(0,1fr)]">
<div className="grid self-start gap-2" role="tablist">
<div className="grid gap-px overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.08] md:grid-cols-[15rem_minmax(0,1fr)]">
<div
className="grid grid-cols-3 gap-px bg-white/[0.08] md:grid-cols-1 md:content-start md:bg-background"
role="tablist"
>
{AUTOMATION_OPTIONS.map((option) => (
<AutomationSelector
key={option.kind}
@@ -711,17 +723,22 @@ function AutomationSelector({
role="tab"
aria-selected={active}
onClick={handleClick}
className={`flex items-center gap-3 rounded-xl border p-3 text-left transition-colors md:block md:p-4 ${
className={`cursor-pointer border-b-2 p-3.5 text-left transition-colors md:border-b md:border-b-white/[0.07] md:border-l-2 md:p-5 ${
active
? "border-white/20 bg-white/[0.07]"
: "border-white/10 bg-white/[0.025] hover:border-white/15 hover:bg-white/[0.04]"
? "border-b-brand-green bg-white/[0.045] md:border-l-brand-green"
: "border-b-transparent bg-background hover:bg-white/[0.025] md:border-l-transparent"
}`}
>
<div className="flex shrink-0 items-center gap-2 text-muted-foreground md:mb-1">
<Icon className="h-3 w-3" strokeWidth={1.5} />
<span className="text-[10px]">{option.label}</span>
<div className="flex shrink-0 items-center gap-2 font-mono md:mb-1.5">
<Icon
className={`h-3.5 w-3.5 ${active ? "text-accent-text" : "text-muted-foreground"}`}
strokeWidth={1.5}
/>
<span className={`text-[11px] ${active ? "text-accent-text" : "text-muted-foreground"}`}>
{option.label}
</span>
</div>
<p className="text-xs leading-snug text-white/85 md:text-sm">
<p className="mt-1 text-xs leading-snug text-white/85 md:mt-0 md:text-sm">
{t(`landing.automation.${option.kind}Caption`)}
</p>
</button>
@@ -732,7 +749,7 @@ function AutomationDetail({ kind }: { kind: AutomationKind }) {
return (
<div
role="tabpanel"
className="min-h-80 min-w-0 overflow-hidden rounded-xl border border-white/10 bg-black/20 p-5 md:h-[26rem] md:p-6"
className="min-h-80 min-w-0 overflow-hidden bg-[#0c1110] p-5 md:h-[26rem] md:p-6"
>
{kind === "mcp" ? <McpAutomationTranscript /> : null}
{kind === "cli" ? <CliAutomationExample /> : null}
@@ -892,12 +909,15 @@ function HubSection() {
transition={EASE_OUT_05}
aria-labelledby="hub-section-heading"
>
<div className="mb-12 space-y-2.5">
<div className="mb-10 space-y-3 md:mb-12">
<p className="font-mono text-[11px] font-medium uppercase tracking-[0.14em] text-accent-text">
{t("landing.eyebrows.hub")}
</p>
<h2 id="hub-section-heading">
<PaseoHubLockup className="h-7 w-auto text-foreground md:h-8" />
<PaseoHubLockup className="h-9 w-auto text-foreground md:h-11" />
<span className="sr-only">{t("hub.title")}</span>
</h2>
<p className="max-w-lg text-base text-pretty text-muted-foreground">
<p className="max-w-xl text-base text-pretty text-muted-foreground">
{t("landing.hubSection.description")}
</p>
</div>
@@ -924,32 +944,35 @@ function ExtensibleSection() {
const pluginActions = React.useMemo(() => <PluginActions />, []);
return (
<FeatureSection
eyebrow={t("landing.eyebrows.extensibility")}
title={t("landing.plugins.title")}
description={t("landing.plugins.description")}
>
<div className="space-y-12">
<div className="space-y-6">
<SelfModifyDemo />
<div className="space-y-6">
<ProductLead
icon={Puzzle}
title={t("landing.plugins.libraryTitle")}
description={t("landing.plugins.libraryDescription")}
actions={pluginActions}
/>
<PluginCategoryLinks />
</div>
<div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between">
<p className="text-sm text-white/45">{t("landing.plugins.license")}</p>
<a
href="https://github.com/getpaseo/paseo"
target="_blank"
rel="noopener noreferrer"
className="inline-flex shrink-0 items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-foreground"
>
<GitFork className="h-4 w-4" strokeWidth={1.5} />
{t("landing.plugins.fork")}
<ExternalLink className="h-3.5 w-3.5 opacity-70" />
</a>
<div className="overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.08]">
<div className="space-y-5 bg-background p-6">
<ProductLead
icon={Puzzle}
title={t("landing.plugins.libraryTitle")}
description={t("landing.plugins.libraryDescription")}
actions={pluginActions}
/>
<PluginCategoryLinks />
</div>
<div className="flex flex-col gap-3 border-t border-white/[0.08] bg-background px-6 py-4 sm:flex-row sm:items-center sm:justify-between">
<p className="text-sm text-white/50">{t("landing.plugins.license")}</p>
<a
href="https://github.com/getpaseo/paseo"
target="_blank"
rel="noopener noreferrer"
className="inline-flex shrink-0 items-center gap-2 text-sm text-muted-foreground transition-colors hover:text-accent-text"
>
<GitFork className="h-4 w-4" strokeWidth={1.5} />
{t("landing.plugins.fork")}
<ExternalLink className="h-3.5 w-3.5 opacity-70" />
</a>
</div>
</div>
</div>
</FeatureSection>
@@ -1015,7 +1038,7 @@ function SelfModifyDemo() {
initial={reduceMotion ? "shown" : "hidden"}
whileInView="shown"
viewport={VIEWPORT_60}
className="grid min-h-[22rem] grid-cols-[minmax(0,1fr)] overflow-hidden rounded-xl border border-white/10 bg-black/20 md:grid-cols-[minmax(0,1fr)_17rem]"
className="grid min-h-[22rem] grid-cols-[minmax(0,1fr)] overflow-hidden rounded-xl border border-white/[0.08] bg-[#0c1110] md:grid-cols-[minmax(0,1fr)_17rem]"
>
<div className="space-y-5 p-5 md:p-6">
<DemoItem step={DEMO_STEPS.prompt}>
@@ -1146,43 +1169,50 @@ function PhilosophySection() {
const { t } = useTranslation();
return (
<FeatureSection
eyebrow={t("landing.eyebrows.openSource")}
title={t("landing.philosophy.title")}
description={t("landing.philosophy.description")}
>
<div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
<HairlineGrid columns="3">
{PRINCIPLES.map((principle) => (
<FeatureCard
<FeatureCell
key={principle.key}
icon={principle.icon}
title={t(`landing.philosophy.${principle.key}Title`)}
description={t(`landing.philosophy.${principle.key}Description`)}
/>
))}
</div>
</HairlineGrid>
</FeatureSection>
);
}
function DownloadActions() {
const platform = useVisitorPlatform();
return (
<div className="mx-auto flex flex-col items-center gap-3 sm:flex-row sm:justify-center">
{isMobilePlatform(platform) ? (
<StoreButton platform={platform} />
) : (
<DesktopDownloadButton platform={platform} />
)}
<div className="flex items-center justify-center gap-3">
{isMobilePlatform(platform) ? <DesktopAppLink /> : <StoreIconLinks />}
<ServerInstallButton />
</div>
</div>
);
}
function GetStarted() {
const { t } = useTranslation();
const localize = useLocalizePath();
const platform = useVisitorPlatform();
return (
<div className="pt-10">
<div className="pt-8">
{/* The primary call to action owns its own row on phones so the small icon
buttons never wrap and orphan one of themselves onto a line alone. It
still hugs its label rather than stretching across the row. */}
<div className="mx-auto flex flex-col items-center gap-3 sm:flex-row sm:justify-center">
{isMobilePlatform(platform) ? (
<StoreButton platform={platform} />
) : (
<DesktopDownloadButton platform={platform} />
)}
<div className="flex items-center justify-center gap-3">
{isMobilePlatform(platform) ? <DesktopAppLink /> : <StoreIconLinks />}
<ServerInstallButton />
</div>
</div>
<DownloadActions />
<div className="flex flex-wrap items-center justify-center gap-x-2 gap-y-1 pt-6">
<span className="text-xs text-muted-foreground">{t("landing.getStarted.supports")}</span>
<div className="flex items-center gap-1">
@@ -1192,7 +1222,7 @@ function GetStarted() {
</div>
<a
href={localize("/agents")}
className="whitespace-nowrap text-xs text-muted-foreground hover:text-foreground transition-colors"
className="whitespace-nowrap text-xs text-muted-foreground transition-colors hover:text-foreground"
>
{t("common.more", { count: ADDITIONAL_AGENT_COUNT })}
</a>
@@ -1201,6 +1231,28 @@ function GetStarted() {
);
}
function ClosingCtaSection() {
const { t } = useTranslation();
return (
<section aria-labelledby="closing-cta-heading" className="text-center">
<div className="mb-6 flex justify-center">
<span className="inline-flex h-12 w-12 items-center justify-center rounded-xl border border-brand-green/40 bg-brand-green/15 text-accent-text">
<PaseoMark className="h-6 w-6" />
</span>
</div>
<SectionOpener
align="center"
eyebrow={t("landing.closingCta.eyebrow")}
headingId="closing-cta-heading"
title={t("landing.closingCta.title")}
description={t("landing.closingCta.description")}
className="mb-8"
/>
<DownloadActions />
</section>
);
}
const PRIMARY_CTA_CLASS =
"inline-flex items-center justify-center gap-2 rounded-lg bg-foreground px-4 py-2.5 text-sm font-medium text-background hover:bg-foreground/90 transition-colors";
const SECONDARY_CTA_CLASS =
@@ -1344,7 +1396,7 @@ function PhoneShowcase() {
const textAnimate = React.useMemo(() => (textInView ? FADE_IN : {}), [textInView]);
return (
<div ref={containerRef} className="flex flex-col items-center pt-4 pb-16 gap-20">
<div ref={containerRef} className="flex flex-col items-center gap-14 pt-2 pb-12 md:pb-16">
{/* Arrow + text */}
<motion.div
initial={FADE_IN_UP_TINY}
@@ -1456,21 +1508,27 @@ function FAQ() {
[localize],
);
return (
<motion.div
<motion.section
initial={FADE_IN_UP}
whileInView={FADE_IN}
viewport={VIEWPORT_60}
transition={EASE_OUT_05}
className="space-y-6"
aria-labelledby="home-faq-heading"
className="grid items-start gap-10 lg:grid-cols-[minmax(0,17rem)_minmax(0,1fr)] lg:gap-16"
>
<h2 className="text-3xl font-medium">{t("landing.faq.title")}</h2>
<div className="space-y-6">
<SectionOpener
eyebrow={t("landing.eyebrows.faq")}
headingId="home-faq-heading"
title={t("landing.faq.title")}
className="mb-0 self-start"
/>
<div className="divide-y divide-white/[0.08] border-y border-white/[0.08]">
{FAQ_ENTRIES.map((entry) => (
<FAQItem key={entry} question={t(`landing.faq.${entry}Question`)}>
<Trans i18nKey={`landing.faq.${entry}Answer`} components={links} />
</FAQItem>
))}
</div>
</motion.div>
</motion.section>
);
}
@@ -0,0 +1,215 @@
import { ExternalLink } from "lucide-react";
import type * as React from "react";
import { SiteHeader } from "~/components/site-header";
/** Shared outer rail width and vertical hairlines across marketing pages. */
export const PAGE_RAIL_CLASS = "mx-auto w-full max-w-[1160px] md:border-x md:border-white/[0.07]";
/** Shared inner horizontal padding so every page element shares one left/right rail. */
export const PAGE_INSET_CLASS = "px-5 sm:px-8 md:px-14";
/** Full-width header band locking logo and navigation to the same (x, y) across pages. */
export function PageHeaderBand() {
return (
<div className="border-b border-white/[0.07]">
<div className={`${PAGE_RAIL_CLASS} ${PAGE_INSET_CLASS} py-4 md:py-5`}>
<SiteHeader />
</div>
</div>
);
}
const BAND_PADDING = {
chapter: "py-16 md:py-24",
section: "py-14 md:py-20",
compact: "py-12 md:py-16",
hero: "pt-12 pb-14 md:pt-16 md:pb-20",
none: "",
} as const;
/**
* A full-width architectural band separated by a 1px horizontal hairline with quiet crosshair
* ticks where the horizontal rule meets the vertical frame rails.
*/
export function ChapterBand({
children,
spacing = "chapter",
ruled = true,
ticks = true,
tint = "none",
className = "",
id,
}: {
children: React.ReactNode;
spacing?: keyof typeof BAND_PADDING;
ruled?: boolean;
ticks?: boolean;
tint?: "none" | "subtle";
className?: string;
id?: string;
}) {
return (
<div
id={id}
className={`${ruled ? "border-t border-white/[0.07]" : ""} ${
tint === "subtle" ? "bg-white/[0.014]" : ""
} ${className}`}
>
<div className={`relative ${PAGE_RAIL_CLASS} ${PAGE_INSET_CLASS} ${BAND_PADDING[spacing]}`}>
{ruled && ticks ? <RailIntersectionTicks /> : null}
{children}
</div>
</div>
);
}
/** Quiet 9px hairlines centered on the left and right vertical rail intersections. */
function RailIntersectionTicks() {
return (
<>
<span
aria-hidden="true"
className="pointer-events-none absolute -top-[4.5px] -left-[4.5px] hidden h-[9px] w-[9px] md:block"
>
<span className="absolute top-1/2 left-0 h-px w-full -translate-y-1/2 bg-white/25" />
<span className="absolute top-0 left-1/2 h-full w-px -translate-x-1/2 bg-white/25" />
</span>
<span
aria-hidden="true"
className="pointer-events-none absolute -top-[4.5px] -right-[4.5px] hidden h-[9px] w-[9px] md:block"
>
<span className="absolute top-1/2 left-0 h-px w-full -translate-y-1/2 bg-white/25" />
<span className="absolute top-0 left-1/2 h-full w-px -translate-x-1/2 bg-white/25" />
</span>
</>
);
}
/** Internal sub-section divider inside a multi-part chapter, staying inside the frame rails. */
export function ChapterDivider({ className = "" }: { className?: string }) {
return (
<div
aria-hidden="true"
className={`-mx-5 border-t border-white/[0.07] sm:-mx-8 md:-mx-14 ${className}`}
/>
);
}
/**
* Unified section opener used across `/` and `/hub`:
* mono uppercase green eyebrow -> commanding 44px H2 -> concise lede + optional external links.
*/
export function SectionOpener({
eyebrow,
title,
mutedLead,
description,
headingId,
badge,
links,
actions,
align = "left",
className = "mb-10 md:mb-12",
}: {
eyebrow?: string;
title: React.ReactNode;
mutedLead?: string;
description?: React.ReactNode;
headingId?: string;
badge?: string;
links?: ReadonlyArray<{ href: string; label: string }>;
actions?: React.ReactNode;
align?: "left" | "center";
className?: string;
}) {
const centered = align === "center";
return (
<div
className={`${className} ${
centered
? "mx-auto max-w-2xl text-center"
: "flex flex-col gap-5 md:flex-row md:items-end md:justify-between"
}`}
>
<div className={`space-y-3 ${centered ? "" : "max-w-2xl"}`}>
{eyebrow ? (
<p className="font-mono text-[11px] font-medium uppercase tracking-[0.14em] text-accent-text">
{eyebrow}
</p>
) : null}
<div className={`flex flex-wrap items-center gap-3 ${centered ? "justify-center" : ""}`}>
<h2
id={headingId}
className="text-3xl font-medium tracking-[-0.03em] leading-[1.08] text-foreground sm:text-4xl md:text-[42px]"
>
{mutedLead ? (
<>
<span className="text-white/45">{mutedLead}</span>{" "}
</>
) : null}
{title}
</h2>
{badge ? (
<span className="rounded-full border border-brand-green/40 bg-brand-green/20 px-2.5 py-0.5 text-xs text-accent-text">
{badge}
</span>
) : null}
</div>
{description ? (
<p
className={`text-base leading-relaxed text-pretty text-muted-foreground ${
centered ? "mx-auto max-w-lg" : "max-w-xl"
}`}
>
{description}
</p>
) : null}
{links && links.length > 0 ? (
<div className="flex flex-wrap gap-x-5 gap-y-1.5 pt-1 text-xs">
{links.map((link) => (
<a
key={link.href}
href={link.href}
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-1 font-mono text-white/55 transition-colors hover:text-accent-text"
>
{link.label}
<ExternalLink className="h-3 w-3" />
</a>
))}
</div>
) : null}
</div>
{actions ? <div className="flex shrink-0 flex-wrap items-center gap-3">{actions}</div> : null}
</div>
);
}
const GRID_COLUMNS = {
"2": "grid-cols-1 lg:grid-cols-2",
"3": "grid-cols-1 md:grid-cols-3",
"2-3": "grid-cols-2 sm:grid-cols-3",
} as const;
/**
* Hairline-divided shared-border cell grid. Uses 1px background gap so interior hairlines never
* double up across responsive column counts.
*/
export function HairlineGrid({
children,
columns = "3",
className = "",
}: {
children: React.ReactNode;
columns?: keyof typeof GRID_COLUMNS;
className?: string;
}) {
return (
<div
className={`grid gap-px overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.08] ${GRID_COLUMNS[columns]} ${className}`}
>
{children}
</div>
);
}
+87 -63
View File
@@ -1,9 +1,10 @@
import { useTranslation } from "react-i18next";
import { PLUGINS_LINKED } from "~/plugins/launch";
import { PAGE_INSET_CLASS, PAGE_RAIL_CLASS } from "~/components/page-frame";
import { SponsorsSection } from "~/components/sponsorship";
import { getAlternativePages } from "~/data/alternative-pages";
import { appStoreUrl, playStoreUrl, webAppUrl } from "~/downloads";
import { SponsorsSection } from "~/components/sponsorship";
import { useLocale, useLocalizePath } from "~/i18n";
import { PLUGINS_LINKED } from "~/plugins/launch";
interface SiteFooterProps {
width?: "default" | "prose" | "wide";
@@ -11,13 +12,17 @@ interface SiteFooterProps {
sponsors?: boolean;
}
const WIDTH_CLASSES: Record<NonNullable<SiteFooterProps["width"]>, string> = {
const NON_DEFAULT_WIDTH_CLASSES: Record<
Exclude<NonNullable<SiteFooterProps["width"]>, "default">,
string
> = {
prose: "max-w-prose p-6 md:p-12 md:pt-0",
default: "max-w-5xl p-6 md:p-20 md:pt-0",
wide: "max-w-7xl p-6 md:p-20 md:pt-0",
};
const LINK_CLASS = "block text-muted-foreground hover:text-foreground transition-colors";
const LINK_CLASS = "block text-muted-foreground transition-colors hover:text-foreground";
const COLUMN_HEADING_CLASS =
"font-mono text-[11px] uppercase tracking-[0.12em] text-extra-muted-foreground";
function ExternalLink({ href, children }: { href: string; children: React.ReactNode }) {
return (
@@ -31,72 +36,91 @@ export function SiteFooter({ width = "default", sponsors = true }: SiteFooterPro
const { t } = useTranslation();
const locale = useLocale();
const localize = useLocalizePath();
const widthClasses = WIDTH_CLASSES[width];
const alternatives = getAlternativePages(locale);
const page = (path: string, label: string) => (
<a href={localize(path)} className={LINK_CLASS}>
{label}
</a>
);
return (
<footer className={`${widthClasses} mx-auto mt-12 md:mt-16`}>
{sponsors ? <SponsorsSection placement="footer" /> : null}
<div className="border-t border-white/10 pt-8 pb-4 grid grid-cols-2 sm:grid-cols-5 gap-8 text-sm">
<div className="space-y-3">
<p className="text-extra-muted-foreground">{t("footer.product")}</p>
<div className="space-y-2">
{page("/blog", t("footer.blog"))}
{page("/docs", t("footer.docs"))}
{PLUGINS_LINKED && page("/plugins", t("footer.plugins"))}
{page("/changelog", t("footer.changelog"))}
{page("/hub", t("footer.hub"))}
{page("/docs/cli", t("footer.cli"))}
{page("/privacy", t("footer.privacy"))}
{page("/terms", t("footer.terms"))}
{page("/sponsor", t("footer.sponsor"))}
</div>
</div>
<div className="space-y-3">
<p className="text-extra-muted-foreground">{t("footer.agents")}</p>
<div className="space-y-2">
{page("/claude-code", "Claude Code")}
{page("/codex", "Codex")}
{page("/opencode", "OpenCode")}
{page("/antigravity", "Antigravity")}
{page("/muse-code", "Muse Code")}
{page("/agents", t("footer.allProviders"))}
</div>
</div>
<div className="space-y-3">
<p className="text-extra-muted-foreground">{t("footer.alternatives")}</p>
<div className="space-y-2">
{alternatives.map((alternative) => (
<a key={alternative.slug} href={localize(alternative.href)} className={LINK_CLASS}>
{alternative.name}
</a>
))}
</div>
</div>
<div className="space-y-3">
<p className="text-extra-muted-foreground">{t("footer.community")}</p>
<div className="space-y-2">
<ExternalLink href="https://discord.gg/jz8T2uahpH">Discord</ExternalLink>
<ExternalLink href="https://www.reddit.com/r/PaseoAI/">Reddit</ExternalLink>
<ExternalLink href="https://github.com/getpaseo/paseo">GitHub</ExternalLink>
</div>
</div>
<div className="space-y-3">
<p className="text-extra-muted-foreground">{t("footer.download")}</p>
<div className="space-y-2">
<ExternalLink href={appStoreUrl}>App Store</ExternalLink>
<ExternalLink href={playStoreUrl}>Google Play</ExternalLink>
<ExternalLink href="https://github.com/getpaseo/paseo/releases">
{t("footer.desktop")}
</ExternalLink>
<ExternalLink href={webAppUrl}>{t("footer.webApp")}</ExternalLink>
</div>
const columns = (
<div className="grid grid-cols-2 gap-8 text-sm sm:grid-cols-5">
<div className="space-y-3">
<p className={COLUMN_HEADING_CLASS}>{t("footer.product")}</p>
<div className="space-y-2">
{page("/blog", t("footer.blog"))}
{page("/docs", t("footer.docs"))}
{PLUGINS_LINKED && page("/plugins", t("footer.plugins"))}
{page("/changelog", t("footer.changelog"))}
{page("/hub", t("footer.hub"))}
{page("/docs/cli", t("footer.cli"))}
{page("/privacy", t("footer.privacy"))}
{page("/terms", t("footer.terms"))}
{page("/sponsor", t("footer.sponsor"))}
</div>
</div>
<div className="space-y-3">
<p className={COLUMN_HEADING_CLASS}>{t("footer.agents")}</p>
<div className="space-y-2">
{page("/claude-code", "Claude Code")}
{page("/codex", "Codex")}
{page("/opencode", "OpenCode")}
{page("/antigravity", "Antigravity")}
{page("/muse-code", "Muse Code")}
{page("/agents", t("footer.allProviders"))}
</div>
</div>
<div className="space-y-3">
<p className={COLUMN_HEADING_CLASS}>{t("footer.alternatives")}</p>
<div className="space-y-2">
{alternatives.map((alternative) => (
<a key={alternative.slug} href={localize(alternative.href)} className={LINK_CLASS}>
{alternative.name}
</a>
))}
</div>
</div>
<div className="space-y-3">
<p className={COLUMN_HEADING_CLASS}>{t("footer.community")}</p>
<div className="space-y-2">
<ExternalLink href="https://discord.gg/jz8T2uahpH">Discord</ExternalLink>
<ExternalLink href="https://www.reddit.com/r/PaseoAI/">Reddit</ExternalLink>
<ExternalLink href="https://github.com/getpaseo/paseo">GitHub</ExternalLink>
</div>
</div>
<div className="space-y-3">
<p className={COLUMN_HEADING_CLASS}>{t("footer.download")}</p>
<div className="space-y-2">
<ExternalLink href={appStoreUrl}>App Store</ExternalLink>
<ExternalLink href={playStoreUrl}>Google Play</ExternalLink>
<ExternalLink href="https://github.com/getpaseo/paseo/releases">
{t("footer.desktop")}
</ExternalLink>
<ExternalLink href={webAppUrl}>{t("footer.webApp")}</ExternalLink>
</div>
</div>
</div>
);
if (width === "default") {
return (
<footer className="border-t border-white/[0.07]">
{sponsors ? (
<div className="border-b border-white/[0.07]">
<div className={`${PAGE_RAIL_CLASS} ${PAGE_INSET_CLASS}`}>
<SponsorsSection placement="footer" />
</div>
</div>
) : null}
<div className={`${PAGE_RAIL_CLASS} ${PAGE_INSET_CLASS} py-12 md:py-14`}>{columns}</div>
</footer>
);
}
return (
<footer className={`${NON_DEFAULT_WIDTH_CLASSES[width]} mx-auto mt-12 md:mt-16`}>
{sponsors ? <SponsorsSection placement="footer" /> : null}
<div className="border-t border-white/10 pt-8 pb-4">{columns}</div>
</footer>
);
}
+14 -5
View File
@@ -1,4 +1,5 @@
import type { ReactNode } from "react";
import { PAGE_INSET_CLASS, PAGE_RAIL_CLASS, PageHeaderBand } from "~/components/page-frame";
import { SiteFooter } from "~/components/site-footer";
import { SiteHeader } from "~/components/site-header";
@@ -7,18 +8,26 @@ interface SiteShellProps {
width: "default" | "prose" | "wide";
}
const MAIN_CLASSES: Record<SiteShellProps["width"], string> = {
const MAIN_CLASSES: Record<Exclude<SiteShellProps["width"], "default">, string> = {
prose: "max-w-prose p-6 md:p-12 mx-auto",
default: "max-w-5xl p-6 md:p-20 mx-auto",
wide: "max-w-7xl p-6 md:p-20 mx-auto",
};
export function SiteShell({ children, width }: SiteShellProps) {
const mainClasses = MAIN_CLASSES[width];
if (width === "default") {
return (
<div className="min-h-screen bg-background">
<PageHeaderBand />
<main className={`${PAGE_RAIL_CLASS} ${PAGE_INSET_CLASS} py-14 md:py-20`}>{children}</main>
<SiteFooter width="default" />
</div>
);
}
return (
<div className="min-h-screen bg-background">
<main className={mainClasses}>
<div className="mb-20">
<main className={MAIN_CLASSES[width]}>
<div className="mb-16">
<SiteHeader />
</div>
{children}
+96 -28
View File
@@ -1,8 +1,8 @@
import { ArrowRight, Check, ExternalLink, Heart } from "lucide-react";
import * as React from "react";
import { Trans, useTranslation } from "react-i18next";
import { useLocalizePath } from "~/i18n";
import { BuyMeACoffeeIcon, GitHubIcon, OpenCollectiveIcon } from "~/components/brand-icons";
import { HairlineGrid, SectionOpener } from "~/components/page-frame";
import {
BUY_ME_A_COFFEE_URL,
GITHUB_SPONSORS_URL,
@@ -14,6 +14,7 @@ import {
openSpotCount,
sponsorHref,
} from "~/data/sponsors";
import { useLocalizePath } from "~/i18n";
function SectionHeading({
as: Heading,
@@ -27,11 +28,13 @@ function SectionHeading({
badge?: string;
}) {
return (
<div className="mb-12 space-y-2">
<div className="mb-10 space-y-2.5">
<div className="flex items-center gap-3">
<Heading className="text-3xl font-medium tracking-tight">{title}</Heading>
<Heading className="text-3xl font-medium tracking-[-0.03em] md:text-[42px]">
{title}
</Heading>
{badge ? (
<span className="rounded-full bg-emerald-400/10 px-2 py-1 text-xs text-emerald-300">
<span className="rounded-full border border-brand-green/40 bg-brand-green/20 px-2.5 py-0.5 text-xs text-accent-text">
{badge}
</span>
) : null}
@@ -55,7 +58,7 @@ const MAINTAINER_COMPONENTS = {
};
const MAINTAINER_SIGNATURE = (
<p className="text-white/50">
<p className="text-sm text-white/50">
<Trans i18nKey="sponsor.maintainer" components={MAINTAINER_COMPONENTS} />
</p>
);
@@ -141,26 +144,28 @@ export function BackingOptions() {
[localize, t],
);
return (
<div className="grid gap-3 md:grid-cols-2">
<HairlineGrid columns="2">
{options.map((option) => (
<a
key={option.href}
href={option.href}
{...(option.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}
className="flex items-center gap-4 rounded-xl border border-white/10 bg-white/[0.02] p-4 transition-colors hover:border-white/20 hover:bg-white/[0.05]"
className="group flex items-center justify-between gap-4 bg-background px-5 py-4 transition-colors hover:bg-white/[0.03]"
>
<option.icon className="h-6 w-6 shrink-0 text-white/60" />
<p className="flex items-center gap-1.5 font-medium text-white">
{option.name}
{option.external ? (
<ExternalLink className="h-3.5 w-3.5 text-white/40" />
) : (
<ArrowRight className="h-3.5 w-3.5 text-white/40" />
)}
</p>
<span className="flex items-center gap-3.5">
<option.icon className="h-5 w-5 shrink-0 text-white/60 transition-colors group-hover:text-white/90" />
<span className="text-sm font-medium text-white/90 group-hover:text-white">
{option.name}
</span>
</span>
{option.external ? (
<ExternalLink className="h-3.5 w-3.5 shrink-0 text-white/35 transition-colors group-hover:text-accent-text" />
) : (
<ArrowRight className="h-3.5 w-3.5 shrink-0 text-white/35 transition-colors group-hover:text-accent-text" />
)}
</a>
))}
</div>
</HairlineGrid>
);
}
@@ -184,7 +189,7 @@ export function SponsorSpotSection() {
<ul className="grid max-w-2xl gap-3 text-white/70">
{SPOT_FEATURES.map((feature) => (
<li key={feature} className="flex items-start gap-2.5">
<Check aria-hidden="true" className="mt-1 size-4 shrink-0 text-emerald-300" />
<Check aria-hidden="true" className="mt-1 size-4 shrink-0 text-accent-text" />
<span>{t(`sponsor.company.${feature}`)}</span>
</li>
))}
@@ -193,7 +198,7 @@ export function SponsorSpotSection() {
{open > 0 ? (
<a
href={SPONSOR_SPOT_CHECKOUT_URL}
className="inline-flex items-center rounded-md bg-white px-5 py-2.5 text-sm font-medium text-black transition-colors hover:bg-white/90"
className="inline-flex items-center rounded-lg bg-foreground px-5 py-2.5 text-sm font-medium text-background transition-colors hover:bg-foreground/90"
>
{t("sponsor.becomeSponsor")}
</a>
@@ -224,15 +229,77 @@ export function SponsorPaseoSection() {
);
}
/** Homepage: a short version of the note with the same links as /sponsor. */
/** Standalone short sponsor note + backing options (used on /download/thanks). */
export function SponsorSection() {
const { t } = useTranslation();
const hubLink = useHubLinkComponents();
return (
<section>
<SectionHeading as="h2" title={t("sponsor.title")} />
<div className="space-y-10">
<div className="max-w-2xl space-y-5 leading-relaxed text-white/70">
<div className="space-y-8">
<div className="max-w-2xl space-y-4 text-sm leading-relaxed text-white/70">
<p>{t("sponsor.note.independent")}</p>
<p>{t("sponsor.shortNote.maintained")}</p>
<p>
<Trans i18nKey="sponsor.shortNote.selfFunded" components={hubLink} />
</p>
{MAINTAINER_SIGNATURE}
</div>
<BackingOptions />
</div>
</section>
);
}
/**
* Consolidated homepage Sponsors + Sponsor Paseo section.
* Keeps `aria-labelledby="sponsors-heading"` with heading text "Sponsors" so the Sponsors region
* contract stays intact while unifying the logo row, founder note, and backing options into one
* coherent chapter.
*/
export function HomepageSponsorsSection() {
const { t } = useTranslation();
const localize = useLocalizePath();
const hubLink = useHubLinkComponents();
const open = openSpotCount();
return (
<section aria-labelledby="sponsors-heading">
<SectionOpener
eyebrow={t("landing.eyebrows.sponsors")}
headingId="sponsors-heading"
title={t("sponsor.sponsors")}
className="mb-10"
/>
<ul className="flex flex-wrap items-center gap-x-14 gap-y-8">
{SPONSORS.map((sponsor) => (
<li key={sponsor.url}>
<a
href={sponsorHref(sponsor, "website")}
target="_blank"
rel="noopener noreferrer"
className="block"
>
<img src={sponsor.logo.onDark} alt={sponsor.name} className="h-12 w-auto" />
</a>
<p className="mt-2 text-sm text-white/55">{sponsor.description}</p>
</li>
))}
{open > 0 ? (
<li>
<a
href={localize("/sponsor#spot")}
className="inline-flex h-11 items-center rounded-lg border border-dashed border-white/15 px-4 text-sm text-white/50 transition-colors hover:border-white/30 hover:text-white/80"
>
{t("sponsor.becomeSponsor")}
</a>
</li>
) : null}
</ul>
<div className="mt-10 grid gap-10 border-t border-white/[0.07] pt-10 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] lg:items-start">
<div className="space-y-4 text-sm leading-relaxed text-white/70">
<p>{t("sponsor.note.independent")}</p>
<p>{t("sponsor.shortNote.maintained")}</p>
<p>
@@ -257,18 +324,19 @@ const SPONSORS_PLACEMENTS = {
button: "h-12 px-5 text-sm",
},
footer: {
section: "space-y-5 border-t border-white/10 py-8",
heading: "gap-1.5 text-sm text-extra-muted-foreground",
section: "space-y-5 py-8",
heading:
"gap-1.5 font-mono text-[11px] uppercase tracking-[0.12em] text-extra-muted-foreground",
heart: "size-3",
link: "opacity-85 transition-opacity hover:opacity-100",
logo: "h-10",
logo: "h-9",
description: "mt-1.5 text-xs text-white/45",
button: "h-9 px-3.5 text-sm",
button: "h-9 px-3.5 text-xs",
},
} as const;
interface SponsorsSectionProps {
/** `page` is a homepage section; `footer` is the band above other pages' footers. */
/** `page` is a standalone section; `footer` is the band above other pages' footers. */
placement: keyof typeof SPONSORS_PLACEMENTS;
}
@@ -313,7 +381,7 @@ export function SponsorsSection({ placement }: SponsorsSectionProps) {
<li>
<a
href={localize("/sponsor#spot")}
className={`inline-flex items-center rounded-md border border-dashed border-white/15 text-white/45 transition-colors hover:border-white/30 hover:text-white/75 ${style.button}`}
className={`inline-flex items-center rounded-lg border border-dashed border-white/15 text-white/45 transition-colors hover:border-white/30 hover:text-white/75 ${style.button}`}
>
{t("sponsor.becomeSponsor")}
</a>
@@ -352,6 +352,22 @@
"product": "Paseo Hub",
"label": "Automations on your machines"
},
"eyebrows": {
"community": "Community",
"providers": "01 · Providers",
"deployment": "02 · Deployment",
"extensibility": "03 · Extensibility",
"automation": "04 · Automation",
"hub": "Paseo Hub",
"openSource": "Open source",
"sponsors": "Sponsors",
"faq": "FAQ"
},
"closingCta": {
"eyebrow": "Get started",
"title": "Your agents, on every screen.",
"description": "Download the desktop app or run the daemon on any machine. Open source under Apache 2.0."
},
"socialProof": {
"title": "Loved by developers",
"description": "See what developers are saying about Paseo",
@@ -601,6 +617,15 @@
"getStarted": "Get started",
"selfHost": "Self-host"
},
"eyebrows": {
"hero": "Paseo Hub",
"automations": "01 · Automations",
"authoring": "02 · Authoring",
"infrastructure": "03 · Infrastructure",
"agents": "04 · Harnesses",
"pricing": "05 · Pricing",
"faq": "FAQ"
},
"automations": {
"title": "Automations from every source",
"description": "Triggers watch for events across your tools and start agents on your connected daemons."
@@ -352,6 +352,22 @@
"product": "Paseo Hub",
"label": "在你自己的机器上自动化运行"
},
"eyebrows": {
"community": "社区",
"providers": "01 · Provider",
"deployment": "02 · 部署方式",
"extensibility": "03 · 可扩展性",
"automation": "04 · 自动化",
"hub": "Paseo Hub",
"openSource": "开源理念",
"sponsors": "赞助商",
"faq": "常见问题"
},
"closingCta": {
"eyebrow": "开始使用",
"title": "你的 Agent,在每块屏幕上。",
"description": "下载桌面应用,或在任意机器上运行 daemon。基于 Apache 2.0 开源。"
},
"socialProof": {
"title": "深受开发者喜爱",
"description": "看看开发者们怎么评价 Paseo",
@@ -601,6 +617,15 @@
"getStarted": "开始使用",
"selfHost": "自托管"
},
"eyebrows": {
"hero": "Paseo Hub",
"automations": "01 · 自动化",
"authoring": "02 · 配置方式",
"infrastructure": "03 · 基础设施",
"agents": "04 · Agent 运行时",
"pricing": "05 · 定价",
"faq": "常见问题"
},
"automations": {
"title": "来自各类来源的自动化",
"description": "触发器监听你各类工具中的事件,并在已连接的 daemon 上启动 Agent。"
+156 -130
View File
@@ -19,8 +19,9 @@ import {
HUB_TRIGGER_SOURCES,
HubArchitectureDiagram,
} from "~/components/hub-flow";
import { ChapterBand, HairlineGrid, PageHeaderBand, SectionOpener } from "~/components/page-frame";
import { PaseoHubLockup, PaseoHubMark, PaseoMark } from "~/components/paseo-brand";
import { SiteShell } from "~/components/site-shell";
import { SiteFooter } from "~/components/site-footer";
import {
billingUnitLabel,
formatPlanPrice,
@@ -71,17 +72,39 @@ const SECONDARY_CTA_CLASS =
function Hub() {
const { plans } = Route.useLoaderData();
return (
<SiteShell width="default">
<HubHero />
<div className="mt-20 space-y-24">
<AutomationsSection />
<AuthoringSection />
<InfrastructureSection />
<AgentsSection />
<PricingSection plans={plans} />
<FaqSection />
</div>
</SiteShell>
<div className="min-h-screen bg-background">
<PageHeaderBand />
<main>
<ChapterBand spacing="hero" ruled={false} ticks={false}>
<HubHero />
</ChapterBand>
<ChapterBand spacing="section">
<AutomationsSection />
</ChapterBand>
<ChapterBand spacing="section">
<AuthoringSection />
</ChapterBand>
<ChapterBand spacing="section">
<InfrastructureSection />
</ChapterBand>
<ChapterBand spacing="compact">
<AgentsSection />
</ChapterBand>
<ChapterBand spacing="section" tint="subtle">
<PricingSection plans={plans} />
</ChapterBand>
<ChapterBand spacing="section">
<FaqSection />
</ChapterBand>
</main>
<SiteFooter width="default" />
</div>
);
}
@@ -90,8 +113,11 @@ function HubHero() {
const localize = useLocalizePath();
return (
<header className="space-y-6">
<p className="font-mono text-[11px] font-medium uppercase tracking-[0.14em] text-accent-text">
{t("hub.eyebrows.hero")}
</p>
<h1>
<PaseoHubLockup className="h-9 w-auto text-foreground md:h-10" />
<PaseoHubLockup className="h-10 w-auto text-foreground md:h-12" />
<span className="sr-only">{t("hub.title")}</span>
</h1>
<p className="max-w-2xl text-lg leading-relaxed text-white/70">{t("hub.intro")}</p>
@@ -112,34 +138,31 @@ function HubHero() {
function AutomationsSection() {
const { t } = useTranslation();
return (
<section className="space-y-8" aria-labelledby="automations-heading">
<div className="space-y-2">
<h2 id="automations-heading" className="text-2xl font-medium tracking-tight">
{t("hub.automations.title")}
</h2>
<p className="max-w-2xl leading-relaxed text-white/70">
{t("hub.automations.description")}
</p>
</div>
<div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">
{HUB_TRIGGER_SOURCES.map(({ id, Icon }) => (
<div
key={id}
className="flex items-start gap-3.5 rounded-xl border border-white/10 bg-white/[0.025] p-4"
>
<span className="mt-0.5 shrink-0 text-white/80">
<Icon className="h-5 w-5" />
</span>
<div className="min-w-0 space-y-1">
<h3 className="text-sm font-medium text-white/90">{t(`hub.sources.${id}.name`)}</h3>
<p className="text-xs leading-relaxed text-muted-foreground">
{t(`hub.sources.${id}.description`)}
</p>
<section aria-labelledby="automations-heading">
<SectionOpener
eyebrow={t("hub.eyebrows.automations")}
headingId="automations-heading"
title={t("hub.automations.title")}
description={t("hub.automations.description")}
/>
<div className="space-y-8">
<HairlineGrid columns="3">
{HUB_TRIGGER_SOURCES.map(({ id, Icon }) => (
<div key={id} className="flex items-start gap-3.5 bg-background p-5">
<span className="mt-0.5 shrink-0 text-white/80">
<Icon className="h-5 w-5" />
</span>
<div className="min-w-0 space-y-1">
<h3 className="text-sm font-medium text-white/90">{t(`hub.sources.${id}.name`)}</h3>
<p className="text-xs leading-relaxed text-muted-foreground">
{t(`hub.sources.${id}.description`)}
</p>
</div>
</div>
</div>
))}
))}
</HairlineGrid>
<ConversationDemo />
</div>
<ConversationDemo />
</section>
);
}
@@ -160,8 +183,8 @@ function ConversationDemo() {
const { t } = useTranslation();
return (
<figure className="space-y-3">
<div className="overflow-hidden rounded-2xl border border-white/10 bg-white/[0.02]">
<div className="flex items-center gap-2 border-b border-white/10 bg-white/[0.03] px-5 py-3">
<div className="overflow-hidden rounded-xl border border-white/[0.08] bg-white/[0.015]">
<div className="flex items-center gap-2 border-b border-white/[0.08] bg-white/[0.025] px-5 py-3">
<DiscordIcon className="h-4 w-4 text-white/40" />
<span className="font-mono text-xs text-white/50">#engineering</span>
</div>
@@ -195,7 +218,7 @@ function ConversationDemo() {
<Trans i18nKey="hub.demo.ranOn" components={DEMO_COMPONENTS} />
</p>
<div className="flex flex-wrap items-center gap-2 pt-1">
<span className="rounded-full bg-emerald-400/10 px-2.5 py-1 text-xs text-emerald-300">
<span className="rounded-full bg-brand-green/25 px-2.5 py-1 text-xs text-accent-text">
{t("hub.demo.filesChanged")}
</span>
<span className="rounded-full border border-white/10 px-2.5 py-1 text-xs text-white/45">
@@ -261,18 +284,18 @@ function AuthoringSection() {
const { t } = useTranslation();
const localize = useLocalizePath();
return (
<section className="space-y-8" aria-labelledby="authoring-heading">
<div className="space-y-2">
<h2 id="authoring-heading" className="text-2xl font-medium tracking-tight">
{t("hub.authoring.title")}
</h2>
<p className="max-w-2xl leading-relaxed text-white/70">{t("hub.authoring.description")}</p>
</div>
<section aria-labelledby="authoring-heading">
<SectionOpener
eyebrow={t("hub.eyebrows.authoring")}
headingId="authoring-heading"
title={t("hub.authoring.title")}
description={t("hub.authoring.description")}
/>
<div className="grid gap-4 lg:grid-cols-2">
<HairlineGrid columns="2">
<AuthoringDashboardCard docsHref={localize("/docs/hub/configuration")} />
<AuthoringYamlCard />
</div>
</HairlineGrid>
</section>
);
}
@@ -280,10 +303,10 @@ function AuthoringSection() {
function AuthoringDashboardCard({ docsHref }: { docsHref: string }) {
const { t } = useTranslation();
return (
<div className="flex flex-col justify-between gap-6 rounded-2xl border border-white/10 bg-white/[0.02] p-6">
<div className="flex flex-col justify-between gap-6 bg-background p-6">
<div className="space-y-5">
<div className="flex items-center gap-2.5">
<SlidersHorizontal className="h-4 w-4 text-extra-muted-foreground" strokeWidth={1.5} />
<SlidersHorizontal className="h-4 w-4 text-accent-text" strokeWidth={1.5} />
<h3 className="text-base font-medium text-white/90">
{t("hub.authoring.dashboardTitle")}
</h3>
@@ -291,10 +314,10 @@ function AuthoringDashboardCard({ docsHref }: { docsHref: string }) {
<p className="text-sm leading-relaxed text-white/65">
{t("hub.authoring.dashboardDescription")}
</p>
<ul className="space-y-3 border-t border-white/10 pt-4">
<ul className="space-y-3 border-t border-white/[0.08] pt-4">
{DASHBOARD_ITEMS.map((item) => (
<li key={item} className="flex items-start gap-2.5 text-sm">
<Check aria-hidden="true" className="mt-0.5 size-4 shrink-0 text-emerald-300" />
<Check aria-hidden="true" className="mt-0.5 size-4 shrink-0 text-accent-text" />
<span className="text-white/75">
<span className="font-medium text-white/90">{t(`hub.authoring.${item}Label`)}</span>{" "}
<span className="text-white/55">{t(`hub.authoring.${item}Text`)}</span>
@@ -306,7 +329,7 @@ function AuthoringDashboardCard({ docsHref }: { docsHref: string }) {
<div>
<a
href={docsHref}
className="inline-flex items-center gap-1.5 text-sm text-white/70 transition-colors hover:text-white"
className="inline-flex items-center gap-1.5 text-sm text-white/75 transition-colors hover:text-accent-text"
>
{t("hub.authoring.docsLink")}
<ArrowRight className="h-3.5 w-3.5" aria-hidden="true" />
@@ -318,8 +341,8 @@ function AuthoringDashboardCard({ docsHref }: { docsHref: string }) {
function AuthoringYamlCard() {
return (
<div className="flex flex-col overflow-hidden rounded-2xl border border-white/10 bg-black/25">
<div className="flex items-center justify-between border-b border-white/10 bg-white/[0.03] px-5 py-3">
<div className="flex flex-col bg-[#0c1110]">
<div className="flex items-center justify-between border-b border-white/[0.08] bg-white/[0.02] px-5 py-3">
<span className="font-mono text-xs text-white/70">.paseo/triggers/slack-help.yml</span>
<span className="rounded border border-white/10 px-1.5 py-0.5 font-mono text-[10px] text-white/40">
YAML
@@ -344,7 +367,7 @@ function AuthoringYamlCard() {
<span className="block text-emerald-300/80">{" Answer the thread, then call"}</span>
<span className="block text-emerald-300/80">{" hub.finish_execution."}</span>
</pre>
<div className="space-y-1 border-t border-white/10 bg-white/[0.02] px-5 py-3.5 font-mono text-xs text-white/65">
<div className="space-y-1 border-t border-white/[0.08] bg-white/[0.02] px-5 py-3.5 font-mono text-xs text-white/65">
<div>
<span className="select-none text-white/30">$ </span>
<span className="text-white/90">paseo hub deploy</span>{" "}
@@ -393,36 +416,35 @@ const GUARDRAIL_CODE_COMPONENTS = {
function InfrastructureSection() {
const { t } = useTranslation();
return (
<section className="space-y-8" aria-labelledby="infrastructure-heading">
<div className="space-y-2">
<h2 id="infrastructure-heading" className="text-2xl font-medium tracking-tight">
{t("hub.shape.title")}
</h2>
<p className="max-w-2xl leading-relaxed text-white/70">{t("hub.shape.description")}</p>
</div>
<section aria-labelledby="infrastructure-heading">
<SectionOpener
eyebrow={t("hub.eyebrows.infrastructure")}
headingId="infrastructure-heading"
title={t("hub.shape.title")}
description={t("hub.shape.description")}
/>
<HubArchitectureDiagram />
<div className="space-y-6">
<HubArchitectureDiagram />
<div className="grid gap-4 md:grid-cols-3">
{GUARDRAILS.map(({ key, Icon }) => (
<div
key={key}
className="rounded-xl border border-white/10 bg-white/[0.025] p-5 space-y-2.5"
>
<div className="flex items-center gap-2.5">
<Icon className="h-4 w-4 shrink-0 text-extra-muted-foreground" strokeWidth={1.5} />
<h3 className="text-sm font-medium text-white/90">
{t(`hub.guardrails.${key}Title`)}
</h3>
<HairlineGrid columns="3">
{GUARDRAILS.map(({ key, Icon }) => (
<div key={key} className="space-y-2.5 bg-background p-6">
<div className="flex items-center gap-2.5">
<Icon className="h-4 w-4 shrink-0 text-accent-text" strokeWidth={1.5} />
<h3 className="text-sm font-medium text-white/90">
{t(`hub.guardrails.${key}Title`)}
</h3>
</div>
<p className="text-sm leading-relaxed text-white/60">
<Trans
i18nKey={`hub.guardrails.${key}Description`}
components={GUARDRAIL_CODE_COMPONENTS}
/>
</p>
</div>
<p className="text-sm leading-relaxed text-white/55">
<Trans
i18nKey={`hub.guardrails.${key}Description`}
components={GUARDRAIL_CODE_COMPONENTS}
/>
</p>
</div>
))}
))}
</HairlineGrid>
</div>
</section>
);
@@ -431,26 +453,23 @@ function InfrastructureSection() {
function AgentsSection() {
const { t } = useTranslation();
return (
<section className="space-y-6" aria-labelledby="agents-heading">
<div className="space-y-2">
<h2 id="agents-heading" className="text-2xl font-medium tracking-tight">
{t("hub.agents.title")}
</h2>
<p className="max-w-2xl leading-relaxed text-white/70">{t("hub.agents.description")}</p>
</div>
<div className="flex flex-wrap items-center gap-3">
<section aria-labelledby="agents-heading">
<SectionOpener
eyebrow={t("hub.eyebrows.agents")}
headingId="agents-heading"
title={t("hub.agents.title")}
description={t("hub.agents.description")}
/>
<HairlineGrid columns="3">
{HUB_AGENT_HARNESSES.map(({ name, Icon }) => (
<div
key={name}
className="flex items-center gap-2.5 rounded-xl border border-white/10 bg-white/[0.03] px-4 py-3"
>
<div key={name} className="flex items-center gap-3 bg-background px-5 py-4">
<span className="text-white/80">
<Icon className="h-5 w-5" />
</span>
<span className="text-sm font-medium">{name}</span>
<span className="text-sm font-medium text-white/90">{name}</span>
</div>
))}
</div>
</HairlineGrid>
</section>
);
}
@@ -497,17 +516,14 @@ function PricingSection({ plans }: { plans: HubPlans | null }) {
if (plans === null) {
return (
<section className="space-y-6" aria-labelledby="pricing-heading">
<div className="space-y-2">
<h2 id="pricing-heading" className="text-2xl font-medium tracking-tight">
{t("hub.pricing.title")}
</h2>
<p className="max-w-2xl leading-relaxed text-white/70">{t("hub.pricing.unavailable")}</p>
</div>
<a
href={localize("/docs/hub/self-hosting")}
className="inline-block rounded-md border border-white/15 px-4 py-2 text-sm font-medium text-white/80 transition-colors hover:border-white/25 hover:text-white"
>
<section aria-labelledby="pricing-heading">
<SectionOpener
eyebrow={t("hub.eyebrows.pricing")}
headingId="pricing-heading"
title={t("hub.pricing.title")}
description={t("hub.pricing.unavailable")}
/>
<a href={localize("/docs/hub/self-hosting")} className={SECONDARY_CTA_CLASS}>
{t("hub.pricing.selfHost")}
</a>
</section>
@@ -515,14 +531,14 @@ function PricingSection({ plans }: { plans: HubPlans | null }) {
}
return (
<section className="space-y-8" aria-labelledby="pricing-heading">
<div className="space-y-2">
<h2 id="pricing-heading" className="text-2xl font-medium tracking-tight">
{t("hub.pricing.title")}
</h2>
<p className="max-w-2xl leading-relaxed text-white/70">{t("hub.pricing.seatNote")}</p>
</div>
<div className="grid gap-4 md:grid-cols-3">
<section aria-labelledby="pricing-heading">
<SectionOpener
eyebrow={t("hub.eyebrows.pricing")}
headingId="pricing-heading"
title={t("hub.pricing.title")}
description={t("hub.pricing.seatNote")}
/>
<HairlineGrid columns="3">
<PlanCard
name={t("hub.pricing.selfHosted")}
price={t("hub.pricing.free")}
@@ -551,7 +567,7 @@ function PricingSection({ plans }: { plans: HubPlans | null }) {
actionLabel={t("hub.pricing.getStarted")}
featured
/>
</div>
</HairlineGrid>
</section>
);
}
@@ -614,10 +630,10 @@ function PlanCard({
}) {
return (
<article
className={`flex flex-col rounded-2xl border p-6 ${featured ? "border-white/25 bg-white/[0.06]" : "border-white/10 bg-white/[0.02]"}`}
className={`flex flex-col p-6 md:p-7 ${featured ? "bg-brand-green/[0.08]" : "bg-background"}`}
>
<h3 className="text-xl font-medium">{name}</h3>
<div className="mt-6 flex items-end gap-2">
<h3 className="text-lg font-medium text-white/90">{name}</h3>
<div className="mt-5 flex items-end gap-2">
<span className="text-4xl font-medium tracking-tight">{price}</span>
<span className="mb-1 inline-flex items-center gap-1 text-sm text-white/45">
{priceQualifier}
@@ -628,7 +644,7 @@ function PlanCard({
<ul className="mt-6 grid flex-1 content-start gap-3 text-sm text-white/70">
{features.map((feature) => (
<li key={feature.key} className="flex items-start gap-2.5">
<Check aria-hidden="true" className="mt-0.5 size-4 shrink-0 text-emerald-300" />
<Check aria-hidden="true" className="mt-0.5 size-4 shrink-0 text-accent-text" />
<span>{feature.label}</span>
{feature.tooltip !== null ? <InfoTip text={feature.tooltip} /> : null}
</li>
@@ -637,7 +653,11 @@ function PlanCard({
) : null}
<a
href={actionHref}
className={`mt-8 rounded-md px-4 py-2 text-center text-sm font-medium transition-colors ${featured ? "bg-white text-black hover:bg-white/90" : "border border-white/15 text-white/80 hover:border-white/25 hover:text-white"}`}
className={`mt-8 rounded-lg px-4 py-2.5 text-center text-sm font-medium transition-colors ${
featured
? "bg-foreground text-background hover:bg-foreground/90"
: "border border-white/15 text-white/85 hover:border-white/25 hover:bg-white/[0.04] hover:text-white"
}`}
>
{actionLabel}
</a>
@@ -675,11 +695,17 @@ function FaqSection() {
[localize],
);
return (
<section className="space-y-6" aria-labelledby="faq-heading">
<h2 id="faq-heading" className="text-2xl font-medium tracking-tight">
{t("hub.faq.title")}
</h2>
<div className="space-y-6">
<section
aria-labelledby="faq-heading"
className="grid items-start gap-10 lg:grid-cols-[minmax(0,17rem)_minmax(0,1fr)] lg:gap-16"
>
<SectionOpener
eyebrow={t("hub.eyebrows.faq")}
headingId="faq-heading"
title={t("hub.faq.title")}
className="mb-0 self-start"
/>
<div className="divide-y divide-white/[0.08] border-y border-white/[0.08]">
<FAQItem question={t("hub.faq.whatQuestion")}>{t("hub.faq.whatAnswer")}</FAQItem>
<FAQItem question={t("hub.faq.separateQuestion")}>
<p>{t("hub.faq.separateAnswer1")}</p>
+3 -6
View File
@@ -46,22 +46,17 @@
}
.social-proof-marquee {
margin-inline: calc(50% - 50cqw);
overflow-x: clip;
position: relative;
}
.landing-content {
container-type: inline-size;
}
.social-proof-marquee::before,
.social-proof-marquee::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: max(4rem, 8vw);
width: 4.5rem;
z-index: 1;
pointer-events: none;
}
@@ -728,6 +723,8 @@
--color-scrollbar-handle: #717574;
--color-primary: #239956;
--color-primary-foreground: #ffffff;
--color-accent-text: #6cb17b;
--color-brand-green: #20744a;
--color-secondary: #252b2a;
--color-secondary-foreground: #fafafa;