From 0202322f30b71d41754285610d4619841281bd8a Mon Sep 17 00:00:00 2001 From: Sem <931684+sembrestels@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:50:32 +0700 Subject: [PATCH] Fix OG tags --- apps/web/src/app/root.tsx | 15 +++++++-------- constants.ts | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/web/src/app/root.tsx b/apps/web/src/app/root.tsx index 66aee3f..c0cb009 100644 --- a/apps/web/src/app/root.tsx +++ b/apps/web/src/app/root.tsx @@ -51,15 +51,14 @@ export const meta: MetaFunction = () => [ { name: "description", content: SITE_DESCRIPTION }, { name: "theme-color", content: "#111827" }, { name: "color-scheme", content: "dark" }, - { name: "image", content: `${SITE_URL}/logo-bg.svg` }, - { name: "og:image", content: `${SITE_URL}/opengraph-image.webp` }, - { name: "og:title", content: SITE_NAME }, - { name: "og:description", content: SITE_DESCRIPTION }, - { name: "og:url", content: SITE_URL }, - { name: "og:type", content: "website" }, - { name: "og:site_name", content: SITE_NAME }, - { name: "og:locale", content: "en_US" }, + { property: "og:image", content: `${SITE_URL}/opengraph-image.webp` }, + { property: "og:title", content: SITE_NAME }, + { property: "og:description", content: SITE_DESCRIPTION }, + { property: "og:url", content: SITE_URL }, + { property: "og:type", content: "website" }, + { property: "og:site_name", content: SITE_NAME }, + { property: "og:locale", content: "en_US" }, { name: "twitter:card", content: "summary_large_image" }, { name: "twitter:image", content: `${SITE_URL}/opengraph-image.webp` }, { name: "twitter:title", content: SITE_NAME }, diff --git a/constants.ts b/constants.ts index 5ebc4d3..bccadbc 100644 --- a/constants.ts +++ b/constants.ts @@ -2,7 +2,7 @@ export const SITE_NAME = "CouncilHaus"; export const SITE_DESCRIPTION = "Democratically allocate a budget across projects"; export const SITE_URL = import.meta.env.VITE_SITE_URL || "https://council.haus"; -export const SOCIAL_TWITTER = "blossom_labs"; +export const SOCIAL_TWITTER = "@blossom_labs"; export const SOCIAL_GITHUB = "BlossomLabs/CouncilHaus"; export const DEFAULT_COUNCIL_ADDRESS =