Skip to content

[Web] SEO and metadata β€” OpenGraph, Twitter cards, sitemap, robots.txtΒ #6

@ryzen-xp

Description

@ryzen-xp

πŸ“ Description

Add proper SEO metadata, OpenGraph and Twitter card tags, a sitemap, and robots.txt to Alien Protocol Web. Each /@username resolver page should generate dynamic OG metadata so that links shared on social media show the username and linked address preview.

βœ… Requirements

  • Global <head> meta: title, description, OG image, Twitter card
  • Dynamic OG metadata for /@username pages: "@username | Alien Gateway" + address preview
  • sitemap.xml generated at build time for static pages
  • robots.txt allowing crawl of all public pages
  • OG image: generate per-username with the Alien Protocol logo + @username text

🎯 Acceptance Criteria

  • OG tags present on all pages (verify with OpenGraph debugger)
  • Dynamic /@username pages generate correct OG title and description
  • sitemap.xml reachable at /sitemap.xml
  • robots.txt at /robots.txt
  • Lighthouse SEO score = 100

πŸ“ Expected files to change/structure

  • src/app/layout.tsx or pages/_app.tsx β€” global meta
  • src/app/[username]/page.tsx β€” dynamic meta
  • public/robots.txt
  • scripts/generate-sitemap.ts

🌿 Branch: feat/web-seo-metadata | Priority: LOW | Difficulty: β˜• easy

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions