Commit d3fd2d7f authored by 우지원's avatar 우지원
Browse files

햄버거바 수정중

parent 301ff1af
......@@ -2,15 +2,14 @@ const AddRoom = () => {
return (
<form className="m-3">
<div className="row justify-content-around">
<div className="col">
<div className="col pt-2">
<h4>참여중인 방목록</h4>
</div>
<button
type="button"
className="col-2"
className="col-2 btn btn-info"
data-bs-toggle="modal"
data-bs-target="#myModal"
style={{ backgroundColor: "#FCF4FF", borderColor: "#FCF4FF" }}
>
+
</button>
......@@ -28,11 +27,11 @@ const AddRoom = () => {
></button>
</div>
<div className="modal-body">
<div className="row justify-content-around mt-4 mb-4">
<div className="col-5">
<div className="row justify-content-evenly mt-4 mb-4 fs-6">
<div className="col-6 d-flex justify-content-center">
<button
type="button"
className="p-4"
className="p-3"
data-bs-toggle="modal"
data-bs-target="#joinModal"
style={{
......@@ -40,18 +39,19 @@ const AddRoom = () => {
flexDirection: "column",
borderStyle: "solid",
borderRadius: "5px",
borderColor: "#C4C4C4",
backgroundColor: "#C4C4C4",
padding: "10px",
backgroundColor: "#f6c7ba",
borderColor: "#f6c7ba",
}}
>
<div style={{ width: "6rem" }} >
방참여하기
</div>
</button>
</div>
<div className="col-5">
<div className="col-6 d-flex justify-content-center">
<button
type="button"
className="p-4"
className="p-3"
data-bs-toggle="modal"
data-bs-target="#makeModal"
style={{
......@@ -59,12 +59,13 @@ const AddRoom = () => {
flexDirection: "column",
borderStyle: "solid",
borderRadius: "5px",
borderColor: "#C4C4C4",
backgroundColor: "#C4C4C4",
padding: "10px",
backgroundColor: "#f6c7ba",
borderColor: "#f6c7ba",
}}
>
<div style={{ width: "6rem" }} >
방생성하기
</div>
</button>
</div>
</div>
......@@ -97,15 +98,7 @@ const AddRoom = () => {
/>
</div>
<div className="modal-footer">
<button
type="button"
className="btn-primary"
style={{
borderStyle: "solid",
borderRadius: "5px",
padding: "15px",
}}
>
<button type="submit" className="btn btn-primary">
확인
</button>
</div>
......@@ -128,11 +121,11 @@ const AddRoom = () => {
></button>
</div>
<div className="modal-body">
<h5>방프로필사진</h5>
<h6>방프로필사진</h6>
<div className="filebox mb-4">
<input type="file" id="ex_filename" className="upload-hidden" />
</div>
<h5>방이름</h5>
<h6>방이름</h6>
<div className="input-group">
<input
type="text"
......@@ -143,15 +136,7 @@ const AddRoom = () => {
/>
</div>
<div className="modal-footer">
<button
type="button"
className="btn-primary"
style={{
borderStyle: "solid",
borderRadius: "5px",
padding: "15px",
}}
>
<button type="submit" className="btn btn-primary">
생성
</button>
</div>
......
......@@ -12,8 +12,6 @@ const HomeProfile = () => {
style={{
width: "157px",
height: "157px",
borderStyle: "solid",
borderColor: "#262626",
}}
/>
</div>
......
......@@ -6,137 +6,37 @@ const RoomSingle = () => {
return (
<Link to={`/room/${id}/${channelId}`} className="text-decoration-none text-dark">
<div
className="row justify-content-start mx-4 my-2 p-2"
className="d-flex mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<div style={{ width: "37px", height: "37px" }}>
<img
src="BORA.png"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="BORA_LOGO.png"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="cherry.jpg"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="BORA_LOGO.png"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="BORA.png"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="cherry.jpg"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="BORA_LOGO.png"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
<div className="text-truncate mx-3 mt-2" style={{ width: "250px" }} title="데계 재미있는 수학과 데계데계데계 재미있는 수학과">
데계 재미있는 수학과 데계데계데계 재미있는 수학과</div>
<div className="ms-auto mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
className="d-flex mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<div style={{ width: "37px", height: "37px" }}>
<img
src="BORA.png"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
</div>
<div
className="row justify-content-start mx-4 my-2 p-2"
style={{ backgroundColor: "#C4C4C4" }}
>
<div className="col-2" style={{ width: "37px", height: "37px" }}>
<img
src="cherry.jpg"
className="rounded-circle"
style={{ width: "37px", height: "37px" }}
/>
</div>
<div className="col-8 m-2"> 데계 재미있는 수학과 </div>
<div className="col-2 mt-2"> 15/34 </div>
<marquee className="text-overflow-auto white-space-nowrap mx-3 mt-2" style={{ width: "250px" }} title="데계 재미있는 수학과 데계데계데계 재미있는 수학과">
데계 재미있는 수학과 데계데계데계 재미있는 수학과</marquee>
<div className="ms-auto mt-2"> 15/34 </div>
</div>
</Link>
</Link >
);
};
......
......@@ -3,11 +3,11 @@ import { Link } from "react-router-dom";
const InfoUpdate = () => {
const id = 1;
return (
<div class="container" style={{ background: "#FCF4FF" }}>
<div class="row">
<div className="container" style={{ background: "#FCF4FF" }}>
<div className="row">
<div>
<label
class="form-label mx-2 my-4"
className="form-label mx-2 my-4"
style={{ fontSize: "18px", fontWeight: "bold" }}
>
프로필 정보
......@@ -15,7 +15,7 @@ const InfoUpdate = () => {
<Link to={`/profile/${id}`}>
<button
type="button"
class="btn btn-outline-white "
className="btn btn-outline-white "
style={{
background: "#E8B7FF",
fontSize: "13px",
......@@ -27,10 +27,10 @@ const InfoUpdate = () => {
</Link>
</div>
</div>
<div class="col"></div>
<div class="col">
<div className="col"></div>
<div className="col">
<div>
<div class="row">
<div className="row">
<div className="d-flex justify-content-center">
<img
src="/cherry.jpg"
......@@ -44,72 +44,72 @@ const InfoUpdate = () => {
>
CHERRY #0805
</div>
<div class="col-6">
<div class="input-group mx-2 my-3">
<div className="col-6">
<div className="input-group mx-2 my-3">
<div>
<label
class="form-label "
className="form-label "
style={{ fontSize: "13px", fontWeight: "bold" }}
>
현재 비밀번호
</label>
<input type="text" class="form-control" />
<input type="text" className="form-control" />
</div>
<div>
<label
class="form-label"
className="form-label"
style={{ fontSize: "13px", fontWeight: "bold" }}
>
비밀번호
</label>
<input type="text" class="form-control" />
<input type="text" className="form-control" />
</div>
<div>
<label
class="form-label"
className="form-label"
style={{ fontSize: "13px", fontWeight: "bold" }}
>
비밀번호 확인
</label>
<input type="text" class="form-control" />
<input type="text" className="form-control" />
</div>
</div>
</div>
<div class="col-6">
<div class="input-group my-3 ">
<div className="col-6">
<div className="input-group my-3 ">
<div>
<label
class="form-label"
className="form-label"
style={{ fontSize: "13px", fontWeight: "bold" }}
>
현재 전화번호
</label>
<input type="text" class="form-control" />
<input type="text" className="form-control" />
</div>
<div>
<label
class="form-label"
className="form-label"
style={{ fontSize: "13px", fontWeight: "bold" }}
>
전화번호
</label>
<input type="text" class="form-control" />
<input type="text" className="form-control" />
</div>
<div>
<label
class="form-label"
className="form-label"
style={{ fontSize: "13px", fontWeight: "bold" }}
>
전화번호 확인
</label>
<input type="text" class="form-control" />
<input type="text" className="form-control" />
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col"></div>
<div className="col"></div>
</div>
);
};
......
......@@ -8,7 +8,7 @@ const Profile = () => {
<div className="row">
<form>
<label
class="form-label mx-2 my-4"
className="form-label mx-2 my-4"
style={{ fontSize: "18px", fontWeight: "bold" }}
>
프로필 정보
......
import ChannelSingle from "./ChannelSingle";
import { Link } from "react-router-dom";
const ChannelList = () => {
return (
<div>
ChannelList Component 입니다.
<nav className="row navbar navbar-light">
<div className="col-4">
<Link to="/user">
<button
type="button"
className="m-2 rounded"
style={{
height: "30px",
fontWeight: "bold",
backgroundColor: "#E8B7FF",
color: "black",
border: "1px #f4c1f2",
}}
>
돌아가기
</button>
</Link>
</div>
<div className="col-4 d-flex justify-content-center">
<Link to="/user">
<img src="/BORA.png" style={{ width: "160px" }} />
</Link>
</div>
<div className="col-4 d-flex justify-content-end">
<button
className="navbar-toggler"
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#hamburger"
aria-controls="hamburger"
aria-expanded="false"
aria-label="Toggle navigation"
style={{ border: "#f4c1f2", }}
>
<span className="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<div className="offcanvas offcanvas-start" tabindex="-1" id="hamburger" aria-labelledby="hamburgerLabel">
<div className="offcanvas-header">
<h5 className="offcanvas-title" id="offcanvasExampleLabel">음성 채널 목록</h5>
<button type="button" className="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div className="overflow-auto" style={{ height: "610px" }}>
<div className="mb-3">
<div className="m-3 p-2 row" style={{ backgroundColor: "#C4C4C4" }}>
<img className="col-auto" src="/fullSpeaker.png" width="30px" height="30px" />
<h5 className="col">회의</h5>
</div>
<div className="mx-5">
<ChannelSingle />
</div>
</div>
<div className="mb-3">
<div className="m-3 p-2" style={{ backgroundColor: "#C4C4C4" }}>
<h5>사담</h5>
</div>
<div className="mx-5">
<ChannelSingle />
</div>
</div>
<div className="mb-3">
<div className="m-3 p-2" style={{ backgroundColor: "#C4C4C4" }}>
<h5>공지</h5>
</div>
<div className="mx-5">
<ChannelSingle />
</div>
</div>
<div className="mb-3">
<div className="m-3 p-2" style={{ backgroundColor: "#C4C4C4" }}>
<h5>공지</h5>
</div>
<div className="mx-5">
<ChannelSingle />
</div>
</div>
</div>
<div className="d-flex flex-row-reverse">
<button
type="button"
className="m-3 rounded text-white"
data-bs-toggle="modal"
data-bs-target="#exitRoom"
style={{
height: "30px",
fontWeight: "bold",
backgroundColor: "#FF0000",
color: "black",
border: "1px #f4c1f2",
}}
>
퇴장
</button>
<div className="modal fade" id="exitRoom" tabindex="-1" aria-labelledby="exitRoomLabel" aria-hidden="true">
<div className="modal-dialog">
<div className="modal-content">
<div className="modal-header">
<button type="button" className="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div className="modal-body d-flex justify-content-center">
이방에서 퇴장하시겠습니까?
</div>
<div className="row mb-3">
<div className="d-flex justify-content-evenly">
{/* <Link to="/user"> */}
<button type="submit" className="col-2 p-1 btn btn-primary"></button>
{/* </Link> */}
<button type="submit" className="col-2 p-1 btn btn-primary" data-bs-dismiss="modal">아니요</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div >
);
};
......
const ChannelSingle = () => {
return (
<div>
음성 채널 목록
<div>
- CHERRY
</div>
<div>
- JAEYEON
</div>
<div>
- SEOYEON
</div>
<div>
- JIWEON
</div>
<div>
- BYOUNGYUN
</div>
</div>
)
};
......
......@@ -27,21 +27,6 @@ const RoomHeader = () => {
<p className="m-2" style={{ fontWeight: "bold", fontSize: "20px" }}>
회의
</p>
<Link to="/user">
<button
type="button"
className="m-2 rounded"
style={{
height: "30px",
fontWeight: "bold",
backgroundColor: "#E8B7FF",
color: "black",
border: "1px #f4c1f2",
}}
>
돌아가기
</button>
</Link>
</div>
</div>
</div>
......
......@@ -8,7 +8,8 @@ import Controller from '../components/Room/Controller'
const RoomPage = () => {
return (
<div>
<Header hamburger={ChannelList} />
{/* <Header hamburger={ChannelList} /> */}
<ChannelList />
<RoomHeader />
<Screen />
<User />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment