Skip to content

Commit

Permalink
feat:meta tag modify
Browse files Browse the repository at this point in the history
  • Loading branch information
constwz committed Nov 16, 2023
1 parent e804c75 commit eda0015
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified public/images/social-share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/common/MetaTags/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ import { ContentSecurityPolicy, StrictTransportSecurity } from '@/config/securit
import { lightPalette, darkPalette } from '@safe-global/safe-react-components'

const descriptionText =
'Safe (prev. Gnosis Safe) is the most trusted platform to manage digital assets on Ethereum and multiple EVMs. Over $40B secured.'
'BNB Safe is a fork of Safe(pre Gnosis Safe) to manage digital assets on BSC, Opbnb and multiple EVMs.'
const titleText = 'BNB Safe'

const MetaTags = ({ prefetchUrl }: { prefetchUrl: string }) => (
<>
<meta name="description" content={descriptionText} />

{/* Social sharing */}
<meta name="og:image" content="https://app.safe.global/images/social-share.png" />
<meta name="og:image" content="https://multisig.bnbchain.org/images/social-share.png" />
<meta name="og:description" content={descriptionText} />
<meta name="og:title" content={titleText} />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@safe" />
<meta name="twitter:title" content={titleText} />
<meta name="twitter:description" content={descriptionText} />
<meta name="twitter:image" content="https://app.safe.global/images/social-share.png" />
<meta name="twitter:image" content="https://multisig.bnbchain.org/images/social-share.png" />

{/* CSP */}
<meta httpEquiv="Content-Security-Policy" content={ContentSecurityPolicy} />
Expand Down

0 comments on commit eda0015

Please sign in to comment.