chat front

This commit is contained in:
PrStein 2023-04-24 20:10:46 +02:00
parent 6d7045133d
commit 8380df041b
37 changed files with 30924 additions and 0 deletions

23
frontend/new_front/.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -0,0 +1,70 @@
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
The page will reload when you make changes.\
You may also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

29828
frontend/new_front/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,41 @@
{
"name": "the_last",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.8.0",
"react-router-dom": "^6.10.0",
"react-scripts": "5.0.1",
"styled-components": "^5.3.9",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

View File

@ -0,0 +1,30 @@
import './Style/App.css';
import Header from './components/Header';
import {BrowserRouter as Router, Routes, Route} from 'react-router-dom';
import Home from './pages/Home';
import Game from './pages/Game';
import Footer from './components/Footer';
import Messages from './pages/Messages';
function App() {
return (
<div>
<Router>
<Header/>
<div>
<Routes>
<Route path="/" exact element={<Home/>}/>
<Route path="/products" element={<Game/>}/>
<Route path="/messages" element={<Messages/>}/>
</Routes>
</div>
</Router>
<Footer/>
</div>
);
}
export default App;

View File

@ -0,0 +1,8 @@
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

View File

@ -0,0 +1,10 @@
import DefaultPic from '../assets/profile.jpg';
const UserProfile = [
{
Pic: DefaultPic,
UserName: "Dipper Ratman",
},
]
export default UserProfile

View File

@ -0,0 +1,30 @@
export const DBWinLoss = [
{
title: 'Victory',
score: '10 - 6',
},
{
title: 'Defeat',
score: '9 - 10',
},
{
title: 'Victory',
score: '10 - 0',
},
{
title: 'Victory',
score: '10 - 9',
},
{
title: 'Defeat',
score: '3 - 10',
},
{
title: 'Deafet',
score: '9 - 10',
},
{
title: 'Victory',
score: '10 - 9',
},
]

View File

@ -0,0 +1,39 @@
.App {
text-align: center;
background-color: grey;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

View File

@ -0,0 +1,95 @@
.Header {
background-color: #060b26;
height: 80px;
display: flex;
/* justify-content: start; */
align-items: center;
}
.menu-bars {
margin-left: 2rem;
font-size: 2rem;
background: none;
color:#f5f5f5
}
.nav-menu{
background-color: #060b26;
width: 250px;
height: 100vh;
display: flex;
justify-content: center;
position: fixed;
top: 0;
left: -100%;
transition: 850ms;
}
.nav-menu.active {
left: 0;
transition: 350ms;
}
.nav-text {
display: flex;
/* justify-content: start; */
align-items: center;
padding: 8px 0px 8px 16px;
list-style: none;
height: 60px;
}
.nav-text a {
text-decoration: none;
color: #f5f5f5;
font-size: 18px;
width: 95%;
height: 100%;
display: flex;
align-items: center;
padding: 0 16px;
border-radius: 4px;
}
.nav-text a:hover {
background-color: #1a83ff;
}
.nav-menu-items {
width: 100%;
}
.Header-toggle {
background-color: #060b26;
width: 100%;
height: 80px;
display: flex;
/* justify-content: start; */
align-items: center;
}
span {
margin-left: 16px;
}
.Header-pic {
height: 50px;
width: 50px;
border-radius: 50%;
}
.header-pic{
text-align: end;
/* id: right; */
}
.footer {
height: 0.1px;
color: #060b26;
}
.end{
display: flex;
justify-content: flex-end;
margin-right: 2rem;
}

View File

@ -0,0 +1,139 @@
.home{
background-color: black;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container{
/* border: thick; */
border-color: #FFFFFF ;
border-radius: 50%;
width: 65%;
height: 80%;
display: flex;
}
.sidebar{
flex:1;
border-right: 1px solid #3e3c61;
background-color: #060b26;
color: white;
}
.chat{
flex:2;
color: white;
align-items: center;
}
.conv{
padding: 5;
}
.navbar{
display: flex;
align-items: center;
background-color: #000c66;
color: white;
padding: 3px;
/* margin-bottom: 30px; */
}
.pic{
height: 35px;
width: 35px;
border-radius: 50%;
margin-top: 10px;
margin-left: 10px;
margin-right: 10px;
}
.end{
display: flex;
flex: 3;
justify-content: flex-end;
}
.pic-user{
height: 50px;
width: 50px;
border-radius: 50%;
object-fit: cover;
/* margin-right: 10px; */
}
.messages{
background-color: #349b83;
height: calc(100% - 118px);
overflow: scroll;
}
.input{
display: flex;
height: 50px;
background-color: white;
color:#060b26;
border: none;
}
input{
margin-left: 10px;
width: 100%;
font-size: 18px;
border: none;
outline: none;
}
.send{
display: flex;
font-size: 30px;
align-items: center;
margin-right: 10px;
.prop{
}
}
.youMessage{
display: flex;
padding: 20px;
}
.messageInfo{
width: 40px;
height: 40px;
border-radius: 50%;
}
.messageContent{
display: flex;
flex-direction: column;
max-width: 80%;
gap: 10px;
}
/* .meMessageInfo{
width: 40px;
height: 40px;
border-radius: 50%;
}
.meMessageContent{
display: flex;
flex-direction: row-reverse;
max-width: 80%;
gap: 10px;
} */
.meMessage{
display: flex;
flex-direction: row-reverse;
padding: 20px;
}

View File

@ -0,0 +1,19 @@
.profile {
flex-direction: row;
}
.profile-pic {
height: 250px;
width: 250px;
border-radius: 50%;
border-image-width: thick;
border-color: black;
margin-top: 20px;
}
canvas {
margin-top: 20px;
border: solid 0px #ccc;
background-color: #000;
border-radius: 3%;
}

View File

@ -0,0 +1,13 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1,12 @@
import React from 'react';
// import './Header.scss';
function Footer() {
return (
<footer className="footer">
<p>&copy; 2023 Paris France</p>
</footer>
);
}
export default Footer;

View File

@ -0,0 +1,50 @@
import React, {useState} from 'react';
import {AiOutlineMenuUnfold} from 'react-icons/ai';
import * as AiIcons from 'react-icons/ai';
import {Link} from 'react-router-dom';
import { SidebarData } from './SidebarData';
import DefaultPicture from '../assets/profile.jpg'
// import {BiLogOutCircle} from 'react-icons/bi';
import '../Style/Header.css';
function Header() {
const [sidebar, setSidebar] = useState(false);
const showSidebar = () => setSidebar(!sidebar);
return (
<>
<div className='Header'>
<Link to="#" className='menu-bars'>
<AiOutlineMenuUnfold onClick={showSidebar}/>
</Link>
<div className='end'>
<Link to="/" className='menu-bars'>
<img className='Header-pic' src={DefaultPicture} alt='profile'/>
</Link>
</div>
</div>
<nav className={sidebar ? 'nav-menu active' : 'nav-menu'}>
<ul className='nav-menu-items' onClick={showSidebar}>
<li className='Header-toggle'>
<Link to="#" className='menu-bars'>
<AiIcons.AiOutlineClose />
</Link>
</li>
{SidebarData.map((item, index) => {
return (
<li key={index} className={item.cName}>
<Link to={item.path}>
{item.icon}
<span>{item.title}</span>
</Link>
</li>
)
})}
</ul>
</nav>
</>
);
}
export default Header

View File

@ -0,0 +1,62 @@
import React from "react"
import styled from "styled-components"
import '../../Style/Messages.css'
import DefaultPic from '../../assets/profile.jpg';
import { ImBlocked } from 'react-icons/im';
import { MdOutlineGroupAdd } from 'react-icons/md';
import Conversation from "./Conversation";
import Input from "./Input";
const TouchDiv = styled.div`
margin-left: 10px;
margin-right: 4px;
margin-bottom: 21px;
margin-top: 21px;
cursor: pointer;
justify-content: space-around;
&:hover {
color: #F4F3EF;
}
`
function Chat(){
return (
<div className="chat">
<div className='navbar'>
<img src={DefaultPic} alt="profile" className="pic"/>
<TouchDiv>Dummy</TouchDiv>
<div className="end">
<TouchDiv>
<MdOutlineGroupAdd/>
</TouchDiv>
<TouchDiv>
<ImBlocked/>
</TouchDiv>
</div>
</div>
<Conversation/>
<Input/>
</div>
)
}
export default Chat
// const SideSpan = styled.span`
// font-size: 18px;
// font-weight: 500;
// cursor: pointer;
// margin-bottom: 40px;
// &:hover {
// color: #F4F3EF;
// }
// `
// const SideP = styled.p`
// font-size: 14px;
// color: lightgray
// `

View File

@ -0,0 +1,63 @@
import React from "react";
import '../../Style/Messages.css'
import styled from "styled-components";
import DefaultPic from '../../assets/profile.jpg'
const UserChat = styled.div `
padding: 5px;
display: flex;
align-items: center;
gap: 5px;
color: white;
cursor: pointer;
&:hover{
background-color: #3e3c61;
}
`
const SideSpan = styled.span`
font-size: 18px;
font-weight: 500;
`
const SideP = styled.p`
font-size: 14px;
color: lightgray;
margin-left: 15px;
`
function Chats(){
return (
<div className="chat">
<UserChat>
<img className="pic-user" src={DefaultPic} alt="User" />
<div className="infoSideBar">
<SideSpan>Dummy</SideSpan>
<SideP>yo</SideP>
</div>
</UserChat>
<UserChat>
<img className="pic-user" src={DefaultPic} alt="User" />
<div className="infoSideBar">
<SideSpan>Dummy</SideSpan>
<SideP>yo</SideP>
</div>
</UserChat><UserChat>
<img className="pic-user" src={DefaultPic} alt="User" />
<div className="infoSideBar">
<SideSpan>Dummy</SideSpan>
<SideP>yo</SideP>
</div>
</UserChat><UserChat>
<img className="pic-user" src={DefaultPic} alt="User" />
<div className="infoSideBar">
<SideSpan>Dummy</SideSpan>
<SideP>yo</SideP>
</div>
</UserChat>
</div>
);
}
export default Chats

View File

@ -0,0 +1,33 @@
import MessageYou from "./MessageYou"
import MessageMe from "./MessageMe"
import '../../Style/Messages.css'
function Conversation(){
return (
<div className="messages">
<MessageYou/>
<MessageMe/>
<MessageYou/>
<MessageMe/>
<MessageMe/>
<MessageYou/>
<MessageMe/>
<MessageMe/>
<MessageYou/>
<MessageYou/>
<MessageMe/>
<MessageYou/>
<MessageMe/>
<MessageYou/>
<MessageMe/>
<MessageMe/>
<MessageYou/>
<MessageMe/>
<MessageMe/>
<MessageYou/>
<MessageMe/>
</div>
)
}
export default Conversation

View File

@ -0,0 +1,15 @@
import { TbSend } from 'react-icons/tb';
function Input(){
return (
<div className="input">
<input type="text" placeholder="What do you want to say"/>
<div className="send">
<TbSend/>
</div>
</div>
)
}
export default Input

View File

@ -0,0 +1,27 @@
import React from "react"
import styled from "styled-components"
import DefaultPic from '../../assets/profile.jpg'
import '../../Style/Messages.css'
const MeStyleP = styled.p`
background-color: lightgray;
padding 10px 20px;
border-radius 10px 0px 10px 10px;
color: black;
margin-right: 20px;
`
function MessageMe(){
return (
<div className="meMessage">
<div>
<img className="messageInfo" src={DefaultPic} alt="profile" />
</div>
<div className="messageContent">
<MeStyleP>bonjours ca va</MeStyleP>
</div>
</div>
)
}
export default MessageMe

View File

@ -0,0 +1,27 @@
import React from "react"
import styled from "styled-components"
import DefaultPic from '../../assets/profile.jpg'
import '../../Style/Messages.css'
const StyleP = styled.p`
background-color: white;
padding 10px 20px;
border-radius 0px 10px 10px 10px;
color: black;
margin-left: 20px;
`
function MessageYou(){
return (
<div className="youMessage">
<div>
<img className="messageInfo" src={DefaultPic} alt="profile" />
</div>
<div className="messageContent">
<StyleP>bonjours ca va</StyleP>
</div>
</div>
)
}
export default MessageYou

View File

@ -0,0 +1,15 @@
// import UserProfile from '../../DataBase/DataProfileUser'
import DefaultPic from '../../assets/profile.jpg';
// import Data from '../../DataBase/DataProfileUser';
import '../../Style/Messages.css'
function Navbar(){
return (
<div className='navbar'>
<img src={DefaultPic} alt="profile" className="pic"/>
<h4>Dipper Ratman</h4>
</div>
)
}
export default Navbar

View File

@ -0,0 +1,14 @@
import React from "react";
import Navbar from "./Navbar";
import Chats from "./Chats";
function Sidebar(){
return (
<div className="sidebar">
<Navbar/>
<Chats/>
</div>
);
}
export default Sidebar

View File

@ -0,0 +1,46 @@
import React from "react";
import * as FaIcons from 'react-icons/fa';
import * as AiIcons from 'react-icons/ai';
import * as IoIcons from 'react-icons/io';
import {BiLogOutCircle} from 'react-icons/bi';
import {IoSettingsSharp} from 'react-icons/io5'
export const SidebarData = [
{
title: 'Dipper Ratman',
path: '/',
icon: <AiIcons.AiFillHome />,
cName: 'nav-text'
},
{
title: 'Game',
path: '/products',
icon: <FaIcons.FaGamepad/>,
cName: 'nav-text'
},
{
title: 'Messages',
path: '/messages',
icon: <FaIcons.FaEnvelopeOpenText/>,
cName: 'nav-text'
},
{
title: 'Social',
path: '/team',
icon: <IoIcons.IoMdPeople />,
cName: 'nav-text'
},
{
title: 'Settings',
path: '/team',
icon: <IoSettingsSharp />,
cName: 'nav-text'
},
{
title: 'Log out',
path: '/team',
icon: <BiLogOutCircle />,
cName: 'nav-text'
},
]

View File

@ -0,0 +1,67 @@
// import PropTypes from "prop-types"
import styled from 'styled-components';
import '../DataBase/DummyDBWinLoss.js'
import { DBWinLoss } from '../DataBase/DummyDBWinLoss.js';
// import color from '../../utils/style/color.js';
const CardWrapper = styled.div`
display: flex;
flex-direction: column;
padding: 15px;
background-color: black;
// border-radius: 30px;
// width: 350px;
// transition: 200ms;
margin-top: 50px;
&:hover {
cursor: pointer;
box-shadow: 2px 2px 10px #b6b6b6;
}
`
const CardLabel1 = styled.span`
color: #5843e4;
font-size: 22px;
font-weight: bold;
margin-bottom: 25px;
`
const CardLabel2 = styled.span`
color: #5843e4;
font-size: 22px;
font-weight: bold;
display: flex;
flex-direction: column;
`
// const CardImage = styled.img`
// heigh: 80px;
// width: 80px;
// border-radius: 50%;
// `
function WinLoss() {
return (
<CardWrapper>
<CardLabel1>Match history Win/Loss</CardLabel1>
{/* <CardImage src={picture} alt="freelance" height={80} width={80} /> */}
{DBWinLoss.map((item, index) => {
return (
<li key={index}>
<CardLabel2>{item.title}</CardLabel2>
<CardLabel2>{item.score}</CardLabel2>
</li>
)
})}
</CardWrapper>
)
}
// Card.propTypes = {
// label: PropTypes.string,
// title: PropTypes.string.isRequired,
// picture: PropTypes.string,
// }
export default WinLoss

View File

@ -0,0 +1,18 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import './Style/index.css';
import App from './App';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<div>
<App />
</div>
</React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals

View File

@ -0,0 +1,11 @@
import React from 'react';
function Game (){
return (
<div className=''>
<h1>Launching Game</h1>
</div>
)
}
export default Game

View File

@ -0,0 +1,26 @@
import React from "react";
import '../Style/Profile.css'
import '../Style/App.css'
import DefaultPicture from "../assets/profile.jpg";
import WinLoss from "../components/Win_Loss";
function Home () {
return (
<div className="App">
<div className="profile">
<img className="profile-pic" src={DefaultPicture} alt="Profile pic" />
</div>
<div className="profile">
{/* <canvas id="canvas" height="610" width="500">
<h1 font-color="white"> Welcome to the Home Page!</h1>
</canvas> */}
<WinLoss/>
</div>
</div>
)
}
export default Home

View File

@ -0,0 +1,22 @@
import React from "react";
import Sidebar from '../components/Messages/Sidebar'
import Chat from "../components/Messages/Chat";
import '../Style/Messages.css'
function Messages(params) {
return (
<>
{/* <div>
<h1>Welcome to the messages page</h1>
</div> */}
<div className="home">
<div className="container">
<Sidebar/>
<Chat/>
</div>
</div>
</>
);
}
export default Messages

View File