Skip to content

Commit 2c91587

Browse files
some extra changes
1 parent 9ffc95a commit 2c91587

File tree

7 files changed

+52
-38
lines changed

7 files changed

+52
-38
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

public/CSS/style.css renamed to src/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ font-family: 'Rubik', sans-serif; */
1818
justify-content: center;
1919
align-items: center;
2020
height: 100vh;
21-
background-image: url(../IMG//svg.png);
21+
background-image: url(./assets/IMG/svg.png);
2222
background-repeat: no-repeat;
2323
background-size: contain;
2424
background-color: #161d29;
@@ -54,7 +54,7 @@ font-family: 'Rubik', sans-serif; */
5454
border: 1px solid #848484;
5555
-webkit-border-radius: 30px;
5656
-moz-border-radius: 30px;
57-
border-radius: 30px;
57+
border-radius: 10px;
5858
outline: 0;
5959
height: 40px;
6060
width: 275px;

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from "react";
22
import ReactDOM from "react-dom/client";
33
import { createBrowserRouter, RouterProvider } from "react-router-dom";
44

5+
import './index.css'
56
import Home from "./pages/Home";
67
import EditorPage from "./pages/EditorPage";
78

src/pages/Home.js

Lines changed: 49 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,48 @@
1-
import React from 'react'
2-
3-
const Home = ()=>{
4-
return (
5-
<>
6-
{/* <!-- register page --> */}
7-
<div class="register-page" id="registerPage" >
8-
9-
<div class="glass-container" id="glass">
10-
11-
<div class="register-flex-1">
12-
<h1>Code Xerox</h1>
13-
</div>
14-
<div >
15-
<input type="text" class="form-control" id="handle" placeholder="Your Nickname" />
16-
</div>
17-
<button type="button" id="register">Register</button>
18-
</div>
19-
20-
</div>
21-
</>
22-
)
23-
}
1+
import React from "react";
2+
const Home = () => {
3+
return (
4+
<>
5+
<div class="register-page" id="registerPage">
6+
<div class="glass-container" id="glass">
7+
<div class="register-flex-1">
8+
<h1>Code Xerox</h1>
9+
</div>
10+
<div>
11+
<h3>Paste invitation Room ID: </h3>
12+
</div>
13+
<div>
14+
<input
15+
type="text"
16+
class="form-control"
17+
id="handle"
18+
placeholder="ROOM ID"
19+
/>
20+
</div>
21+
<div>
22+
<input
23+
type="text"
24+
class="form-control"
25+
id="handle"
26+
placeholder="USERNAME"
27+
/>
28+
</div>
29+
<button type="button" id="register">
30+
Register
31+
</button>
32+
<div>
33+
<h5>If you don't have an invite then create </h5>
34+
</div>
35+
</div>
36+
</div>
37+
<footer>
38+
<h4> Build with </h4>
39+
</footer>
40+
</>
41+
);
42+
};
2443

2544
export default Home;
2645

27-
28-
29-
30-
3146
// <!-- Editor page -->
3247
// <div id="editor-block" style="display: none;">
3348

@@ -40,15 +55,15 @@ export default Home;
4055
// <div class="card">
4156
// <ul class="list-group list-group-flush" id="editors">
4257
// </ul>
43-
// </div>
58+
// </div>
4459

4560
// <div class="editor-chat">
46-
61+
4762
// <!-- text ediotr -->
4863
// <div id="editor">
4964
// <textarea id="textarea" class="form-control" rows="3"></textarea>
5065

51-
// </div>
66+
// </div>
5267
// <div class="main__right">
5368
// <div class="main__chat_window">
5469
// <div class="messages">
@@ -64,9 +79,8 @@ export default Home;
6479
// </div>
6580

6681
// </div>
67-
68-
69-
// <div class="main">
82+
83+
// <div class="main">
7084
// <div class="main__left">
7185
// <div class="videos__group">
7286
// <div id="video-grid">
@@ -89,7 +103,7 @@ export default Home;
89103
// </div>
90104
// </div>
91105
// </div>
92-
106+
93107
// </div>
94108
// <!-- <script>
95109
// var Codeeditor = CodeMirror.fromTextArea(document.getElementById("textarea"), {
@@ -99,6 +113,5 @@ export default Home;
99113
// }); -->
100114
// <!-- </script> -->
101115
// </div>
102-
103116

104-
// </div>
117+
// </div>

0 commit comments

Comments
 (0)