Show packaged proof on the homepage

This commit is contained in:
axiomlogicnexus 2026-06-24 12:34:39 +00:00
parent 1dbb9562cb
commit af321d78b2
2 changed files with 30 additions and 0 deletions

View file

@ -355,6 +355,8 @@ describe('public marketing pages', () => {
expect(screen.getAllByText('Preview posture').length).toBeGreaterThan(0)
expect(screen.getAllByText('Paddle webhook secret: missing').length).toBeGreaterThan(0)
expect(screen.getAllByText(/public auth runtime posture/i).length).toBeGreaterThan(0)
expect(screen.getByText('Current packaged desktop proof')).toBeTruthy()
expect(screen.getByText('Packaged validation passed')).toBeTruthy()
expect(screen.getByText('How a real first session flows')).toBeTruthy()
expect(screen.getAllByText('Current surface authority map').length).toBeGreaterThan(0)
expect(screen.getAllByText('Native Unreal desktop runtime').length).toBeGreaterThan(0)

View file

@ -41,6 +41,20 @@ import {
} from './public-page-helpers'
export function HomeLanding() {
const releaseManifestQuery = useQuery({
queryKey: ['release-manifest', 'public-home'],
queryFn: getReleaseManifest,
retry: false,
})
const releaseManifest = useMemo(
() => resolveReleaseManifestView(releaseManifestQuery.data?.manifest, buildPublicReleaseManifestFallback()),
[releaseManifestQuery.data?.manifest],
)
const windowsValidationPlatform = useMemo(
() => releaseManifest.platforms.find((platform) => platform.platform_key === 'windows' && platform.validation_summary) ?? null,
[releaseManifest],
)
return (
<>
<SiteMetadata
@ -175,6 +189,20 @@ export function HomeLanding() {
</div>
</Section>
{windowsValidationPlatform ? (
<Section title="Current packaged desktop proof">
<ReleaseValidationSummary platform={windowsValidationPlatform} />
<div className="button-row top-gap">
<Link className="button button--ghost" to="/download">
Open download center
</Link>
<Link className="button button--ghost" to="/changelog">
Review release notes
</Link>
</div>
</Section>
) : null}
<Section
title="How a real first session flows"
description="This is the public-facing operator path from curiosity into the actual simulator lane, without pretending the browser already replaced the desktop runtime."