Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:meta tag modify #13

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading