Skip to content

Commit

Permalink
Update organic graph images URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
sembrestels committed Nov 5, 2024
1 parent 8a9c9f1 commit 10b1988
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ The smart contracts are in the `contracts` directory, and the frontend is in the
### Environment Variables

- Use `VITE_WALLETCONNECT_PROJECT_ID` for your wallet connect project ID.
- Use `VITE_SITE_URL` for your site URL. Otherwise, the default will be `https://council.haus`.
6 changes: 3 additions & 3 deletions apps/web/src/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ export const meta: MetaFunction = () => [
{ name: "theme-color", content: "#111827" },
{ name: "color-scheme", content: "dark" },

{ name: "image", content: "/logo-bg.svg" },
{ name: "og:image", content: "/opengraph-image.webp" },
{ 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" },
{ name: "twitter:card", content: "summary_large_image" },
{ name: "twitter:image", content: "/opengraph-image.webp" },
{ name: "twitter:image", content: `${SITE_URL}/opengraph-image.webp` },
{ name: "twitter:title", content: SITE_NAME },
{ name: "twitter:description", content: SITE_DESCRIPTION },
{ name: "twitter:site", content: SOCIAL_TWITTER },
Expand Down
2 changes: 1 addition & 1 deletion constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const SITE_NAME = "CouncilHaus";
export const SITE_DESCRIPTION =
"Democratically allocate a budget across projects";
export const SITE_URL = "https://council.haus";
export const SITE_URL = import.meta.env.VITE_SITE_URL || "https://council.haus";
export const SOCIAL_TWITTER = "blossom_labs";
export const SOCIAL_GITHUB = "BlossomLabs/CouncilHaus";

Expand Down

0 comments on commit 10b1988

Please sign in to comment.