feat: add wallet login modal
This commit is contained in:
@@ -19,6 +19,7 @@ import {
|
||||
stripLangPrefix,
|
||||
} from "../languageRoutes";
|
||||
import { useLocalizedPath } from "../useLocalizedPath";
|
||||
import { WalletButton } from "../wallet/WalletButton";
|
||||
|
||||
type PublicNavWhich =
|
||||
| "home"
|
||||
@@ -657,6 +658,9 @@ export function PublicLayout() {
|
||||
ariaLabel={t("langLabel")}
|
||||
className="hidden h-10 w-36 md:block lg:w-40"
|
||||
/>
|
||||
<div className="hidden md:block">
|
||||
<WalletButton />
|
||||
</div>
|
||||
<button
|
||||
ref={desktopMenuButtonRef}
|
||||
type="button"
|
||||
@@ -718,6 +722,9 @@ export function PublicLayout() {
|
||||
>
|
||||
{t("popular")}
|
||||
</Link>
|
||||
<div className="mt-2 w-full max-w-xs">
|
||||
<WalletButton compact />
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
</header>
|
||||
|
||||
Reference in New Issue
Block a user