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
@@ -15,9 +15,14 @@ export async function UserMenu() {
|
||||
|
||||
if (!member) {
|
||||
return (
|
||||
<Button asChild size="sm">
|
||||
<Link href="/connexion">Connexion</Link>
|
||||
</Button>
|
||||
<div className="flex items-center gap-1.5">
|
||||
<Button asChild size="sm" variant="ghost" className="h-7 px-3 text-xs">
|
||||
<Link href="/connexion">Connexion</Link>
|
||||
</Button>
|
||||
<Button asChild size="sm" className="h-7 px-3 text-xs font-semibold">
|
||||
<Link href="/connexion?mode=inscription">Inscription</Link>
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -26,8 +31,9 @@ export async function UserMenu() {
|
||||
|
||||
return (
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger className="flex items-center gap-2 rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring">
|
||||
<Avatar className="h-8 w-8">
|
||||
<DropdownMenuTrigger className="flex items-center gap-2 rounded-full text-xs outline-none focus-visible:ring-2 focus-visible:ring-ring">
|
||||
<span className="hidden text-muted-foreground sm:inline">{displayName}</span>
|
||||
<Avatar className="h-6 w-6">
|
||||
<AvatarImage src={member.avatarUrl ?? undefined} alt="" />
|
||||
<AvatarFallback>{initial}</AvatarFallback>
|
||||
</Avatar>
|
||||
|
||||
Reference in New Issue
Block a user