Restructure navigation after 1xbet: utility bar, lottery strip, right rail
User feedback: still ugly, the 1xbet navigation was never actually reproduced. Now follows its structure: - thin utility bar on top (country picker, Connexion + Inscription) above the main bar (logo, nav) - horizontal icon strip of the country's lotteries under the header, with the active one underlined in gold - compact promo banner instead of a full-height hero, so results stay above the fold - right rail in the bet-slip position: top-5 leaderboard and army stats Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e97b2e54ad
commit
9996f7b823
@@ -9,8 +9,8 @@ import { cn } from "@/lib/utils"
|
||||
|
||||
const INITIAL: MemberAuthState = { ok: false, message: "" }
|
||||
|
||||
export function MemberAuthForm({ next }: { next: string }) {
|
||||
const [mode, setMode] = useState<"login" | "signup">("login")
|
||||
export function MemberAuthForm({ next, initialMode = "login" }: { next: string; initialMode?: "login" | "signup" }) {
|
||||
const [mode, setMode] = useState<"login" | "signup">(initialMode)
|
||||
const [loginState, loginAction, loginPending] = useActionState(loginWithPassword, INITIAL)
|
||||
const [signupState, signupActionFn, signupPending] = useActionState(signupWithPassword, INITIAL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user