Skip to content

Commit

Permalink
Merge pull request #36 from withgraphite/01-23-update_metadata
Browse files Browse the repository at this point in the history
update metadata
  • Loading branch information
shampliu authored Jan 23, 2025
2 parents 2cf4497 + 7cb5fa8 commit 7659269
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/leaderboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ export const dynamic = 'force-dynamic'
export const metadata = {
...DEFAULT_META,
title: 'Leaderboard | ' + META.title,
description: 'See who opened the most pull requests. ' + META.desc,
description: 'See how you stack up against engineers around the world. ' + META.desc,
openGraph: {
title: 'Leaderboard | ' + META.title,
description: 'See who opened the most pull requests. ' + META.desc
description: 'See how you stack up against engineers around the world. ' + META.desc
},
twitter: {
title: 'Leaderboard | ' + META.title,
description: 'See who opened the most pull requests. ' + META.desc
description: 'See how you stack up against engineers around the world. ' + META.desc
}
}

Expand Down
6 changes: 3 additions & 3 deletions lib/components/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ export const dynamic = 'force-dynamic'
export const metadata = {
...DEFAULT_META,
title: 'Leaderboard | ' + META.title,
description: 'See who opened the most pull requests. ' + META.desc,
description: 'See how you stack up against engineers around the world. ' + META.desc,
openGraph: {
title: 'Leaderboard | ' + META.title,
description: 'See who opened the most pull requests. ' + META.desc
description: 'See how you stack up against engineers around the world. ' + META.desc
},
twitter: {
title: 'Leaderboard | ' + META.title,
description: 'See who opened the most pull requests. ' + META.desc
description: 'See how you stack up against engineers around the world. ' + META.desc
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/constants/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Metadata} from 'next'

export const META = {
title: 'Year in code by Graphite',
desc: 'End 2024 with a video of your GitHub stats.',
desc: 'Reflect on 2024 with a personalized highlight reel of your year in code.',
twitter: '@withgraphite',
domain: {
prod: 'https://year-in-code.com/',
Expand Down

0 comments on commit 7659269

Please sign in to comment.