Skip to content

Commit

Permalink
Merge pull request #719 from centrifuge/update-nov30-23
Browse files Browse the repository at this point in the history
Update news and taglines
  • Loading branch information
devin-black authored Dec 4, 2023
2 parents 6c128ee + e781e57 commit 76b1b9e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions data/explore.json
Original file line number Diff line number Diff line change
@@ -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."
}
}
4 changes: 2 additions & 2 deletions data/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": [
{
Expand Down
Binary file added data/images/posts/web3f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions data/posts/posts.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down
13 changes: 2 additions & 11 deletions src/components/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' ? (
<Box
as="div"
py={1}
Expand All @@ -28,5 +19,5 @@ export function Banner({ children }: BannerProps) {
>
<Text variant="body2">{children}</Text>
</Box>
)
) : null
}

0 comments on commit 76b1b9e

Please sign in to comment.