Skip to content

Commit

Permalink
fix: copy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Nov 6, 2024
1 parent 6a3d6fc commit 0d71598
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 10 additions & 6 deletions src/components/Wallet/ImageGradient/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ import { Container, Divider } from '@mui/material'
import type { BaseBlock } from '@/components/Home/types'
import css from './styles.module.css'

const ImageGradient = ({ image }: Partial<BaseBlock>) => (
<Container className={css.container}>
<img src={image?.src} alt={image?.alt} />
const ImageGradient = ({ image }: Partial<BaseBlock>) => {
if (!image) return null

<Divider />
</Container>
)
return (
<Container className={css.container}>
<img src={image.src} alt={image.alt} />

<Divider />
</Container>
)
}

export default ImageGradient
6 changes: 3 additions & 3 deletions src/content/wallet.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@
"component": "commonCMS/Faq"
},
{
"title": "Create your <b>smart account</b> now",
"text": "Still have questions and want to know more about Safe {Wallet}? Watch our demo.",
"title": "Create your <b>Smart Account</b> now",
"text": "Still have questions and want to know more about Safe{Wallet}? Watch our demo.",
"buttons": [
{
"text": "Launch wallet",
"text": "Launch Safe{Wallet}",
"href": "https://app.safe.global",
"variant": "button"
},
Expand Down

0 comments on commit 0d71598

Please sign in to comment.