Skip to content

feat: dynamic SEO footer from content manifest#1779

Open
chip-peanut-bot[bot] wants to merge 1 commit intodevfrom
chip/footer-dynamic-manifest
Open

feat: dynamic SEO footer from content manifest#1779
chip-peanut-bot[bot] wants to merge 1 commit intodevfrom
chip/footer-dynamic-manifest

Conversation

@chip-peanut-bot
Copy link
Contributor

What

Replaces hardcoded arrays in SEOFooter.tsx with a JSON import from @/content/generated/footer-manifest.json, generated by peanut-content.

New footer structure (4 columns)

Send Money Compare Articles Resources
Send to Argentina vs Wise Digital Nomads in LATAM Help Center
Send to Brazil vs Western Union Pay LATAM Contractors Pricing
Send to Mexico vs PayPal Send Money to Family Supported Networks
Send to Colombia vs Revolut Verification Guide Terms
Send from US vs Binance P2P Fees & Pricing Jobs
Send from Spain
Send from Portugal
Send from Germany
Send from UK
Send from France

Changes

  • SEOFooter.tsx: imports from manifest JSON instead of hardcoded arrays
  • Extracts FooterColumn and FooterLink components for cleaner rendering
  • Handles external links (Terms, Jobs → Notion) with target="_blank"

Dependency

Requires peanutprotocol/peanut-content#15 merged and submodule updated first — the generated/footer-manifest.json file needs to exist in the content submodule.

How to update the footer going forward

  1. Add featured: true to any content page frontmatter in peanut-content
  2. Run node scripts/generate-footer-manifest.js
  3. Deploy content → submodule update → footer updates automatically

No more editing SEOFooter.tsx manually.

Replace hardcoded arrays in SEOFooter.tsx with import from
@/content/generated/footer-manifest.json (generated by peanut-content).

New structure: 4 columns (Send Money, Compare, Articles, Resources).
Send Money combines to/from entries in one column.

Requires: peanutprotocol/peanut-content#15 merged + submodule updated.
@vercel
Copy link

vercel bot commented Mar 20, 2026

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

Project Deployment Actions Updated (UTC)
peanut-wallet Error Error Mar 20, 2026 4:23pm

Request Review

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.

0 participants