-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'deploy' of https://github.com/5wonju/frontend into deploy
- Loading branch information
Showing
4 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
...)/lobby/component/LobbyChat/LobbyChat.tsx → ...Protection)/lobby/component/Chat/Chat.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
'use client' | ||
|
||
import LobbyChatLog from './LobbyChatLog' | ||
import SendLobbyChat from './SendLobbyChat' | ||
import ChatLog from './ChatLog' | ||
import SendChat from './SendChat' | ||
import { useRef } from 'react' | ||
|
||
const LobbyChat = () => { | ||
const Chat = () => { | ||
const chatEndRef = useRef(null) | ||
|
||
return ( | ||
<> | ||
<div className="bg-[#000000] opacity-80 absolute top-0 left-0 w-full h-full"></div> | ||
<div className="absolute top-0 left-0 w-full h-full z-10 flex flex-col justify-end gap-2"> | ||
<LobbyChatLog chatEndRef={chatEndRef} /> | ||
<SendLobbyChat /> | ||
<ChatLog chatEndRef={chatEndRef} /> | ||
<SendChat /> | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default LobbyChat | ||
export default Chat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters