Replace Connect wallet button to link(on small screens) #183

This commit is contained in:
SvyatoslavArtymovych 2023-06-20 14:31:52 +03:00
parent 983e786900
commit 20ae184e08
2 changed files with 12 additions and 1 deletions

View File

@ -2225,6 +2225,11 @@ input:checked + .toggle-bg {
--tw-gradient-to-position: ;
}
.to-yellow-500 {
--tw-gradient-to: #C27803 var(--tw-gradient-to-position);
--tw-gradient-to-position: ;
}
.fill-yellow-300 {
fill: #FACA15;
}

View File

@ -31,9 +31,15 @@
<button
id="connectWalletBtn"
type="button"
class="text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center">
class="md:flex hidden text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center">
Connect wallet
</button>
<a
href="https://join.status.im/b/{{request.base_url}}"
class="md:hidden flex text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center"
>
Connect wallet
</a>
{% endif %} {% if current_user.is_authenticated %}
<div class="md:flex hidden">
<div class="items-center md:ml-3 hidden md:flex">