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(wallet): centered text blocks #489

Merged
merged 4 commits into from
Nov 6, 2024

Conversation

DiogoSoaress
Copy link
Member

Copy link

github-actions bot commented Nov 6, 2024

Branch preview

✅ Deployed successfully in branch deployment:

https://wallet_centered_text_block--homepage.review.5afe.dev

"buttons": [
{
"text": "Subscribe",
"href": "https://safe.global",
Copy link
Member Author

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",
Copy link
Member Author

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} />
Copy link
Member

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.

Copy link
Member Author

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

{
"component": "commonCMS/Faq"
},
{
"title": "Create your <b>smart account</b> now",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"title": "Create your <b>smart account</b> now",
"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",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"text": "Launch wallet",
"text": "Launch Safe{Wallet}",

@DiogoSoaress DiogoSoaress merged commit 693a0d3 into wallet-landing-page Nov 6, 2024
4 checks passed
@DiogoSoaress DiogoSoaress deleted the wallet-centered-text-block branch November 6, 2024 15:53
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants