Skip to content

fix(home): render one Organization node, the layer's - #91

Merged
alexgrozav merged 1 commit into
mainfrom
organization-node-uxf-804
Nov 18, 2026
Merged

alexgrozav merged 1 commit into
mainfrom
organization-node-uxf-804

Conversation

@alexgrozav

Copy link
Copy Markdown
Contributor

What changed

The homepage described the organisation twice in its JSON-LD: once from useUxHead and once in the page's own @graph, both with the @id https://opencomponents.dev/#organization. Since @uxfront/layer-ui 0.1.11, useUxHead takes a logo, so the page now passes it logo: "/apple-touch-icon.png" beside sameAs and drops its own copy. WebSite and SoftwareSourceCode still point at the layer's node by @id, and the comment above the @graph now says so.

pnpm check-seo now fails when two JSON-LD nodes on one page share an @id, in the same block or another, so a second copy can't come back and drift from the first. On main it fails on the homepage with two JSON-LD nodes with the @id https://opencomponents.dev/#organization.

The Schema.org validator reads the built homepage's JSON-LD with 0 errors and 0 warnings, and merges the layer's Organization (name, url, logo, sameAs, description) into both publisher references.

Checklist

  • The title follows Conventional Commits, as in feat(docs): add the focus guideline.
  • pnpm check-types passes.
  • Docs changes: the pages read well on pnpm dev. (No docs changes.)
  • Homepage changes: pnpm build, then pnpm lighthouse, still scores 100 in every category.

The homepage's @graph had its own copy of the Organization that useUxHead renders, with the same @id. Pass the logo to useUxHead instead, and make check-seo fail on two JSON-LD nodes that share an @id.

Co-authored-by: multica-agent <github@multica.ai>
@alexgrozav
alexgrozav marked this pull request as ready for review November 18, 2026 13:02
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://organization-node-uxf-804.opencomponents.dev, https://organization-node-uxf-804-opencomponents.blue-water-0397.workers.dev (commit 7c0d1a4)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e2a39966.opencomponents.dev, https://e2a39966-opencomponents.blue-water-0397.workers.dev 7c0d1a4 2026-11-18T13:05:31.073Z Visit the dashboard ↗

@alexgrozav
alexgrozav merged commit 083a7a9 into main Nov 18, 2026
5 checks passed
@alexgrozav
alexgrozav deleted the organization-node-uxf-804 branch November 18, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant