From f51c5201e6e669eac107c7729a44b238d65e86a9 Mon Sep 17 00:00:00 2001 From: datalore Date: Sat, 4 Nov 2023 19:15:20 +0100 Subject: [PATCH 1/6] Implemented Bingo items as buttons --- src/app/components/bingoitem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/bingoitem.tsx b/src/app/components/bingoitem.tsx index d00b91a..7e74f74 100644 --- a/src/app/components/bingoitem.tsx +++ b/src/app/components/bingoitem.tsx @@ -9,6 +9,6 @@ export default function BingoItem({text}: Props){ const [clicked, setClicked] = React.useState(false); return( - setClicked(!clicked)}>{text} + setClicked(!clicked)}>{text} ); } From 5093fbcb93d01bfecc1b9933e6a8c53309dc95c7 Mon Sep 17 00:00:00 2001 From: datalore Date: Sat, 4 Nov 2023 19:16:25 +0100 Subject: [PATCH 2/6] Changed layout to vertical --- src/app/components/bingocontroller.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/bingocontroller.tsx b/src/app/components/bingocontroller.tsx index 4a22ca5..c5ac9d6 100644 --- a/src/app/components/bingocontroller.tsx +++ b/src/app/components/bingocontroller.tsx @@ -20,9 +20,9 @@ export default function BingoController(){ const sizeError = (items.length < size); return( <> -
+
-
+ setSize(+s)}/>
3x3 From 53209356b3ec41eb27a439a1a6a35d128cee3e32 Mon Sep 17 00:00:00 2001 From: datalore Date: Sat, 4 Nov 2023 19:16:56 +0100 Subject: [PATCH 3/6] Increased z-index of theme dropdown --- src/app/components/themeswitcher.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/themeswitcher.tsx b/src/app/components/themeswitcher.tsx index 993d287..17c5475 100644 --- a/src/app/components/themeswitcher.tsx +++ b/src/app/components/themeswitcher.tsx @@ -8,7 +8,7 @@ export default function ThemeSwitcher(){ React.useEffect(() => {document.body.setAttribute("data-theme", theme)}); return( -
    + ); } diff --git a/tailwind.config.ts b/tailwind.config.ts index ae466fe..75e5a7d 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -7,7 +7,7 @@ const config: Config = { }, plugins: [require("daisyui")], daisyui: { - themes: ["light", "dark", "synthwave", "cyberpunk", "valentine"] + themes: ["light", "dark", "synthwave", "cyberpunk", "valentine", "pastel", "aqua"] } }; From e550d8eeb1018c250c374f829a3b7494f386abbb Mon Sep 17 00:00:00 2001 From: datalore Date: Sat, 4 Nov 2023 20:06:15 +0100 Subject: [PATCH 6/6] Upgraded to 0.2.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 103df04..d5df887 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "buzzword-bingo", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "buzzword-bingo", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "next": "14.0.1", "react": "^18", diff --git a/package.json b/package.json index a3e1a41..ad52afc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "buzzword-bingo", - "version": "0.1.0", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev",