From 564a0e74709ca0ef246ed3ea1fb3827e0c79379c Mon Sep 17 00:00:00 2001 From: ghzhost Date: Fri, 21 Aug 2026 21:07:02 +0000 Subject: [PATCH] fix(seo): add sitemap reference to robots.txt, metadata to not-found and descriptions across public pages (#246, #247, #249, #250) --- src/app/connect/page.tsx | 1 + src/app/issues/page.tsx | 1 + src/app/milestones/page.tsx | 1 + src/app/not-found.tsx | 4 ++++ src/app/robots.ts | 4 ++++ 5 files changed, 11 insertions(+) diff --git a/src/app/connect/page.tsx b/src/app/connect/page.tsx index 06ee827..f1bd589 100644 --- a/src/app/connect/page.tsx +++ b/src/app/connect/page.tsx @@ -2,6 +2,7 @@ import { ConnectPanel } from "./ConnectPanel"; export const metadata = { title: "Connect | MergeFi", + description: "Connect your GitHub account and Stellar wallet to start claiming bounties or funding open source issues.", }; export default function ConnectPage() { diff --git a/src/app/issues/page.tsx b/src/app/issues/page.tsx index ed1e81d..4ca2530 100644 --- a/src/app/issues/page.tsx +++ b/src/app/issues/page.tsx @@ -4,6 +4,7 @@ import { BountyCard } from "@/components/bounty/BountyCard"; export const metadata = { title: "Paid Issues | MergeFi", + description: "Browse funded bounties backed by on-chain Soroban escrow on Stellar. Solve issues and earn USDC instantly upon merge.", }; export default async function IssuesPage() { diff --git a/src/app/milestones/page.tsx b/src/app/milestones/page.tsx index 16cf0af..866e7c5 100644 --- a/src/app/milestones/page.tsx +++ b/src/app/milestones/page.tsx @@ -5,6 +5,7 @@ import { MilestoneFundButton, PoolDepositButton } from "./MilestoneActions"; export const metadata = { title: "Milestones | MergeFi", + description: "Fund entire open source milestones or maintenance pools with escrow-backed milestone budgets on Stellar.", }; export default async function MilestonesPage() { diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index aa4c118..0521e00 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,3 +1,7 @@ +export const metadata = { + title: "Page Not Found | MergeFi", +}; + import Link from "next/link"; import { Button } from "@/components/ui/Button"; diff --git a/src/app/robots.ts b/src/app/robots.ts index 1e4b5e1..caea454 100644 --- a/src/app/robots.ts +++ b/src/app/robots.ts @@ -1,10 +1,14 @@ import type { MetadataRoute } from "next"; +const SITE_URL = + process.env.NEXT_PUBLIC_SITE_URL ?? "https://mergefi.org"; + export default function robots(): MetadataRoute.Robots { return { rules: { userAgent: "*", allow: "/", }, + sitemap: `${SITE_URL}/sitemap.xml`, }; }