Skip to content

feat: improve sitelink SEO with breadcrumbs and stronger navigation#259

Merged
johnnyjoygh merged 1 commit intomainfrom
improve-nextjs-sitelinks-seo
Apr 2, 2026
Merged

feat: improve sitelink SEO with breadcrumbs and stronger navigation#259
johnnyjoygh merged 1 commit intomainfrom
improve-nextjs-sitelinks-seo

Conversation

@johnnyjoygh
Copy link
Copy Markdown
Collaborator

@johnnyjoygh johnnyjoygh commented Apr 2, 2026

Summary by CodeRabbit

Release Notes

  • New Features

    • Added "Discover" section on the homepage with shortcuts to documentation, blog, changelog, features, pricing, and use cases.
    • Added breadcrumb navigation across multiple pages for easier navigation.
    • Added a new pricing page.
  • Improvements

    • Reorganized footer with new "Explore" navigation section.
    • Simplified hero animations for better performance.
    • Enhanced SEO metadata and structured data across the site.
  • Chores

    • Updated web crawler permissions to index static assets.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 2, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b603696d-0a74-476e-9ed6-10dc284d93b3

📥 Commits

Reviewing files that changed from the base of the PR and between 74b5078 and ec15b9e.

📒 Files selected for processing (24)
  • public/robots.txt
  • src/app/(home)/page.tsx
  • src/app/blog/[slug]/page.tsx
  • src/app/blog/page.tsx
  • src/app/brand/page.tsx
  • src/app/changelog/[slug]/page.tsx
  • src/app/changelog/page.tsx
  • src/app/docs/[...slug]/page.tsx
  • src/app/docs/page.tsx
  • src/app/features/[slug]/page.tsx
  • src/app/features/page.tsx
  • src/app/layout.config.tsx
  • src/app/layout.tsx
  • src/app/pricing/page.tsx
  • src/app/privacy/page.tsx
  • src/app/sitemap.ts
  • src/app/sponsors/page.tsx
  • src/app/use-cases/[slug]/page.tsx
  • src/app/use-cases/page.tsx
  • src/components/breadcrumbs.tsx
  • src/components/footer.tsx
  • src/components/hero-section.tsx
  • src/components/home-discover-section.tsx
  • src/lib/seo.ts

📝 Walkthrough

Walkthrough

This PR introduces comprehensive SEO enhancements and breadcrumb navigation across the site. A new src/lib/seo.ts module provides centralized metadata and JSON-LD builders. Breadcrumb components and structured data are added to multiple pages. Metadata handling is standardized using buildMarketingMetadata(). Components are refactored—notably, Framer Motion animations are removed from HeroSection, and footer navigation is reorganized. Navigation configuration is centralized via SITE_NAV_ITEMS.

Changes

Cohort / File(s) Summary
SEO & Breadcrumb Infrastructure
src/lib/seo.ts, src/components/breadcrumbs.tsx
New Breadcrumbs React component and centralized seo.ts module with metadata builders (buildMarketingMetadata, buildBreadcrumbJsonLd, buildSiteNavigationJsonLd), navigation constants (SITE_NAV_ITEMS), and URL helpers.
Marketing Pages with Metadata & Breadcrumbs
src/app/blog/page.tsx, src/app/pricing/page.tsx, src/app/privacy/page.tsx, src/app/brand/page.tsx, src/app/sponsors/page.tsx, src/app/features/page.tsx, src/app/use-cases/page.tsx, src/app/changelog/page.tsx
Replaced static metadata objects with buildMarketingMetadata() calls; added breadcrumb UI components and JSON-LD structured data; updated page titles (e.g., "Blogs" → "Blog", "Pricing - Memos" → "Pricing").
Documentation & Feature Pages
src/app/docs/page.tsx, src/app/docs/[...slug]/page.tsx, src/app/features/[slug]/page.tsx, src/app/blog/[slug]/page.tsx, src/app/use-cases/[slug]/page.tsx, src/app/changelog/[slug]/page.tsx
Added breadcrumb rendering and JSON-LD generation; updated generateMetadata title fields to remove hardcoded suffixes (e.g., "- Memos", "- Memos Features").
Component Refactoring
src/components/hero-section.tsx, src/components/home-discover-section.tsx, src/components/footer.tsx
Removed Framer Motion animations from HeroSection; added new HomeDiscoverSection component with discovery links grid; reorganized footer layout with "Explore", "Community", "Resources" columns and updated internal/external link targets.
Layout & Navigation Configuration
src/app/layout.tsx, src/app/layout.config.tsx
Added site navigation JSON-LD generation in main layout; centralized navigation links in layout.config.tsx using SITE_NAV_ITEMS; removed aggregateRating and softwareVersion from software JSON-LD.
Home Page
src/app/(home)/page.tsx
Added import and render of new <HomeDiscoverSection /> component.
Configuration & Metadata
src/app/sitemap.ts, public/robots.txt
Added /pricing entry to sitemap; removed Disallow directive for /_next/static/ in robots.txt.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~50 minutes

Possibly related PRs

  • PR #256: Modifies the same src/components/hero-section.tsx file with a type-only import change, while this PR substantially rewrites the component by removing Framer Motion animations—potential merge conflict or interaction.

Poem

🐰 Through crumbling breadcrumbs we hop and we trace,
Each page now has markers to find its own place,
With structured data following close at our tail,
SEO helpers ensure the search engines won't fail,
No jittery motions, just clear paths ahead—
A well-mapped journey through what users have read! 🥕✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch improve-nextjs-sitelinks-seo

Comment @coderabbitai help to get the list of available commands and usage tips.

@johnnyjoygh johnnyjoygh merged commit 1ad0f5f into main Apr 2, 2026
4 of 5 checks passed
@johnnyjoygh johnnyjoygh deleted the improve-nextjs-sitelinks-seo branch April 2, 2026 10:11
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