From cec85469b8737ea68f5c07e63ea2ae4c099c149c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 4 Aug 2023 02:11:41 +0200 Subject: [PATCH] Rename `Create*Board` to `Create*BoardPanel` --- ...CreatePrivateBoard.tsx => CreatePrivateBoardPanel.tsx} | 2 +- .../{CreatePublicBoard.tsx => CreatePublicBoardPanel.tsx} | 2 +- todoblue/src/app/page.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) rename todoblue/src/app/{CreatePrivateBoard.tsx => CreatePrivateBoardPanel.tsx} (96%) rename todoblue/src/app/{CreatePublicBoard.tsx => CreatePublicBoardPanel.tsx} (96%) diff --git a/todoblue/src/app/CreatePrivateBoard.tsx b/todoblue/src/app/CreatePrivateBoardPanel.tsx similarity index 96% rename from todoblue/src/app/CreatePrivateBoard.tsx rename to todoblue/src/app/CreatePrivateBoardPanel.tsx index 14d96de..bf05568 100644 --- a/todoblue/src/app/CreatePrivateBoard.tsx +++ b/todoblue/src/app/CreatePrivateBoardPanel.tsx @@ -6,7 +6,7 @@ import {FontAwesomeIcon} from "@fortawesome/react-fontawesome" import classNames from "classnames" import {default as React} from "react" -export function CreatePrivateBoard() { +export function CreatePrivateBoardPanel() { const {createBoard} = useBoardCreator(); const isSecure = typeof window !== "undefined" && window.isSecureContext; diff --git a/todoblue/src/app/CreatePublicBoard.tsx b/todoblue/src/app/CreatePublicBoardPanel.tsx similarity index 96% rename from todoblue/src/app/CreatePublicBoard.tsx rename to todoblue/src/app/CreatePublicBoardPanel.tsx index a253f4a..7029ed5 100644 --- a/todoblue/src/app/CreatePublicBoard.tsx +++ b/todoblue/src/app/CreatePublicBoardPanel.tsx @@ -7,7 +7,7 @@ import {default as React} from "react" import {FontAwesomeIcon} from "@fortawesome/react-fontawesome" -export function CreatePublicBoard() { +export function CreatePublicBoardPanel() { const [code, setCode] = useLowerKebabState("") const {createBoard} = useBoardCreator(); diff --git a/todoblue/src/app/page.tsx b/todoblue/src/app/page.tsx index 9ceb02c..141455c 100644 --- a/todoblue/src/app/page.tsx +++ b/todoblue/src/app/page.tsx @@ -1,5 +1,5 @@ -import {CreatePrivateBoard} from "@/app/CreatePrivateBoard" -import {CreatePublicBoard} from "@/app/CreatePublicBoard" +import {CreatePrivateBoardPanel} from "@/app/CreatePrivateBoardPanel" +import {CreatePublicBoardPanel} from "@/app/CreatePublicBoardPanel" import {default as React} from "react"; export default function Page() { @@ -14,8 +14,8 @@ export default function Page() {

Crea un nuovo tabellone

- - + +