-
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 'main' of https://github.com/Koltheguy/Battleship108
- Loading branch information
Showing
7 changed files
with
55 additions
and
12 deletions.
There are no files selected for viewing
Empty file.
Empty file.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from "react"; | ||
import styles from "./ChatBox.module.css"; | ||
|
||
const ChatBox = () => { | ||
return ( | ||
<div className={styles.chatBox}> | ||
<div className={styles.chatHeader}> | ||
<h2>Chat Box</h2> | ||
</div> | ||
<div className={styles.chatBody}> | ||
{/* Content of the chat box */} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ChatBox; |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.chatBox { | ||
width: 700px; | ||
height: 500px; | ||
border: 5px solid black; | ||
margin-left: 55%; | ||
margin-top: -520px; | ||
border-radius: 5px; | ||
overflow: hidden; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.chatHeader { | ||
background-color: #f0f0f0; | ||
padding: 10px; | ||
border-bottom: 1px solid #ccc; | ||
} | ||
|
||
.chatHeader h2 { | ||
margin: 0; | ||
} | ||
|
||
.chatBody { | ||
padding: 10px; | ||
} | ||
|
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,15 +1,14 @@ | ||
import React, { useState } from "react"; | ||
import styles from "./Game.module.css"; | ||
import styles from "./Grid.module.css"; | ||
import style from "./ChatBox.module.css"; | ||
import Grid from "./Grid"; | ||
import ChatRoom from "./ChatRoom"; | ||
import ChatBox from "./ChatBox"; | ||
|
||
const Game = () => { | ||
return ( | ||
<> | ||
<Grid /> | ||
<ChatRoom /> | ||
</> | ||
); | ||
return <div> | ||
<Grid /> | ||
<ChatBox /> | ||
</div>; | ||
}; | ||
|
||
export default Game; |
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