diff --git a/todoblue/src/app/board/[board]/BoardMain.tsx b/todoblue/src/app/board/[board]/BoardMain.tsx
index db38288..928137a 100644
--- a/todoblue/src/app/board/[board]/BoardMain.tsx
+++ b/todoblue/src/app/board/[board]/BoardMain.tsx
@@ -10,13 +10,13 @@ export function BoardMain() {
switch(websocketState) {
case undefined:
- return } text={"Caricamento..."}/>
+ return } text={"Caricamento..."}/>
case WebSocket.CONNECTING:
- return } text={"Connessione..."}/>
+ return } text={"Connessione..."}/>
case WebSocket.OPEN:
return
case WebSocket.CLOSING:
case WebSocket.CLOSED:
- return } text={"Errore"} className={"red"}/>
+ return } text={"Errore"} className={"red"}/>
}
}
diff --git a/todoblue/src/app/board/[board]/BoardMainTaskGroups.module.css b/todoblue/src/app/board/[board]/BoardMainTaskGroups.module.css
new file mode 100644
index 0000000..0c40b98
--- /dev/null
+++ b/todoblue/src/app/board/[board]/BoardMainTaskGroups.module.css
@@ -0,0 +1,11 @@
+.boardMainTaskGroups {
+ display: flex;
+ gap: 8px;
+ justify-content: center;
+ flex-wrap: wrap;
+}
+
+.boardMainTaskGroups > div {
+ flex-basis: 240px;
+ flex-shrink: 0;
+}
diff --git a/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx b/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx
index 0c386c6..cea6fae 100644
--- a/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx
+++ b/todoblue/src/app/board/[board]/BoardMainTaskGroups.tsx
@@ -1,12 +1,13 @@
import {TaskGroupColumn} from "@/app/board/[board]/TaskGroupColumn"
import {useBoardContext} from "@/app/board/[board]/useBoardContext"
+import style from "./BoardMainTaskGroups.module.css"
export function BoardMainTaskGroups() {
const {taskGroups} = useBoardContext()
return (
-
+
{taskGroups.map((tg) => )}
)