Skip to content

feat(seo): JSON-LD for /community/ subpages#18017

Merged
pettinarip merged 3 commits into
devfrom
jsonld-community
Apr 23, 2026
Merged

feat(seo): JSON-LD for /community/ subpages#18017
pettinarip merged 3 commits into
devfrom
jsonld-community

Conversation

@myelinated-wackerow
Copy link
Copy Markdown
Collaborator

@myelinated-wackerow myelinated-wackerow commented Apr 22, 2026

Summary

Adds structured data for the four /community/ subpages that were previously missing page-jsonld.tsx files.

What's added

  • /community/events/meetupsCollectionPage + ItemList of Event nodes, built from the server-side event feed. Legacy undated community groups are rendered on the page but excluded from the schema (Event requires startDate).
  • /community/events/conferencesCollectionPage + ItemList typed per event: ConferenceEvent, Hackathon, or generic Event as a fallback.
  • /community/events/searchWebPage with a potentialAction SearchAction for the ?q= search endpoint.
  • /community/supportWebPage + flat ItemList of the page's outgoing links, derived from the page's card sections data struct (see note below) plus the Discord CTA.

Each page's page.tsx fetches contributors via getAppPageContributorInfo and renders the new JsonLD component alongside existing content, matching the pattern used elsewhere on the site.

Refactor note

The /community/support page was also refactored to pull its link cards out of JSX and into a sibling data.tsx file (shape typed in types.ts). The new page-jsonld.tsx consumes that same data, flat-mapping the card items so the JSON-LD link list stays in sync with the rendered page -- no duplication, single source of truth.


Generated by Claude Opus 4.7

myelinated-wackerow and others added 2 commits April 22, 2026 13:43
For reusability in JSONLD

Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
Adds page-jsonld.tsx files for the four /community/ subpages that
were missing structured data, each following the site's established
pattern (BASE_GRAPH_NODES, REFERENCE.*, full breadcrumbs):

- /community/events/meetups: CollectionPage + ItemList of Event nodes,
  built from the server-side event feed (dated events only -- legacy
  community groups without startTime are excluded).
- /community/events/conferences: CollectionPage + ItemList, typed per
  event (ConferenceEvent, Hackathon, or generic Event fallback).
- /community/events/search: WebPage with potentialAction SearchAction
  for the ?q= search endpoint.
- /community/support: WebPage + ItemList of the page's outgoing links,
  derived from the card sections data (plus the Discord CTA).

Each page.tsx fetches contributors via getAppPageContributorInfo and
renders the JsonLD component alongside the existing content.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 22, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 46ed2ab
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69ea3419f52db10008ffad87
😎 Deploy Preview https://deploy-preview-18017.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 58 (no change from production)
Accessibility: 93 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but we left some comments that we should cleanup before merging

Comment thread app/[locale]/community/support/data.tsx Outdated
@pettinarip pettinarip merged commit 525019d into dev Apr 23, 2026
10 checks passed
@pettinarip pettinarip deleted the jsonld-community branch April 23, 2026 15:50
@wackerow wackerow mentioned this pull request Apr 24, 2026
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.

3 participants