diff --git a/public/images/home/why-fill-palm.webp b/public/images/home/why-fill-palm.webp
new file mode 100644
index 000000000..53ee5b105
Binary files /dev/null and b/public/images/home/why-fill-palm.webp differ
diff --git a/public/images/home/why-fill-sand.webp b/public/images/home/why-fill-sand.webp
new file mode 100644
index 000000000..f220afc34
Binary files /dev/null and b/public/images/home/why-fill-sand.webp differ
diff --git a/public/images/home/why-fill-sun.webp b/public/images/home/why-fill-sun.webp
new file mode 100644
index 000000000..0c21de859
Binary files /dev/null and b/public/images/home/why-fill-sun.webp differ
diff --git a/public/images/home/why-fill-water.webp b/public/images/home/why-fill-water.webp
new file mode 100644
index 000000000..0cc947768
Binary files /dev/null and b/public/images/home/why-fill-water.webp differ
diff --git a/src/blog/introducing-tanstack-oracles.md b/src/blog/introducing-tanstack-oracles.md
index 8535d55a3..e16a48d5e 100644
--- a/src/blog/introducing-tanstack-oracles.md
+++ b/src/blog/introducing-tanstack-oracles.md
@@ -101,13 +101,13 @@ The model keeps task records in a plain JavaScript `Map`. After applying each ba
```ts
function expectedTopTasks(tasks: Iterable) {
return [...tasks]
- .filter(task => !task.completed)
- .sort((a, b) =>
- b.priority - a.priority ||
- (a.id < b.id ? -1 : a.id > b.id ? 1 : 0)
+ .filter((task) => !task.completed)
+ .sort(
+ (a, b) =>
+ b.priority - a.priority || (a.id < b.id ? -1 : a.id > b.id ? 1 : 0),
)
.slice(0, 10)
- .map(task => task.id)
+ .map((task) => task.id)
}
```
@@ -138,7 +138,7 @@ Neither is automatically authoritative. The law records the behavior I've decide
When they disagree, that difference gives the agent a precise clue about what to investigate. It can replay the history, trace how each side arrived at its answer, and work out what needs to change to reconcile them with the law. If the law itself doesn't settle the question, the agent asks me to make the design decision.
-In Oracles, a sequence of actions like this is called a *history*. A **driver** executes those actions against production and records what happens. A **check** compares the observations with the answers calculated by the model.
+In Oracles, a sequence of actions like this is called a _history_. A **driver** executes those actions against production and records what happens. A **check** compares the observations with the answers calculated by the model.
The framework brings these pieces together through `oracleProperty`:
@@ -211,7 +211,7 @@ Constructed histories capture that judgment. I want Oracles to guide agents thro
For that I can add a **calibration**. Take an existing passing history where two equal-priority tasks both fit in the result, so the model expects `[A, B]`. I tell Oracles to feed the checker `[B, A]` instead.
-That deliberately wrong observation is called a *corruption*. I'm not changing production code. I'm checking whether the oracle would recognize this particular mistake.
+That deliberately wrong observation is called a _corruption_. I'm not changing production code. I'm checking whether the oracle would recognize this particular mistake.
Oracles handles the execution: it runs the original history, substitutes the wrong answer, and requires the ordering law to reject it. If the change doesn't take effect, the wrong law fires, or the test crashes for an unrelated reason, the calibration fails.
diff --git a/src/components/ApplicationStarter.tsx b/src/components/ApplicationStarter.tsx
index 29a2032a8..47765bc53 100644
--- a/src/components/ApplicationStarter.tsx
+++ b/src/components/ApplicationStarter.tsx
@@ -144,6 +144,11 @@ function buildCursorStartUrl(prompt: string) {
return `cursor://anysphere.cursor-deeplink/prompt?text=${encodeURIComponent(prompt)}`
}
+// The home prompt box: an outline with no fill. Hover firms the line, press
+// sinks the fill, and focus holds a soft, warmer line with a faint fill.
+const homePromptBoxClassName =
+ 'corner-squircle relative overflow-visible rounded-2xl border border-border-default bg-transparent transition-[background-color,border-color,transform] duration-150 ease-out not-focus-within:hover:border-border-strong/35 hover:bg-background-surface/40 active:scale-[0.997] active:bg-background-surface/80 focus-within:border-border-strong/60 focus-within:bg-background-surface/40 motion-reduce:transition-none'
+
export function ApplicationStarter({
applicationStarterIntegration,
className,
@@ -967,45 +972,16 @@ export function ApplicationStarter({
) : null}
- {/* Home: a warm terracotta glow that grows in from behind the card
- while the prompt is focused, drifting in a slow wave. Sits at
- -z-10 so the opaque card hides all but the bottom bleed. */}
- {isHomeStarter ? (
-
-
+ : (label ??
+ (user ? 'Subscribe with my login' : 'Log in to subscribe'))}
+
{showNote ? (
-
+
{label}
@@ -65,26 +65,26 @@ const tierLayout: Record<
}
> = {
gold: {
- flexBasis: 'basis-full sm:basis-1/2',
- minHeight: 'min-h-[240px]',
- logoMaxWidth: 'max-w-[420px]',
- logoMaxHeight: 'max-h-[130px]',
- padding: 'p-12',
+ flexBasis: 'basis-1/2 lg:basis-1/3',
+ minHeight: 'min-h-[144px]',
+ logoMaxWidth: 'max-w-[240px]',
+ logoMaxHeight: 'max-h-[72px]',
+ padding: 'p-6 sm:p-8',
},
silver: {
- flexBasis: 'basis-full sm:basis-1/2 lg:basis-1/3',
- minHeight: 'min-h-[140px]',
- logoMaxWidth: 'max-w-[200px]',
- logoMaxHeight: 'max-h-[60px]',
- padding: 'p-8',
- },
- bronze: {
flexBasis: 'basis-1/2 sm:basis-1/3 lg:basis-1/4',
- minHeight: 'min-h-[120px]',
- logoMaxWidth: 'max-w-[130px]',
+ minHeight: 'min-h-[104px]',
+ logoMaxWidth: 'max-w-[150px]',
logoMaxHeight: 'max-h-[44px]',
padding: 'p-6',
},
+ bronze: {
+ flexBasis: 'basis-1/3 sm:basis-1/4 lg:basis-1/5',
+ minHeight: 'min-h-[88px]',
+ logoMaxWidth: 'max-w-[110px]',
+ logoMaxHeight: 'max-h-[32px]',
+ padding: 'p-4',
+ },
}
function PartnerGridItem({
diff --git a/src/components/PartnersPyramid.tsx b/src/components/PartnersPyramid.tsx
new file mode 100644
index 000000000..d7b952b8b
--- /dev/null
+++ b/src/components/PartnersPyramid.tsx
@@ -0,0 +1,258 @@
+import * as React from 'react'
+import {
+ PartnerImage,
+ getPartnerHref,
+ partnerTierLabels,
+ partners as allPartners,
+ type PartnerTier,
+} from '~/utils/partners'
+import {
+ getPartnerPlacementAnalyticsMetadata,
+ getPartnerTierGroupsForPlacement,
+ type PartnerPlacementContext,
+} from '~/utils/partner-placement'
+import { usePartnerPlacementContext } from '~/utils/usePartnerPlacementContext'
+import {
+ trackEvent,
+ useTrackedImpression,
+ type PartnerPlacement,
+} from '~/utils/analytics'
+
+// Centered and borderless: whitespace and logo scale alone carry the hierarchy.
+// Each tier is introduced by a hairline with its name set in it, which doubles
+// as the section's heading — there is no separate "Partners" title.
+
+type Partner = (typeof allPartners)[number]
+
+export const partnerRuleHeadingClassName =
+ 'font-ds-mono text-ds-mono-xs uppercase tracking-wider text-text-muted'
+
+// Equal visual weight: every logo in a tier is drawn at the same *area*, not
+// fitted into the same box. A box makes a wide wordmark tiny and a compact mark
+// huge; a fixed area gives the wide one more width and the compact one more
+// height, so they read as the same size. Each tier steps down by 0.75 linear
+// (0.5625 area), matching the DS partner-logo rubric.
+const tierArea: Record = {
+ gold: 12000,
+ silver: 6750,
+ bronze: 3800,
+}
+
+// Tallest a logo may get, so a near-square mark can't outgrow its row.
+const tierMaxHeight: Record = {
+ gold: 70,
+ silver: 54,
+ bronze: 40,
+}
+
+const FALLBACK_ASPECT = 4
+
+// Equal area assumes the artwork fills its own frame. These logos don't — the
+// file carries decoration or padding around the wordmark — so they need a
+// linear boost to read at the same weight as their neighbours.
+const opticalBoost: Partial> = {
+ netlify: 1.3,
+}
+
+function AreaLogo({
+ id,
+ image,
+ name,
+ tier,
+}: {
+ id: string
+ image: Partner['image']
+ name: string
+ tier: PartnerTier
+}) {
+ const ref = React.useRef(null)
+ // The logo's own width/height ratio, read from the loaded image.
+ const [aspect, setAspect] = React.useState(FALLBACK_ASPECT)
+
+ React.useEffect(() => {
+ const element = ref.current
+ if (!element) return
+ const images = Array.from(element.querySelectorAll('img'))
+ const read = () => {
+ const loaded = images.find(
+ (img) => img.naturalWidth > 0 && img.naturalHeight > 0,
+ )
+ if (loaded) setAspect(loaded.naturalWidth / loaded.naturalHeight)
+ }
+ read()
+ images.forEach((img) => img.addEventListener('load', read))
+ return () => images.forEach((img) => img.removeEventListener('load', read))
+ }, [])
+
+ const height =
+ Math.min(Math.sqrt(tierArea[tier] / aspect), tierMaxHeight[tier]) *
+ (opticalBoost[id] ?? 1)
+
+ return (
+ // `max-w-full` is a guard for unusually wide wordmarks; the image keeps
+ // its ratio, so only the size changes. The per-logo optical `scale` is
+ // dropped: it was tuned for box-fitting.
+
+
+
+ )
+}
+
+// Logos are sized for the widest layout and scaled down as one group through
+// `--logo-scale`, so every logo shrinks by the same factor and the tiers keep
+// their relative weight. Each step is the largest scale at which the widest
+// gold wordmark still fits its cell at that breakpoint's column count.
+const logoScaleClassName =
+ '[--logo-scale:0.55] sm:[--logo-scale:0.65] md:[--logo-scale:0.78] lg:[--logo-scale:0.8] xl:[--logo-scale:1]'
+
+// `min-w-0` lets a cell be narrower than its logo's preferred width; without it
+// the flex row drops to fewer columns instead of shrinking the logo.
+const tierItem: Record = {
+ gold: 'min-w-0 h-[calc(110px*var(--logo-scale))] basis-1/2 sm:basis-1/3 lg:basis-1/4',
+ silver:
+ 'min-w-0 h-[calc(92px*var(--logo-scale))] basis-1/2 sm:basis-1/3 xl:basis-1/5',
+ bronze:
+ 'min-w-0 h-[calc(74px*var(--logo-scale))] basis-1/2 sm:basis-1/4 xl:basis-1/6',
+}
+
+/** A hairline rule with a heading set in the middle of it. */
+export function PartnerRuleHeading({
+ children,
+}: {
+ children: React.ReactNode
+}) {
+ return (
+