Skip to content

Commit

Permalink
Merge pull request #64 from KTB-Hackathon-GoLang/dev
Browse files Browse the repository at this point in the history
Deploy
  • Loading branch information
sayyyho authored Sep 7, 2024
2 parents ae9a6b0 + 5ff468c commit 0162f4e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/pages/ChatBot/ChatBot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import CHATTING_LAYOUT from "@/assets/chatLayout.svg";
import { useRef, useEffect, useState } from "react";
import useSpeechToText from "@/hooks/useSpeechToText";
import { useNavigate, useParams } from "react-router-dom";
import SockJS from "sockjs-client";

// Mock data for filtered employee messages
const filteredEmployeeMessages = [
Expand Down Expand Up @@ -92,6 +91,18 @@ export const ChatBot = () => {
<EndButton>끝내기</EndButton>
</Header>
<S.ChattingZone>
<S.ResBox>
<S.ResZone>
안녕하세요! 고랭입니다! 바로 상사모드로 시작합니다.
</S.ResZone>
<S.ResImage
style={{
backgroundImage: `url(${BOT_IMG})`,
backgroundSize: "cover",
backgroundPosition: "center",
}}
></S.ResImage>
</S.ResBox>
{messages.map((message, index) =>
message.isMine ? (
<S.SendZone key={index}>{message.text}</S.SendZone>
Expand Down

0 comments on commit 0162f4e

Please sign in to comment.