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:
Nazim Kri
2026-10-30 15:41:16 -04:00
co-authored by Claude Opus 5.5
parent e97b2e54ad
commit 9996f7b823
11 changed files with 233 additions and 158 deletions
+5 -2
View File
@@ -16,7 +16,7 @@ import {
import { cn } from "@/lib/utils"
import { Flag } from "@/components/flag"
export function CountrySwitcher({ active }: { active: string }) {
export function CountrySwitcher({ active, compact }: { active: string; compact?: boolean }) {
const router = useRouter()
const [pending, startTransition] = useTransition()
const current = countryTheme(active)
@@ -34,7 +34,10 @@ export function CountrySwitcher({ active }: { active: string }) {
<DropdownMenuTrigger
aria-label={`Pays : ${current.name}. Changer de pays`}
className={cn(
"flex h-9 items-center gap-2 rounded-md border border-gold/30 bg-card/70 px-3 text-sm font-medium outline-none transition-colors hover:border-gold/60 focus-visible:ring-2 focus-visible:ring-ring",
"flex items-center gap-2 rounded border font-medium outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring",
compact
? "h-7 border-transparent px-2 text-xs hover:bg-panel-hover"
: "h-9 border-gold/30 bg-card/70 px-3 text-sm hover:border-gold/60",
pending && "opacity-60"
)}
>