diff --git a/App.tsx b/App.tsx index 1bcfac8..50c2bdd 100644 --- a/App.tsx +++ b/App.tsx @@ -60,6 +60,7 @@ function App() { gamePin, startQuizGen, startManualCreation, + cancelCreation, finalizeManualQuiz, loadSavedQuiz, joinGame, @@ -148,14 +149,15 @@ function App() { onLoadQuiz={loadSavedQuiz} onJoin={joinGame} isLoading={gameState === 'GENERATING'} - error={error} + error={error} + initialPin={gamePin} /> ) : null} {gameState === 'CREATING' ? ( window.location.reload()} + onCancel={cancelCreation} /> ) : null} @@ -261,7 +263,7 @@ function App() { {gameState === 'PODIUM' ? ( window.location.reload()} + onRestart={endGame} /> ) : null} diff --git a/README.md b/README.md index 28d215a..b067d9e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ -
-GHBanner -
- # Kaboot Kaboot is an AI-powered quiz party game inspired by Kahoot. It leverages the Google Gemini API to instantly generate engaging quizzes on any topic, allowing users to host and join multiplayer games with ease. diff --git a/components/GameConfigPanel.tsx b/components/GameConfigPanel.tsx index 1ee8131..b7c81bd 100644 --- a/components/GameConfigPanel.tsx +++ b/components/GameConfigPanel.tsx @@ -184,11 +184,11 @@ export const GameConfigPanel: React.FC = ({ } return ( -
+
{compact && (