-
Notifications
You must be signed in to change notification settings - Fork 14
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(wallet): centered text blocks #489
Conversation
Branch preview✅ Deployed successfully in branch deployment: https://wallet_centered_text_block--homepage.review.5afe.dev |
"buttons": [ | ||
{ | ||
"text": "Subscribe", | ||
"href": "https://safe.global", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for Danilo to provide the real link
}, | ||
{ | ||
"text": "View demo", | ||
"href": "https://safe.global", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for the real URL
|
||
const ImageGradient = ({ image }: Partial<BaseBlock>) => ( | ||
<Container className={css.container}> | ||
<img src={image?.src} alt={image?.alt} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's no image, should this be rendered? Might make sense to return null
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added an early return if the component doesn't receive image
src/content/wallet.json
Outdated
{ | ||
"component": "commonCMS/Faq" | ||
}, | ||
{ | ||
"title": "Create your <b>smart account</b> now", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"title": "Create your <b>smart account</b> now", | |
"title": "Create your <b>Smart Account</b> now", |
src/content/wallet.json
Outdated
"text": "Still have questions and want to know more about Safe {Wallet}? Watch our demo.", | ||
"buttons": [ | ||
{ | ||
"text": "Launch wallet", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"text": "Launch wallet", | |
"text": "Launch Safe{Wallet}", |
What it solves
Implements the centered text blocks
Figma
https://www.figma.com/design/qtXXlwdslAze6yNbLLzIRa/Website-redesign-2.0?node-id=15367-15363&node-type=frame&t=11ZCWH0Op36rSecb-0