117 | Available User 118 |
119 |145 | {user.name} 146 | 147 | {user.isOnline ? ( 148 | • 149 | ) : ( 150 | • 151 | )} 152 |
153 |{user.email}
154 |├── public ├── _redirects └── index.html ├── src ├── styles.css ├── Loading.js ├── index.js ├── Navbar.js ├── PrivateRoute.js ├── FileUpload.js ├── auth.js ├── Messages.js ├── Profile.js ├── App.js ├── firebase.js ├── Home.css ├── Register.css ├── SelectedUser.css ├── Dashboard.css ├── Dashboard.js ├── Home.js ├── Register.js └── SelectedUser.js ├── README.md ├── .codesandbox └── workspace.json ├── .env └── package.json /public/_redirects: -------------------------------------------------------------------------------- 1 | /* /index.html 200 -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- 1 | .App { 2 | font-family: sans-serif; 3 | text-align: center; 4 | } 5 | -------------------------------------------------------------------------------- /src/Loading.js: -------------------------------------------------------------------------------- 1 | export default function Loading() { 2 | return
14 | {msg.from === user1id ? (
15 | You:
16 | ) : (
17 |
18 | {user2.name}:{" "}
19 |
20 | )}
21 | {msg.text ? msg.text : ""}
22 |
23 |
24 |
User Email
24 |145 | {user.name} 146 | 147 | {user.isOnline ? ( 148 | • 149 | ) : ( 150 | • 151 | )} 152 |
153 |{user.email}
154 |{img.name}
: ""} 380 | {uploading ? "Please Wait.. File is uploading" : ""} 381 |