diff --git a/src/pages/auth/index.tsx b/src/pages/auth/index.tsx index eb1e5c0..89e40c0 100644 --- a/src/pages/auth/index.tsx +++ b/src/pages/auth/index.tsx @@ -19,6 +19,8 @@ export default function LoginPage() { {/* 그라데이션 영역 */}
-
{message}
+
+ {message} +
); } diff --git a/src/pages/chatbot/components/ChattingInput.tsx b/src/pages/chatbot/components/ChattingInput.tsx index 6252525..81239eb 100644 --- a/src/pages/chatbot/components/ChattingInput.tsx +++ b/src/pages/chatbot/components/ChattingInput.tsx @@ -41,6 +41,7 @@ export default function ChattingInput({ onSend }: ChattingInputProps) { onKeyDown={handleKeyDown} type='text' placeholder='무엇이든 물어보세요' + aria-label="채팅 메시지 입력" className='w-full bg-transparent outline-none text-label-lg placeholder:text-gray-300 text-gray-900' />
@@ -48,6 +49,7 @@ export default function ChattingInput({ onSend }: ChattingInputProps) { diff --git a/src/pages/main/PostCard.tsx b/src/pages/main/PostCard.tsx index 81f9044..d85c811 100644 --- a/src/pages/main/PostCard.tsx +++ b/src/pages/main/PostCard.tsx @@ -7,6 +7,8 @@ const PostCard = () => { return (
- +
diff --git a/src/pages/main/components/board/Boardgame.tsx b/src/pages/main/components/board/Boardgame.tsx index 3459a06..882473a 100644 --- a/src/pages/main/components/board/Boardgame.tsx +++ b/src/pages/main/components/board/Boardgame.tsx @@ -5,44 +5,70 @@ import { useRouter } from 'next/router'; const Boardgame = () => { const router = useRouter(); + + const handleCellClick = (label: string) => { + // TODO : 로그인 여부 체크 + router.push({ + pathname: '/main/Node', + query: { label }, + }); + }; + return ( -
+
{boardData.map((row, r) => row.map((cell, c) => { const key = `cell-${r}-${c}`; if (!cell.active) { - return
; + return ( +