diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 66e0dc45..4824a7f6 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -62,7 +62,7 @@ jobs: - name: Build env: GATSBY_FUNCTIONS_URL: ${{ needs.prepare-deploy.outputs.function_URL }} - SHOW_ANNOUNCEMENT_BANNER: true + SHOW_ANNOUNCEMENT_BANNER: false run: | yarn build diff --git a/data/explore.json b/data/explore.json index 19f77550..0374a2bd 100644 --- a/data/explore.json +++ b/data/explore.json @@ -1,8 +1,8 @@ { "slug": "/explore", - "title": "The ecosystem for onchain credit ", + "title": "The ecosystem for onchain finance ", "seo": { "title": "Learn, Connect, & Develop | Centrifuge", - "description": "As we build the ecosystem for onchain credit, learn more about us, become an active member in our community and governance, or develop with us." + "description": "As we build the ecosystem for onchain finance, learn more about us, become an active member in our community and governance, or develop with us." } } \ No newline at end of file diff --git a/data/home.json b/data/home.json index 367b5538..552aaa36 100644 --- a/data/home.json +++ b/data/home.json @@ -12,7 +12,7 @@ "Value" ], "body": [ - "The platform for onchain credit.", + "The platform for onchain finance.", "Transparent. Affordable. Limitless." ], "image": "./images/home/hero-main-shape.svg", @@ -77,7 +77,7 @@ ] }, "usp_section": { - "title": "The platform for onchain credit", + "title": "The platform for onchain finance", "body": "As the first protocol to bring real-world assets onchain, we’re building a better financial system.", "items": [ { diff --git a/data/images/posts/web3f.png b/data/images/posts/web3f.png new file mode 100644 index 00000000..8e21db7d Binary files /dev/null and b/data/images/posts/web3f.png differ diff --git a/data/posts/posts.json b/data/posts/posts.json index d4e84672..0465295c 100644 --- a/data/posts/posts.json +++ b/data/posts/posts.json @@ -1,4 +1,22 @@ [ + { + "date": "2023/11/29", + "outlet": "Centrifuge Blog", + "title": "Web3 Foundation deploys treasury into real-world assets on Centrifuge", + "body": "Web3 Foundation helps bring real-world assets to DeFi via Centrifuge with a $1m pilot investment in tokenized T-bills.", + "image": "../images/posts/web3f.png", + "alt": "", + "href": "https://centrifuge.mirror.xyz/RPd-sjMJLK9W2UYknAM09EJwguxHJci-dbc2msd27MU" + }, + { + "date": "2023/11/29", + "outlet": "The Defiant", + "title": "Polkadot’s Web3 Foundation To Invest $1M In On-Chain Treasuries", + "body": "Web3 Foundation plans to up its real-world asset allocation in the future ", + "image": "../images/posts/defiant_rwas.png", + "alt": "", + "href": "https://thedefiant.io/polkadot-s-web3-foundation-to-invest-usd1m-in-on-chain-treasuries" + }, { "date": "2023/11/22", "outlet": "Centrifuge Blog", diff --git a/gatsby-config.ts b/gatsby-config.ts index c1769430..809332ef 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -2,9 +2,9 @@ import type { GatsbyConfig } from 'gatsby' const config: GatsbyConfig = { siteMetadata: { - title: 'Centrifuge | The platform for onchain credit', + title: 'Centrifuge | The platform for onchain finance', description: - 'Centrifuge is the platform for onchain credit, connecting investors and borrowers with bankless liquidity.', + 'Centrifuge is the platform for onchain finance, providing the infrastructure and ecosystem to tokenize, manage, and invest into real-world assets.', twitterUsername: '@centrifuge', image: '/ogimage.png', siteUrl: 'https://centrifuge.io/', diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index 439b5f20..848362c5 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -7,16 +7,7 @@ type BannerProps = { } export function Banner({ children }: BannerProps) { - const [hasMounted, setHasMounted] = React.useState(false) - - React.useEffect(() => { - setHasMounted(true) - }, []) - - if (!hasMounted) { - return null - } - return ( + return process.env.SHOW_ANNOUNCEMENT_BANNER === 'true' ? ( {children} - ) + ) : null }