Blocks/SEO Toolkit
BeginnerUtility

SEO Toolkit

Metadata, sitemap, robots.txt, JSON-LD schemas

Full SEO setup for Next.js 14: buildMetadata() helper with OG/Twitter Cards, noIndex helper, product/org/article/breadcrumb/software JSON-LD schemas, a JsonLd component for injection, buildSitemapEntry() helper, sitemap.ts and robots.ts templates, and hreflang alternate link support.

4h
Time saved
284
Lines of code
100%
TypeScript
#seo#metadata#sitemap#json-ld

Code preview

blocks/seo/index.ts
1export const metadata = buildMetadata({
2 title: 'Auth System — $19',
3 description: 'Full NextAuth.js with RBAC…',
4 image: '/api/og?title=Auth+System&price=19',
5})
6
7var(--text-3);font-style:italic">// JSON-LD in the page:
8<JsonLd schema={productJsonLd({ name: 'Auth System', description: '…', price: 19 })} />

Short excerpt. Full block includes SQL migrations, error handling, RLS policies, and complete file structure.

$9

One-time · Instant GitHub access

Instant GitHub repo access

Own the code forever

Free updates

You might also like