-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: show button for crypto map if the iframe cannot be loaded #6
base: main
Are you sure you want to change the base?
Conversation
Deploying nimiq-website with Cloudflare Pages
|
74c21bf
to
59c4af5
Compare
w-full aspect="9/16 lg:initial" rounded-8 lg:h-full max-lg:max-h-80dvh ring="1.5 neutral-200" title="Crypto Map" | ||
:src="cryptoMapUrl" | ||
sandbox="allow-scripts allow-same-origin allow-popups" | ||
frameborder="0" | ||
/> | ||
</div> | ||
</section> | ||
<section v-else bg-neutral-100 pt-0> | ||
<NuxtLink to="https://map.nimiq.com" target="_blank" mx-auto w-max nq-arrow nq-pill-lg nq-pill-blue> |
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.
Would be cool to redirect to the same location, eg: Europe if Europe is selected...
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.
mimiimiimiimimimim
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.
Nah, thinking about it. Better to let the map get the user's location by IP. There will be not a continent selector in the fallback version, just a button
59c4af5
to
1142d12
Compare
1142d12
to
7361d4d
Compare
fdd418a
to
391d892
Compare
391d892
to
60ed367
Compare
@sisou @danimoh Do you know of a reliable way to handle iframes blocked by ad-blocking extensions or privacy-focused browsers like Brave? I've tried a few things that didn't work:
Thanks |
This pull request introduces changes to enhance the
CryptoMapContinentSelector
component by adding new functionalities for iframe handling and improving user experience when the iframe is blocked.The user will see