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

Add Explore Zero banner #665

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add Explore Zero banner #665

wants to merge 4 commits into from

Conversation

vyorkin
Copy link
Contributor

@vyorkin vyorkin commented Nov 16, 2024

No description provided.

@vyorkin vyorkin self-assigned this Nov 16, 2024
Copy link

github-actions bot commented Nov 16, 2024

📦 build.zip [updated at Nov 20, 2:49:33 PM UTC]

@vyorkin vyorkin force-pushed the feature/zero-banner branch from ffb01c0 to b0a11e9 Compare November 18, 2024 10:02
@vyorkin vyorkin force-pushed the feature/zero-banner branch from 1ccb0c8 to 937ed7f Compare November 18, 2024 17:35
@vyorkin vyorkin marked this pull request as ready for review November 18, 2024 17:36
@vyorkin vyorkin changed the title Add Explore Zero banner (WIP) Add Explore Zero banner Nov 18, 2024
Copy link
Member

Choose a reason for hiding this comment

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

upload to cdn please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -75,8 +76,16 @@ export function Banners({ address }: { address: string }) {
/>
<Spacer height={24} />
</>
) : null}
{ENABLE_DNA_BANNERS && !invitationBannerVisible ? (
) : !preferences?.exploreZeroBannerDismissed ? (
Copy link
Member

Choose a reason for hiding this comment

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

I think it's possible to accidentally flash this banner before we show InviteFriendsBanner

Maybe we should bail out of everything while useRemoteConfigValue query is loading

Copy link
Contributor Author

Choose a reason for hiding this comment

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

.bannerLink {
display: block;
position: relative;
z-index: 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like all elements have the same z-index. Do we need it?

/>
<Spacer height={24} />
</>
) : ENABLE_DNA_BANNERS ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

May be it will be the time to remove these dna banners soon.
I am pretty sure we will not return them, cause there is no more dna on Ethereum :))

@zerts
Copy link
Contributor

zerts commented Dec 2, 2024

It looks like the ZERO image is slightly bigger then in design and too close to the borders. But may be this is just me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants