feat: add wallet login modal

This commit is contained in:
TerryM
2026-06-02 00:32:46 +08:00
parent 71dac8373e
commit 43700d9fdc
12 changed files with 584 additions and 0 deletions

View File

@@ -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>