Skip to content

The Open Standard for Generative UI

Add OpenUI Cloud feature marquee and restructure the footer (#902)

Parikshit Deshmukh7d0492962a62
diff --git a/docs/app/(home)/cloud/CloudFeatureMarquee.module.css b/docs/app/(home)/cloud/CloudFeatureMarquee.module.css
new file mode 100644
index 000000000..e575ca3b4
--- /dev/null
+++ b/docs/app/(home)/cloud/CloudFeatureMarquee.module.css
@@ -0,0 +1,212 @@
+/* A row of what OpenUI Cloud adds, sitting between the customer logos and the
+ feature cards. Each card is an illustration panel over the feature name.
+ The row scrolls horizontally, driven by the arrows. */
+
+.section {
+ /* Shared so the arrows can centre on the square art panel without hard-coding
+ its height a second time. */
+ --card-w: clamp(13rem, 20vw, 18rem);
+ width: 100%;
+ padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
+}
+
+.row {
+ position: relative;
+}
+
+/* Floating over the row's gutters, centred on the art rather than the whole
+ card, so the titles hanging below don't pull them off-centre. */
+.arrow {
+ position: absolute;
+ top: calc(var(--card-w) / 2);
+ transform: translateY(-50%);
+ z-index: 2;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 2.5rem;
+ height: 2.5rem;
+ padding: 0;
+ border: 1px solid rgba(10, 10, 10, 0.1);
+ border-radius: 999px;
+ background: #fff;
+ box-shadow: 0 1px 3px rgba(10, 10, 10, 0.08);
+ color: var(--openui-text-neutral-primary);
+ cursor: pointer;
+ transition:
+ box-shadow 150ms ease,
+ opacity 150ms ease;
+}
+
+.arrowPrev {
+ left: 1rem;
+}
+
+.arrowNext {
+ right: 1rem;
+}
+
+.arrow:hover:not(:disabled) {
+ box-shadow: 0 2px 8px rgba(10, 10, 10, 0.18);
+}
+
+.arrow:disabled {
+ opacity: 0.35;
+ cursor: default;
+}
+
+[data-theme="dark"] .arrow {
+ border-color: rgba(255, 255, 255, 0.14);
+ background: #141414;
+ box-shadow: none;
+ color: rgba(255, 255, 255, 0.9);
+}
+
+[data-theme="dark"] .arrow:hover:not(:disabled) {
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
+}
+
+/* Fades whichever end still has cards past it. The stops come from the
+ component, which knows where the scroll actually sits. */
+.scroller {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ align-items: flex-start;
+ gap: clamp(1.25rem, 2.5vw, 2rem);
+ padding-inline: max(1.25rem, calc((100vw - 75rem) / 2));
+ /* No scroll-snap: the arrows already advance by whole card strides, and
+ mandatory snapping fought the programmatic scroll and reverted it. */
+ overflow-x: auto;
+ scrollbar-width: none;
+ -webkit-mask-image: linear-gradient(
+ to right,
+ transparent 0%,
+ #000 var(--fade-start, 0%),
+ #000 var(--fade-end, 100%),
+ transparent 100%
+ );
+ mask-image: linear-gradient(
+ to right,
+ transparent 0%,
+ #000 var(--fade-start, 0%),
+ #000 var(--fade-end, 100%),
+ transparent 100%
+ );
+}
+
+.scroller::-webkit-scrollbar {
+ display: none;
+}
+
+.card {
+ flex: 0 0 auto;
+ width: var(--card-w);
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+}
+
+/* Holds the illustration. Stays a tinted panel while artwork is pending, so
+ the row keeps its rhythm either way. */
+.art {
+ position: relative;
+ width: 100%;
+ aspect-ratio: 1 / 1;
+ border-radius: 1rem;
+ overflow: hidden;
+ background: rgba(10, 10, 10, 0.04);
+}
+
+[data-theme="dark"] .art {
+ background: rgba(255, 255, 255, 0.05);
+}
+
+.image {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+}
+
+.imageDark {
+ display: none;
+}
+
+[data-theme="dark"] .imageLight {
+ display: none;
+}
+
+[data-theme="dark"] .imageDark {
+ display: block;
+}
+
+/* Position in the row, pinned to the panel's top-left so it stays legible once
+ artwork fills the panel behind it. Decorative: the order is already visible,
+ so it is hidden from screen readers. */
+.badge {
+ position: absolute;
+ top: 0.75rem;
+ left: 0.75rem;
+ z-index: 1;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 1.75rem;
+ height: 1.75rem;
+ border-radius: 50%;
+ background: rgba(255, 255, 255, 0.88);
+ backdrop-filter: blur(6px);
+ font-family: var(--home-font-text);
+ font-size: var(--home-label-size);
+ font-weight: var(--home-label-weight);
+ font-variant-numeric: tabular-nums;
+ line-height: 1;
+ color: var(--openui-text-neutral-secondary);
+}
+
+[data-theme="dark"] .badge {
+ background: rgba(20, 20, 20, 0.8);
+ color: rgba(255, 255, 255, 0.66);
+}
+
+/* The name carries the card alone, so it sits a step below the heading
+ size: large enough to lead, small enough not to wrap past two lines. */
+.title {
+ /* Held in from the panel's edges, and balanced, so a two-line name reads as
+ a tidy block rather than a full-width line with an orphan under it. */
+ max-width: 80%;
+ margin: 0.875rem 0 0;
+ font-family: var(--home-font-text);
+ font-size: 1rem;
+ font-weight: 500;
+ letter-spacing: var(--home-heading-tracking);
+ line-height: 1.35;
+ text-wrap: balance;
+ color: var(--openui-text-neutral-primary);
+}
+
+[data-theme="dark"] .title {
+ color: rgba(255, 255, 255, 0.94);
+}
+
+@media (max-width: 767px) {
+ .section {
+ --card-w: 11rem;
+ }
+
+ .arrow {
+ width: 2.25rem;
+ height: 2.25rem;
+ }
+
+ .arrowPrev {
+ left: 0.5rem;
+ }
+
+ .arrowNext {
+ right: 0.5rem;
+ }
+}
diff --git a/docs/app/(home)/cloud/CloudFeatureMarquee.tsx b/docs/app/(home)/cloud/CloudFeatureMarquee.tsx
new file mode 100644
index 000000000..87c979cfb
--- /dev/null
+++ b/docs/app/(home)/cloud/CloudFeatureMarquee.tsx
@@ -0,0 +1,186 @@
+"use client";
+
+import { ChevronLeft, ChevronRight } from "lucide-react";
+import { type CSSProperties, useCallback, useEffect, useRef, useState } from "react";
+import styles from "./CloudFeatureMarquee.module.css";
+
+/* What OpenUI Cloud adds, each card an illustration over the feature name.
+ Ordered by theme: generations, then reliability, tools, observability.
+ Each card carries a light and a dark cut of its artwork; CSS shows the one
+ matching the theme. */
+type CloudFeature = {
+ title: string;
+ lightImage?: string;
+ darkImage?: string;
+};
+
+const FEATURES: CloudFeature[] = [
+ {
+ title: "Report generation",
+ lightImage: "/cloud-features/reports-light.webp",
+ darkImage: "/cloud-features/reports-dark.webp",
+ },
+ {
+ title: "Presentation generation",
+ lightImage: "/cloud-features/slides-light.webp",
+ darkImage: "/cloud-features/slides-dark.webp",
+ },
+ {
+ title: "Dashboard and Apps",
+ lightImage: "/cloud-features/dashboards-light.webp",
+ darkImage: "/cloud-features/dashboards-dark.webp",
+ },
+ {
+ title: "Advanced UI library",
+ lightImage: "/cloud-features/ui-component-library-light.webp",
+ darkImage: "/cloud-features/ui-component-library-dark.webp",
+ },
+ {
+ title: "Error detection and correction",
+ lightImage: "/cloud-features/error-correction-light.webp",
+ darkImage: "/cloud-features/error-correction-dark.webp",
+ },
+ {
+ title: "Managed model access and fallbacks",
+ lightImage: "/cloud-features/model-fallbacks-light.webp",
+ darkImage: "/cloud-features/model-fallbacks-dark.webp",
+ },
+ {
+ title: "Built-in conversation persistence",
+ lightImage: "/cloud-features/conversation-history-light.webp",
+ darkImage: "/cloud-features/conversation-history-dark.webp",
+ },
+ {
+ title: "Built-in image search tool",
+ lightImage: "/cloud-features/image-search-light.webp",
+ darkImage: "/cloud-features/image-search-dark.webp",
+ },
+ {
+ title: "Built-in web search tool",
+ lightImage: "/cloud-features/web-search-light.webp",
+ darkImage: "/cloud-features/web-search-dark.webp",
+ },
+ {
+ title: "Audit trails",
+ lightImage: "/cloud-features/audit-trails-light.webp",
+ darkImage: "/cloud-features/audit-trails-dark.webp",
+ },
+ {
+ title: "Session replays",
+ lightImage: "/cloud-features/session-replays-light.webp",
+ darkImage: "/cloud-features/session-replays-dark.webp",
+ },
+ {
+ title: "Usage insights",
+ lightImage: "/cloud-features/usage-insights-light.webp",
+ darkImage: "/cloud-features/usage-insights-dark.webp",
+ },
+];
+
+export function CloudFeatureMarquee() {
+ const scrollerRef = useRef<HTMLDivElement | null>(null);
+ const [atStart, setAtStart] = useState(true);
+ const [atEnd, setAtEnd] = useState(false);
+
+ /* Which ends still have cards past them. Drives both the arrows' disabled
+ state and the edge fades, so a fade never hints at content that isn't
+ there. */
+ const sync = useCallback(() => {
+ const el = scrollerRef.current;
+ if (!el) return;
+ const max = el.scrollWidth - el.clientWidth;
+ setAtStart(el.scrollLeft <= 1);
+ setAtEnd(el.scrollLeft >= max - 1);
+ }, []);
+
+ useEffect(() => {
+ sync();
+ window.addEventListener("resize", sync);
+ return () => window.removeEventListener("resize", sync);
+ }, [sync]);
+
+ /* Advance by whole cards, as many as fit, so nothing lands half-cut. */
+ const step = (direction: 1 | -1) => {
+ const el = scrollerRef.current;
+ if (!el) return;
+ const card = el.firstElementChild as HTMLElement | null;
+ if (!card) return;
+ const gap = Number.parseFloat(getComputedStyle(el).columnGap) || 0;
+ const stride = card.getBoundingClientRect().width + gap;
+ const perPage = Math.max(1, Math.floor(el.clientWidth / stride));
+ el.scrollBy({
+ left: direction * stride * perPage,
+ behavior: window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth",
+ });
+ };
+
+ const fade = {
+ "--fade-start": atStart ? "0%" : "4%",
+ "--fade-end": atEnd ? "100%" : "96%",
+ } as CSSProperties;
+
+ return (
+ <section className={styles.section} aria-label="What OpenUI Cloud adds">
+ <div className={styles.row}>
+ <button
+ type="button"
+ className={`${styles.arrow} ${styles.arrowPrev}`}
+ onClick={() => step(-1)}
+ disabled={atStart}
+ aria-label="Show previous features"
+ >
+ <ChevronLeft size={18} strokeWidth={2} aria-hidden="true" />
+ </button>
+ <button
+ type="button"
+ className={`${styles.arrow} ${styles.arrowNext}`}
+ onClick={() => step(1)}
+ disabled={atEnd}
+ aria-label="Show next features"
+ >
+ <ChevronRight size={18} strokeWidth={2} aria-hidden="true" />
+ </button>
+ <div
+ ref={scrollerRef}
+ className={styles.scroller}
+ style={fade}
+ onScroll={sync}
+ tabIndex={0}
+ role="group"
+ aria-label="OpenUI Cloud features"
+ >
+ {FEATURES.map((feature, index) => (
+ <article key={feature.title} className={styles.card}>
+ <span className={styles.art}>
+ {feature.lightImage && feature.darkImage && (
+ <>
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+ <img
+ className={`${styles.image} ${styles.imageLight}`}
+ src={feature.lightImage}
+ alt=""
+ aria-hidden="true"
+ loading="lazy"
+ />
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+ <img
+ className={`${styles.image} ${styles.imageDark}`}
+ src={feature.darkImage}
+ alt=""
+ aria-hidden="true"
+ loading="lazy"
+ />
+ </>
+ )}
+ <span className={styles.badge} aria-hidden="true">
+ {index + 1}
+ </span>
+ </span>
+ <h3 className={styles.title}>{feature.title}</h3>
+ </article>
+ ))}
+ </div>
+ </div>
+ </section>
+ );
+}
diff --git a/docs/app/(home)/cloud/page.module.css b/docs/app/(home)/cloud/page.module.css
index 3bdb0fb50..80ba7f592 100644
--- a/docs/app/(home)/cloud/page.module.css
+++ b/docs/app/(home)/cloud/page.module.css
@@ -36,6 +36,31 @@
vertical-align: middle;
}
+/* Narrows the shared tagline's measure without touching the home page, which
+ uses the same component at its full 75rem width. */
+.taglineText {
+ display: block;
+ max-width: 46rem;
+ margin-inline: auto;
+ text-wrap: balance;
+}
+
+/* Reads as a caption under the tagline, so it drops out of the display scale
+ and back to body type. */
+.taglineNote {
+ display: block;
+ margin-top: 1rem;
+ font-size: 1.125rem;
+ font-weight: 400;
+ line-height: 1.4;
+ letter-spacing: 0;
+ color: var(--openui-text-neutral-secondary);
+}
+
+[data-theme="dark"] .taglineNote {
+ color: rgba(255, 255, 255, 0.55);
+}
+
.subtitle {
display: block;
flex: 0 0 400px;
diff --git a/docs/app/(home)/cloud/page.tsx b/docs/app/(home)/cloud/page.tsx
index 74a0943a3..d3249a939 100644
--- a/docs/app/(home)/cloud/page.tsx
+++ b/docs/app/(home)/cloud/page.tsx
@@ -4,9 +4,10 @@ import Image from "next/image";
import { BevelButton } from "../components/Button/BevelButton";
import styles from "../page.module.css";
import { Footer } from "../sections/Footer/Footer";
-import { HeroSection } from "../sections/HeroSection/HeroSection";
+import { HeroSection, Tagline } from "../sections/HeroSection/HeroSection";
import { LogoStrip } from "../sections/LogoStrip/LogoStrip";
import { CloudCtaSection } from "./CloudCtaSection";
+import { CloudFeatureMarquee } from "./CloudFeatureMarquee";
import { CloudIntegrationSection } from "./CloudIntegrationSection";
import { ComparisonSection } from "./ComparisonSection";
import { EnterpriseSection } from "./EnterpriseSection";
@@ -129,7 +130,14 @@ export default function OpenUICloudPage() {
</>
}
/>
- <LogoStrip label="Powering AI experiences at:" variant="cloud" />
+ <LogoStrip variant="cloud" />
+ <Tagline>
+ <span className={cloudStyles.taglineText}>
+ OpenUI Cloud is the managed, production-ready version of OpenUI.
+ </span>
+ <span className={cloudStyles.taglineNote}>12 reasons why you should upgrade.</span>
+ </Tagline>
+ <CloudFeatureMarquee />
<FeaturesSection />
<CloudIntegrationSection />
<ComparisonSection />
diff --git a/docs/app/(home)/sections/Footer/Footer.module.css b/docs/app/(home)/sections/Footer/Footer.module.css
index 656e95b5c..7b6b5d941 100644
--- a/docs/app/(home)/sections/Footer/Footer.module.css
+++ b/docs/app/(home)/sections/Footer/Footer.module.css
@@ -9,84 +9,87 @@
width: 100%;
}
-.handcraftedSection {
- width: 100%;
- padding-inline: 1.25rem;
+.contentSection {
+ /* Open above the brand row, tighter below it, so the mark and the theme
+ control read as belonging to the separator they sit on. */
+ --footer-air: 60px;
+ --footer-air-below: 1.75rem;
+
+ padding: var(--footer-air) 1.25rem 1rem;
background: var(--openui-foreground);
}
-.handcraftedContainer {
- display: flex;
+.contentContainer {
max-width: 75rem;
margin-inline: auto;
- flex-direction: column;
+}
+
+/* The mark and the theme control face each other across the footer's width. */
+.brandRow {
+ display: flex;
align-items: center;
- gap: 0.625rem;
- padding-block: 4rem;
+ justify-content: space-between;
+ gap: 1.5rem;
+ padding-bottom: var(--footer-air-below);
}
-.mascotWrap {
+.logoWrap {
position: relative;
- height: 64px;
- width: 64px;
+ /* Held to the mark's own 2.5:1 ratio, so the wordmark never stretches. */
+ height: 2.625rem;
+ width: 105px;
flex-shrink: 0;
color: var(--openui-text-neutral-primary);
}
-.handcraftedMascot {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- object-fit: contain;
- display: block;
-}
-
-.handcraftedCopy {
- text-align: center;
- font-family: var(--font-geist-mono);
- font-size: 18px;
- line-height: 1.2;
- color: var(--openui-text-neutral-primary);
- margin-top: 12px;
-}
-
-.handcraftedCursor {
- display: inline-block;
- margin-left: 0.06em;
- animation: handcraftedCursorBlink 1s steps(1, end) infinite;
-}
-
-.contentSection {
- padding: 60px 1.25rem 1rem;
- background: var(--openui-foreground);
+/* ---- Theme tabs ----
+ A segmented pair rather than the header's single swap button, so the footer
+ shows which theme is on rather than only offering the other one. */
+.themeTabs {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.125rem;
+ flex-shrink: 0;
+ padding: 0.25rem;
+ border: 1px solid var(--home-hairline);
+ border-radius: var(--openui-radius-full);
}
-.contentContainer {
- max-width: 75rem;
- margin-inline: auto;
+.themeTab {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 2rem;
+ height: 2rem;
+ padding: 0;
+ border: 1px solid transparent;
+ border-radius: var(--openui-radius-full);
+ background: transparent;
+ color: var(--openui-text-neutral-secondary);
+ cursor: pointer;
+ transition:
+ background-color 0.2s ease,
+ border-color 0.2s ease,
+ color 0.2s ease;
}
-.desktopLogoRow {
- display: none;
+.themeTab:hover {
+ color: var(--openui-text-neutral-primary);
}
-.mobileLogoRow {
- display: flex;
- width: 100%;
- flex-direction: column;
- align-items: center;
+.themeTabActive {
+ border-color: var(--openui-border-default);
+ background: var(--openui-highlight);
+ color: var(--openui-text-neutral-primary);
}
-.logoWrap {
- position: relative;
- height: 3rem;
- width: 124px;
- color: var(--openui-text-neutral-primary);
+.themeTabIcon {
+ width: 1rem;
+ height: 1rem;
+ flex-shrink: 0;
}
.bottomBar {
- margin-top: 2.5rem;
padding-block: 1rem;
border-top: 1px solid var(--home-hairline);
}
@@ -98,7 +101,7 @@
.desktopMetaLeft,
.desktopMetaRight {
font-family: "Inter", sans-serif;
- font-size: 15px;
+ font-size: 13px;
line-height: 1.5;
color: var(--openui-text-neutral-secondary);
}
@@ -128,7 +131,15 @@
position: relative;
height: 1.5rem;
width: 1.5rem;
- color: var(--openui-text-neutral-tertiary);
+ color: var(--openui-text-neutral-secondary);
+ transition: color 0.15s ease;
+}
+
+/* Steps up to the page's ink under the pointer, so the icon reads as live
+ rather than as a static row. */
+.socialLink:hover,
+.socialLink:focus-visible {
+ color: var(--openui-text-neutral-primary);
}
.socialIconWrap {
@@ -162,60 +173,26 @@
.mobileMetaText {
font-family: "Inter", sans-serif;
- font-size: 12px;
+ font-size: 11px;
line-height: 1.5;
color: var(--openui-text-neutral-secondary);
}
-/* Dark mode: the footer bands sit on var(--openui-foreground) (a dark gray raised
- surface) by default; make them pure black so the footer matches the black page. */
-[data-theme="dark"] .handcraftedSection,
+/* Dark mode: the footer band sits on var(--openui-foreground) (a dark gray raised
+ surface) by default; make it pure black so the footer matches the black page. */
[data-theme="dark"] .contentSection {
background: #000;
}
-@keyframes handcraftedCursorBlink {
- 0%,
- 49% {
- opacity: 1;
- }
-
- 50%,
- 100% {
- opacity: 0;
- }
-}
-
-/* Mobile-only: slightly smaller handcrafted line. */
-@media (max-width: 767px) {
- .handcraftedCopy {
- font-size: 15px;
- }
-}
-
@media (min-width: 1024px) {
- .handcraftedSection {
- padding-inline: 2rem;
- }
-
.contentSection {
padding-inline: 2rem;
}
- .desktopLogoRow {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .mobileLogoRow,
.mobileBottomBar {
display: none;
}
- .bottomBar {
- margin-top: 60px;
- }
-
.desktopBottomBar {
display: flex;
align-items: center;
diff --git a/docs/app/(home)/sections/Footer/Footer.tsx b/docs/app/(home)/sections/Footer/Footer.tsx
index ecb762192..f689a2977 100644
--- a/docs/app/(home)/sections/Footer/Footer.tsx
+++ b/docs/app/(home)/sections/Footer/Footer.tsx
@@ -1,6 +1,8 @@
"use client";
import svgPaths from "@/imports/svg-urruvoh2be";
-import { useId } from "react";
+import { Monitor, Moon, Sun } from "@phosphor-icons/react";
+import { useTheme } from "next-themes";
+import { useId, useSyncExternalStore } from "react";
import styles from "./Footer.module.css";
// ---------------------------------------------------------------------------
@@ -120,15 +122,51 @@ function ThesysLogo() {
);
}
-function HandcraftedMascot() {
+// A segmented control rather than the header's single swap button: down here the
+// current choice is worth showing, and "system" has no opposite to swap to.
+// System sits in the middle, between the two it can resolve to.
+const THEMES = [
+ { id: "light", label: "Light", Icon: Sun },
+ { id: "system", label: "System", Icon: Monitor },
+ { id: "dark", label: "Dark", Icon: Moon },
+] as const;
+
+// Never fires: the value we want differs only between the server snapshot and
+// the client one, which is precisely the "have we hydrated yet" signal.
+const NEVER_CHANGES = () => () => {};
+
+function ThemeTabs() {
+ // `theme`, not `resolvedTheme`: the latter resolves "system" to light or dark,
+ // which would light up the wrong segment.
+ const { setTheme, theme } = useTheme();
+ // The server has no theme to render, so nothing is marked active until mount.
+ // Read as an external store rather than set from an effect, which would kick
+ // off a second render on every mount.
+ const mounted = useSyncExternalStore(
+ NEVER_CHANGES,
+ () => true,
+ () => false,
+ );
+ const active = mounted ? theme : undefined;
+
return (
- // eslint-disable-next-line @next/next/no-img-element
- <img
- className={styles.handcraftedMascot}
- src="/shiro-logo.svg"
- alt=""
- aria-hidden="true"
- />
+ <div className={styles.themeTabs} role="group" aria-label="Colour theme">
+ {THEMES.map(({ id, label, Icon }) => (
+ <button
+ key={id}
+ type="button"
+ className={`${styles.themeTab} ${active === id ? styles.themeTabActive : ""}`.trim()}
+ aria-pressed={active === id}
+ aria-label={`Use ${label.toLowerCase()} theme`}
+ title={`Use ${label.toLowerCase()} theme`}
+ onClick={() => setTheme(id)}
+ >
+ {/* Line weight rather than fill: at 16px the solid shapes read as
+ blobs, and the outline matches the social row below. */}
+ <Icon className={styles.themeTabIcon} weight="regular" aria-hidden="true" />
+ </button>
+ ))}
+ </div>
);
}
@@ -139,31 +177,14 @@ function HandcraftedMascot() {
export function Footer() {
return (
<footer className={styles.footer}>
- {/* Handcrafted */}
- <div className={styles.handcraftedSection}>
- <div className={styles.handcraftedContainer}>
- <div className={styles.mascotWrap}>
- <HandcraftedMascot />
- </div>
- <p className={styles.handcraftedCopy}>
- Handcrafted with a lot of love
- <span aria-hidden="true" className={styles.handcraftedCursor}>
- _
- </span>
- </p>
- </div>
- </div>
-
{/* Footer content */}
<div className={styles.contentSection}>
<div className={styles.contentContainer}>
- {/* Desktop */}
- <div className={styles.desktopLogoRow}>
- <ThesysLogo />
- </div>
- {/* Mobile */}
- <div className={styles.mobileLogoRow}>
+ {/* Mark on the left, theme control on the right, sitting directly on
+ the separator below. */}
+ <div className={styles.brandRow}>
<ThesysLogo />
+ <ThemeTabs />
</div>
{/* Bottom bar */}
diff --git a/docs/app/(home)/sections/LogoStrip/LogoStrip.module.css b/docs/app/(home)/sections/LogoStrip/LogoStrip.module.css
index 900ccfabc..3ea099631 100644
--- a/docs/app/(home)/sections/LogoStrip/LogoStrip.module.css
+++ b/docs/app/(home)/sections/LogoStrip/LogoStrip.module.css
@@ -2,10 +2,6 @@
margin-top: 2.5rem;
}
-.sectionWithLabel {
- padding-inline: 32px;
-}
-
.inner {
display: flex;
align-items: center;
@@ -14,17 +10,6 @@
margin-inline: auto;
}
-.label {
- flex: 0 0 auto;
- margin: 0;
- color: var(--openui-text-neutral-secondary);
- font-family: "Inter Display", sans-serif;
- font-size: 16px;
- font-weight: 500;
- line-height: 24px;
- white-space: nowrap;
-}
-
.marquee {
min-width: 0;
flex: 1;
@@ -69,19 +54,18 @@
margin-inline: 0.25rem;
}
+/* Flattened to the page's ink so the strip reads as one row of marks rather
+ than a spread of brand colours. Both pages share the treatment. */
.logo {
height: 2.5rem;
width: auto;
flex: 0 0 auto;
opacity: 0.5;
- transition: opacity 0.15s ease;
-}
-
-.sectionCloud .logo {
filter: brightness(0);
+ transition: opacity 0.15s ease;
}
-[data-theme="dark"] .sectionCloud .logo {
+[data-theme="dark"] .logo {
filter: brightness(0) invert(1);
}
@@ -99,9 +83,3 @@
height: 3rem;
}
}
-
-@media (max-width: 767px) {
- .sectionWithLabel {
- padding-inline: var(--home-section-padding-inline);
- }
-}
diff --git a/docs/app/(home)/sections/LogoStrip/LogoStrip.tsx b/docs/app/(home)/sections/LogoStrip/LogoStrip.tsx
index a3e319c3b..241827dbe 100644
--- a/docs/app/(home)/sections/LogoStrip/LogoStrip.tsx
+++ b/docs/app/(home)/sections/LogoStrip/LogoStrip.tsx
@@ -32,24 +32,12 @@ const CLOUD_LOGOS: Logo[] = [
second half must mirror the first exactly for a seamless loop. */
const SETS = 4;
-export function LogoStrip({
- label,
- variant = "home",
-}: {
- label?: string;
- variant?: "home" | "cloud";
-}) {
+export function LogoStrip({ variant = "home" }: { variant?: "home" | "cloud" }) {
const logos = variant === "cloud" ? CLOUD_LOGOS : HOME_LOGOS;
return (
- <section
- className={`${styles.section} ${label ? styles.sectionWithLabel : ""} ${
- variant === "cloud" ? styles.sectionCloud : ""
- }`.trim()}
- aria-label="Customers using OpenUI"
- >
+ <section className={styles.section} aria-label="Customers using OpenUI">
<div className={styles.inner}>
- {label && <p className={styles.label}>{label}</p>}
<div className={styles.marquee}>
<div className={styles.track}>
{Array.from({ length: SETS }, (_, set) =>
diff --git a/docs/components/site-marketing-header.tsx b/docs/components/site-marketing-header.tsx
index ecd176aa2..370b2f4b9 100644
--- a/docs/components/site-marketing-header.tsx
+++ b/docs/components/site-marketing-header.tsx
@@ -223,14 +223,10 @@ export function SiteMarketingHeader({
brandVariant={resolvedBrandVariant}
center={<SitePrimaryNav />}
end={
+ // No theme toggle on desktop: the footer's own control owns theme
+ // switching now. The mobile menu below keeps one, since the footer is
+ // a long scroll away on a phone.
<div className={styles.desktopActions}>
- {themeToggle !== null && (
- <ThemeToggle
- onToggle={themeToggle?.onToggle}
- title={themeToggle?.title}
- ariaLabel={themeToggle?.ariaLabel}
- />
- )}
{extraActions}
<GitHubButton
variant="desktopGlow"
diff --git a/docs/public/cloud-features/audit-trails-dark.webp b/docs/public/cloud-features/audit-trails-dark.webp
new file mode 100644
index 000000000..32cb7454e
Binary files /dev/null and b/docs/public/cloud-features/audit-trails-dark.webp differ
diff --git a/docs/public/cloud-features/audit-trails-light.webp b/docs/public/cloud-features/audit-trails-light.webp
new file mode 100644
index 000000000..1535dff1b
Binary files /dev/null and b/docs/public/cloud-features/audit-trails-light.webp differ
diff --git a/docs/public/cloud-features/conversation-history-dark.webp b/docs/public/cloud-features/conversation-history-dark.webp
new file mode 100644
index 000000000..3ceb3c184
Binary files /dev/null and b/docs/public/cloud-features/conversation-history-dark.webp differ
diff --git a/docs/public/cloud-features/conversation-history-light.webp b/docs/public/cloud-features/conversation-history-light.webp
new file mode 100644
index 000000000..322595397
Binary files /dev/null and b/docs/public/cloud-features/conversation-history-light.webp differ
diff --git a/docs/public/cloud-features/dashboards-dark.webp b/docs/public/cloud-features/dashboards-dark.webp
new file mode 100644
index 000000000..c5d14b241
Binary files /dev/null and b/docs/public/cloud-features/dashboards-dark.webp differ
diff --git a/docs/public/cloud-features/dashboards-light.webp b/docs/public/cloud-features/dashboards-light.webp
new file mode 100644
index 000000000..b7c81ac17
Binary files /dev/null and b/docs/public/cloud-features/dashboards-light.webp differ
diff --git a/docs/public/cloud-features/error-correction-dark.webp b/docs/public/cloud-features/error-correction-dark.webp
new file mode 100644
index 000000000..ca0610780
Binary files /dev/null and b/docs/public/cloud-features/error-correction-dark.webp differ
diff --git a/docs/public/cloud-features/error-correction-light.webp b/docs/public/cloud-features/error-correction-light.webp
new file mode 100644
index 000000000..caf4ede59
Binary files /dev/null and b/docs/public/cloud-features/error-correction-light.webp differ
diff --git a/docs/public/cloud-features/image-search-dark.webp b/docs/public/cloud-features/image-search-dark.webp
new file mode 100644
index 000000000..1d968b1b2
Binary files /dev/null and b/docs/public/cloud-features/image-search-dark.webp differ
diff --git a/docs/public/cloud-features/image-search-light.webp b/docs/public/cloud-features/image-search-light.webp
new file mode 100644
index 000000000..17a8fd725
Binary files /dev/null and b/docs/public/cloud-features/image-search-light.webp differ
diff --git a/docs/public/cloud-features/model-fallbacks-dark.webp b/docs/public/cloud-features/model-fallbacks-dark.webp
new file mode 100644
index 000000000..0db35b33f
Binary files /dev/null and b/docs/public/cloud-features/model-fallbacks-dark.webp differ
diff --git a/docs/public/cloud-features/model-fallbacks-light.webp b/docs/public/cloud-features/model-fallbacks-light.webp
new file mode 100644
index 000000000..8d756d3e1
Binary files /dev/null and b/docs/public/cloud-features/model-fallbacks-light.webp differ
diff --git a/docs/public/cloud-features/reports-dark.webp b/docs/public/cloud-features/reports-dark.webp
new file mode 100644
index 000000000..bfdde50e6
Binary files /dev/null and b/docs/public/cloud-features/reports-dark.webp differ
diff --git a/docs/public/cloud-features/reports-light.webp b/docs/public/cloud-features/reports-light.webp
new file mode 100644
index 000000000..1590cf218
Binary files /dev/null and b/docs/public/cloud-features/reports-light.webp differ
diff --git a/docs/public/cloud-features/session-replays-dark.webp b/docs/public/cloud-features/session-replays-dark.webp
new file mode 100644
index 000000000..fe70b8e08
Binary files /dev/null and b/docs/public/cloud-features/session-replays-dark.webp differ
diff --git a/docs/public/cloud-features/session-replays-light.webp b/docs/public/cloud-features/session-replays-light.webp
new file mode 100644
index 000000000..8dcd80a6b
Binary files /dev/null and b/docs/public/cloud-features/session-replays-light.webp differ
diff --git a/docs/public/cloud-features/slides-dark.webp b/docs/public/cloud-features/slides-dark.webp
new file mode 100644
index 000000000..dd6e028bf
Binary files /dev/null and b/docs/public/cloud-features/slides-dark.webp differ
diff --git a/docs/public/cloud-features/slides-light.webp b/docs/public/cloud-features/slides-light.webp
new file mode 100644
index 000000000..57f4db0ca
Binary files /dev/null and b/docs/public/cloud-features/slides-light.webp differ
diff --git a/docs/public/cloud-features/ui-component-library-dark.webp b/docs/public/cloud-features/ui-component-library-dark.webp
new file mode 100644
index 000000000..5b259bcd1
Binary files /dev/null and b/docs/public/cloud-features/ui-component-library-dark.webp differ
diff --git a/docs/public/cloud-features/ui-component-library-light.webp b/docs/public/cloud-features/ui-component-library-light.webp
new file mode 100644
index 000000000..157eae1f4
Binary files /dev/null and b/docs/public/cloud-features/ui-component-library-light.webp differ
diff --git a/docs/public/cloud-features/usage-insights-dark.webp b/docs/public/cloud-features/usage-insights-dark.webp
new file mode 100644
index 000000000..ca29cd54b
Binary files /dev/null and b/docs/public/cloud-features/usage-insights-dark.webp differ
diff --git a/docs/public/cloud-features/usage-insights-light.webp b/docs/public/cloud-features/usage-insights-light.webp
new file mode 100644
index 000000000..9cffb973f
Binary files /dev/null and b/docs/public/cloud-features/usage-insights-light.webp differ
diff --git a/docs/public/cloud-features/web-search-dark.webp b/docs/public/cloud-features/web-search-dark.webp
new file mode 100644
index 000000000..3e73e6f52
Binary files /dev/null and b/docs/public/cloud-features/web-search-dark.webp differ
diff --git a/docs/public/cloud-features/web-search-light.webp b/docs/public/cloud-features/web-search-light.webp
new file mode 100644
index 000000000..8995eb304
Binary files /dev/null and b/docs/public/cloud-features/web-search-light.webp differ