Skip to content

fix(seo): JSON-LD structured data and sitemap hostname#423

Merged
gabitoesmiapodo merged 4 commits intofeat/ai-integrationfrom
fix/seo
Mar 30, 2026
Merged

fix(seo): JSON-LD structured data and sitemap hostname#423
gabitoesmiapodo merged 4 commits intofeat/ai-integrationfrom
fix/seo

Conversation

@gabitoesmiapodo
Copy link
Copy Markdown
Collaborator

Summary

  • Add Organization and WebApplication JSON-LD schemas to index.html
  • Make sitemap hostname configurable via PUBLIC_APP_URL env var (fallback: demo.dappbooster.dev)

Test plan

  • pnpm test passes
  • Validate JSON-LD with Google Rich Results Test

Copilot AI review requested due to automatic review settings March 23, 2026 21:45
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
components.dappbooster Ready Ready Preview, Comment Mar 30, 2026 6:34pm
demo.dappbooster Ready Ready Preview Mar 30, 2026 6:34pm
docs.dappbooster Ready Ready Preview, Comment Mar 30, 2026 6:34pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds SEO-related structured data and makes sitemap generation use a configurable base URL so deployments can emit correct absolute links.

Changes:

  • Configure vite-plugin-sitemap hostname via PUBLIC_APP_URL (with a fallback).
  • Add Organization and WebApplication JSON-LD structured data to index.html.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
vite.config.ts Switch sitemap hostname to be driven by PUBLIC_APP_URL instead of a hardcoded domain.
index.html Embed JSON-LD schema definitions for richer search engine metadata.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- Add Organization and WebApplication JSON-LD schemas to index.html
- Make sitemap hostname configurable via PUBLIC_APP_URL env var
  with fallback to demo.dappbooster.dev
?? only falls back on null/undefined; an empty string (the default in
.env.example) would pass through as the hostname and produce an invalid
sitemap. || also handles empty strings.
@gabitoesmiapodo
Copy link
Copy Markdown
Collaborator Author

#423 (comment)

@fernandomg neither did I... hence my repeated answer to whoever complains about our shitty SEO: "There are people who work exclusively on this."

@gabitoesmiapodo gabitoesmiapodo self-assigned this Mar 30, 2026
Base automatically changed from fix/performance to feat/ai-integration March 30, 2026 18:55
@gabitoesmiapodo gabitoesmiapodo merged commit 421d074 into feat/ai-integration Mar 30, 2026
6 checks passed
@gabitoesmiapodo gabitoesmiapodo deleted the fix/seo branch March 30, 2026 18:56
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