Skip to content

Commit

Permalink
Merge pull request #300 from TreasureProject/update-seo
Browse files Browse the repository at this point in the history
Update SEO
  • Loading branch information
karelvuong authored Dec 10, 2024
2 parents 1b6ee5a + c8c0982 commit dcaee41
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/utils/seo.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export function getSocialMetas({
url,
title = generateTitle(),
description = "Treasure is building a gaming and entertainment powerhouse, built and owned by all.",
keywords = "Treasure, gaming, games, web3, NFT, DeFi, GameFi, community, DAO, TreasureDAO",
description = "The decentralized game console. Discover the magic of play on Treasure.",
keywords = "Treasure, games, web3 gaming, play to earn, P2E, NFT, DeFi, GameFi, community, DAO, TreasureDAO, crypto gaming, metaverse",
image,
}: {
image?: string;
Expand All @@ -16,10 +16,12 @@ export function getSocialMetas({
description,
keywords,
image,
"og:url": url,
"og:title": title,
"og:description": description,
"og:image": image,
"og:type": "website",
"og:site_name": "Treasure",
"og:url": url,
"twitter:card": image ? "summary_large_image" : "summary",
"twitter:creator": "@Treasure_DAO",
"twitter:site": "@Treasure_DAO",
Expand Down Expand Up @@ -47,7 +49,7 @@ export function generateTitle(title?: string) {
const prettifiedTitle = prettify(removeStartingSlash(title || ""));
return prettifiedTitle !== ""
? `${prettifiedTitle} | Treasure`
: "Treasure | The Decentralized Gaming Ecosystem";
: "Treasure | Decentralized Game Console";
}

function removeTrailingSlash(s: string) {
Expand Down

0 comments on commit dcaee41

Please sign in to comment.