From c8c0982372004280cd959037e438753933931735 Mon Sep 17 00:00:00 2001 From: Karel Vuong <95452264+karelvuong@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:41:52 -0500 Subject: [PATCH] Update SEO fix meta tags, namely sitename --- app/utils/seo.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/utils/seo.ts b/app/utils/seo.ts index cf0c150..a1d5bfe 100644 --- a/app/utils/seo.ts +++ b/app/utils/seo.ts @@ -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; @@ -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", @@ -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) {