The Open Standard for Generative UI
Prioritize Try Demo CTA for OpenUI Cloud (#829)
Zahle Khan97ae67a4cb83
diff --git a/docs/app/(home)/sections/CloudSection/CloudSection.module.css b/docs/app/(home)/sections/CloudSection/CloudSection.module.cssindex 891b7479d..50cc7ca48 100644--- a/docs/app/(home)/sections/CloudSection/CloudSection.module.css+++ b/docs/app/(home)/sections/CloudSection/CloudSection.module.css@@ -37,8 +37,12 @@top: -0.06em;}-/* Spacing for the "View Documentation" CTA (BevelButton) under the subtitle. */-.headerCta {+/* Primary and secondary CTAs under the subtitle. */+.headerCtas {+ display: flex;+ flex-wrap: wrap;+ justify-content: center;+ gap: 0.75rem;margin-top: 2rem;}@@ -196,6 +200,12 @@margin-bottom: 2.5rem;}+ .headerCtas {+ width: 100%;+ flex-direction: column;+ align-items: center;+ }+.grid {gap: 0;}@@ -321,11 +331,8 @@border-color: rgba(0, 0, 0, 0.85);}-/* The two CTAs flip tone so they read on the inverted light surface: the header- "View Documentation" goes black (like the dark BevelButton variant) and the- "Talk to our team" CTA goes white (like the light variant). Light mode keeps- the default look (white header CTA / black contact CTA on the black band). */-[data-theme="dark"] .headerCta {+/* The CTAs flip tone so they read on the inverted light surface. */+[data-theme="dark"] .headerPrimaryCta {background: #0a0a0a;border-color: rgba(255, 255, 255, 0.2);box-shadow: var(--home-bevel-on-dark);@@ -334,6 +341,7 @@--bevel-badge-fg: #0a0a0a;}+[data-theme="dark"] .headerSecondaryCta,[data-theme="dark"] .contactCta {background: var(--home-surface-raised);border-color: rgba(0, 0, 0, 0.08);@@ -402,4 +410,3 @@color: rgba(0, 0, 0, 0.55);}}-diff --git a/docs/app/(home)/sections/CloudSection/CloudSection.tsx b/docs/app/(home)/sections/CloudSection/CloudSection.tsxindex 9ffcdc9b1..edde8cc2e 100644--- a/docs/app/(home)/sections/CloudSection/CloudSection.tsx+++ b/docs/app/(home)/sections/CloudSection/CloudSection.tsx@@ -1,6 +1,7 @@"use client";import {+ ArrowRight,ArrowUpRight,Browsers,Eye,@@ -111,12 +112,21 @@ export function CloudSection() {}subtitle="Production-ready Generative UI">- <BevelButton- className={styles.headerCta}- href="/docs/agent/getting-started/openui-cloud"- label="View Documentation"- badge={<ArrowUpRight size={16} weight="bold" />}- />+ <div className={styles.headerCtas}>+ <BevelButton+ className={styles.headerPrimaryCta}+ href="/compare"+ label="Try Demo"+ badge={<ArrowRight size={16} weight="bold" />}+ />+ <BevelButton+ variant="dark"+ className={styles.headerSecondaryCta}+ href="/docs/agent/getting-started/openui-cloud"+ label="View Documentation"+ badge={<ArrowUpRight size={16} weight="bold" />}+ />+ </div></SectionHeader></div>