Skip to content

feat(seo): structured data, FAQ, blog (12 posts) + on-page SEO - #9

Merged
pythonsst merged 1 commit into
mainfrom
feat/seo-structured-data
Jun 28, 2026
Merged

feat(seo): structured data, FAQ, blog (12 posts) + on-page SEO#9
pythonsst merged 1 commit into
mainfrom
feat/seo-structured-data

Conversation

@pythonsst

@pythonsst pythonsst commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Goal

Help SnapBiodata rank for searches like marriage biodata, biodata maker, biodata format, shaadi/rishta biodata and many long-tail variants — using legitimate, durable SEO (no spammy tricks).

What's in this PR

Structured data (JSON-LD)

  • Home: Organization, WebSite, free WebApplication (price 0 / isAccessibleForFree), and FAQPage.
  • Blog index: Blog; each post: Article + BreadcrumbList.
  • Built from site constants in pure, unit-tested helpers (src/lib/seo.ts, src/lib/blog.ts).

Content

  • 14 FAQs on the landing page (visible + mirrored in FAQPage schema), written around real queries.
  • Blog with 12 articles at /blog — how-to, biodata format, photo tips, biodata for girl/boy, shaadi format, biodata vs resume, family details, mistakes, WhatsApp sharing, Word vs online. Each is statically generated, internally links to /create, and targets short- + long-tail keywords.
  • Hero positioning line ("Your fast, easy and free biodata maker") + a natural-language intro/about section (rewritten from the suggested copy to avoid keyword stuffing).

Metadata & crawlability

  • /create now has its own title/description/canonical (via a server-component layout — it's a client page).
  • Per-post canonical + OpenGraph article metadata; /blog canonical.
  • Sitemap now includes /blog and all 12 posts.
  • Optional Google Search Console verification via GOOGLE_SITE_VERIFICATION env.
  • Fixed manifest icon (was a non-existent /favicon.ico).

Privacy-respecting feedback

  • Added a Feedback (mailto) link instead of a third-party chatbot — keeps the "data stays on device" promise; a chatbot would ship visitor data off-device and slow the page.

Implementation notes

  • Markdown is rendered with react-markdown at build time in server components → zero client JS added. Styled via a Tailwind component map (no typography plugin).
  • The FAQ list and blog posts are each a single source of truth driving both the visible UI and the structured data, so they can't drift.

Quality gates

  • npm run lint
  • npm test ✅ — 61 passing (18 new: SEO + blog, incl. an integrity check that every in-body blog link resolves to a real route)
  • npm run build ✅ — all 12 posts prerendered as static HTML
  • Verified served HTML: JSON-LD types, FAQ section, blog rendering, canonicals, and sitemap entries.

Owner to-do (not code — SEO needs these)

  1. Set GOOGLE_SITE_VERIFICATION in Vercel; verify the domain in Google Search Console and submit sitemap.xml.
  2. Add the site to Bing Webmaster Tools (covers Bing/Yahoo/DuckDuckGo). Skip random "submit your URL" directory sites — they're low-quality and can hurt.
  3. Validate rich results with Google's Rich Results Test on the preview URL.

🤖 Generated with Claude Code

Improve organic discoverability for "marriage biodata", "biodata maker"
and related queries:

- Add JSON-LD structured data on the home page (Organization, WebSite,
  free WebApplication, and FAQPage) so Google can render rich results
  and the "free" badge. Built from site constants in a pure, unit-tested
  helper (src/lib/seo.ts).
- Add a visible FAQ section whose answers mirror the FAQPage schema
  (Google requires on-page text to match), targeting long-tail queries.
- Give /create its own title/description/canonical via a server-component
  layout (the page is a client component and can't export metadata).
- Wire optional Google Search Console verification via env var.
- Fix manifest icon (referenced a non-existent /favicon.ico → /icon.svg).

lint, test (50 passing, incl. 7 new), and build all green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
snapbiodata Ready Ready Preview, Comment Jun 28, 2026 7:19am

@pythonsst
pythonsst merged commit 7abcf64 into main Jun 28, 2026
3 checks passed
@pythonsst pythonsst changed the title feat(seo): structured data, FAQ section + per-page metadata feat(seo): structured data, FAQ, blog (12 posts) + on-page SEO Jun 28, 2026
pythonsst added a commit that referenced this pull request Jun 28, 2026
feat(blog+seo): 12-post blog, 14 FAQs, hero tagline (missed by PR #9 merge)
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