Skip to content

Commit 5a541e5

Browse files
authored
Merge pull request #221 from gitcoinco/feat/about
update metadata on /about page
2 parents e6c813b + 0d8e3e5 commit 5a541e5

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

src/app/about/page.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import Image from "next/image";
33
import { ArrowUpRight } from "lucide-react";
44
import { Button } from "@/components/ui";
55
import { CTASection } from "@/components/layouts";
6+
import { pageSeo } from "@/lib/page-seo";
7+
8+
export const metadata: Metadata = pageSeo.about;
69

710
function StatCard({
811
value,
@@ -28,12 +31,6 @@ function StatCard({
2831
);
2932
}
3033

31-
export const metadata: Metadata = {
32-
title: "About | Gitcoin",
33-
description:
34-
"Since 2017, Gitcoin has empowered communities to build, fund and protect what matters to them.",
35-
};
36-
3734
const timelineEvents = [
3835
{
3936
year: "2017",
@@ -492,7 +489,6 @@ export default function AboutPage() {
492489
</div>
493490
</section>
494491

495-
496492
{/* ── CTA ──────────────────────────────────────────────────────────── */}
497493
<CTASection
498494
title="Ready to Contribute?"

src/lib/page-seo.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,9 @@ export const pageSeo = {
112112
"Submit apps, mechanisms, case studies, research, or campaigns to the Gitcoin Funding Directory. Only high-quality submissions are accepted.",
113113
"/submit",
114114
),
115+
about: meta(
116+
"About",
117+
"Gitcoin has been building tools since 2017 that enable communities to build, fund and protect what matters to them.",
118+
"/about"
119+
),
115120
};

0 commit comments

Comments
 (0)