Add SeoHead, apply site-wide SEO, include sitemap and update deps #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
robots.txt.Description
components/SeoHead.jswhich provides defaults fortitle,description, canonicalurl, Open Graph and Twitter metadata and supportsnoIndexandchildrenfor extra tags.<Head>blocks withSeoHeadusage inpages/_app.js,pages/index.js,pages/merchants.js, andpages/merchants/[merchant_id].js, passing page-specifictitle,description,image,url, andtype, and preservingog:image:width/og:image:heightby supplying them as children where needed.web/index.jsrobots.txthandler to includeSitemap: https://pcc.mlwmlw.org/sitemap.xml.npm install --legacy-peer-deps, which updatedpackage-lock.jsonto reflect the resolved dependency graph.Testing
npm install --legacy-peer-depsto install dependencies and regeneratepackage-lock.json, which completed (with standard audit warnings).npm run build(Next.js production build) which completed successfully and produced optimized pages and route sizes.Codex Task