"use client"; import Image from "next/image"; import type { Session } from "next-auth"; type HomeScreenProps = { playerName: string; setPlayerName: (v: string) => void; joinCode: string; setJoinCode: (v: string) => void; error: string | null; setError: (v: string | null) => void; loading: boolean; onCreateRoom: () => void; onJoinRoom: () => void; onSolo: () => void; session: Session | null; onShowAuth: () => void; onShowProfile: () => void; onShowLeaderboard: () => void; }; export function HomeScreen({ playerName, setPlayerName, joinCode, setJoinCode, error, setError, loading, onCreateRoom, onJoinRoom, onSolo, session, onShowAuth, onShowProfile, onShowLeaderboard, }: HomeScreenProps) { const btnGhost = "min-h-9 px-3 rounded-lg text-xs sm:text-sm font-semibold bg-[#242424] border border-[#2e2e2e] text-[#f0f0f0] hover:bg-[#1a1a1a] cursor-pointer whitespace-nowrap"; return (
Navigue entre les articles Wikipedia pour atteindre la cible en premier !