Skip to content

Add schema.org and JSONLD to pages#16186

Merged
pettinarip merged 45 commits into
devfrom
jsonLD
Sep 17, 2025
Merged

Add schema.org and JSONLD to pages#16186
pettinarip merged 45 commits into
devfrom
jsonLD

Conversation

@corwintines
Copy link
Copy Markdown
Member

@corwintines corwintines commented Sep 5, 2025

…g metadata, breadcrumb navigation, and item list details
…etadata, breadcrumb navigation, and community resources details
…uding acknowledgements, contributors, and translatathon leaderboard with metadata and breadcrumb navigation
…adata, breadcrumb navigation, and resource details for tutorials, learning tools, local environment, and main developers page
…metadata, breadcrumb navigation, and publisher information
…ata, breadcrumb navigation, and publisher information
@netlify
Copy link
Copy Markdown

netlify Bot commented Sep 5, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 070c35d
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/68ca9810766ec30008bd4fea
😎 Deploy Preview https://deploy-preview-16186--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 45 (🔴 down 6 from production)
Accessibility: 94 (🔴 down 1 from production)
Best Practices: 92 (🔴 down 8 from production)
SEO: 92 (no change 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.

@github-actions github-actions Bot added the tooling 🔧 Changes related to tooling of the project label Sep 5, 2025
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.

@corwintines maybe a late comment on this work but was wondering if we could abstract this code in a separate file to avoid adding too many things in each file and see if we can avoid some duplication

new-page/
├─ page.tsx
├─ page-jsonld.ts // exports an adapted PageJsonLD component to be used in page.tsx

components/
├─ PageJsonLD.tsx // generic component that prints the `script` tags

We could set a pattern for all pages to look like this.

At the page level

import PageJsonLD from "./page-jsonld"

return (
  <PageJsonLD {...frontmatter} />

  ...rest
)

===
related issue to the mindset I had for this implementation.

@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels Sep 10, 2025
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.

@corwintines I've found two small issues. The rest looks great 👍🏼

Comment thread app/[locale]/wallets/_components/wallets.tsx
Comment thread app/[locale]/page-jsonld.tsx Outdated
Comment thread app/[locale]/eth/_components/page-jsonld.tsx
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.

@corwintines nice work. I'll patch the issues commented and bring this in.

Something we could improve later are pages with product listings, where we have invalid items
image

some of those pages are (not 100% sure if there are more):

Comment thread app/[locale]/get-eth/page.tsx
Comment thread app/[locale]/10years/page-jsonld.tsx Outdated
@pettinarip pettinarip merged commit 636cdea into dev Sep 17, 2025
6 of 7 checks passed
@pettinarip pettinarip deleted the jsonLD branch September 17, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content 🖋️ This involves copy additions or edits tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants