Skip to content

Commit 10b1988

Browse files
committed
Update organic graph images URLs
1 parent 8a9c9f1 commit 10b1988

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,4 @@ The smart contracts are in the `contracts` directory, and the frontend is in the
6969
### Environment Variables
7070

7171
- Use `VITE_WALLETCONNECT_PROJECT_ID` for your wallet connect project ID.
72+
- Use `VITE_SITE_URL` for your site URL. Otherwise, the default will be `https://council.haus`.

apps/web/src/app/root.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ export const meta: MetaFunction = () => [
5252
{ name: "theme-color", content: "#111827" },
5353
{ name: "color-scheme", content: "dark" },
5454

55-
{ name: "image", content: "/logo-bg.svg" },
56-
{ name: "og:image", content: "/opengraph-image.webp" },
55+
{ name: "image", content: `${SITE_URL}/logo-bg.svg` },
56+
{ name: "og:image", content: `${SITE_URL}/opengraph-image.webp` },
5757
{ name: "og:title", content: SITE_NAME },
5858
{ name: "og:description", content: SITE_DESCRIPTION },
5959
{ name: "og:url", content: SITE_URL },
6060
{ name: "og:type", content: "website" },
6161
{ name: "og:site_name", content: SITE_NAME },
6262
{ name: "og:locale", content: "en_US" },
6363
{ name: "twitter:card", content: "summary_large_image" },
64-
{ name: "twitter:image", content: "/opengraph-image.webp" },
64+
{ name: "twitter:image", content: `${SITE_URL}/opengraph-image.webp` },
6565
{ name: "twitter:title", content: SITE_NAME },
6666
{ name: "twitter:description", content: SITE_DESCRIPTION },
6767
{ name: "twitter:site", content: SOCIAL_TWITTER },

constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const SITE_NAME = "CouncilHaus";
22
export const SITE_DESCRIPTION =
33
"Democratically allocate a budget across projects";
4-
export const SITE_URL = "https://council.haus";
4+
export const SITE_URL = import.meta.env.VITE_SITE_URL || "https://council.haus";
55
export const SOCIAL_TWITTER = "blossom_labs";
66
export const SOCIAL_GITHUB = "BlossomLabs/CouncilHaus";
77

0 commit comments

Comments
 (0)