This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2022-07-20 16:04:09 -04:00
|
|
|
import React from 'react';
|
|
|
|
|
import ReactDOM from 'react-dom';
|
2022-07-21 23:45:52 -04:00
|
|
|
import Channels from './pages/Channels';
|
2022-07-20 16:04:09 -04:00
|
|
|
import Chat from './pages/Chat';
|
|
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
|
(
|
2022-07-22 01:45:11 -04:00
|
|
|
<div style={{
|
|
|
|
|
display: 'grid',
|
|
|
|
|
gridTemplateColumns: '200px 1fr',
|
|
|
|
|
gridTemplateRows: '1fr',
|
|
|
|
|
height: '100%',
|
|
|
|
|
}}>
|
|
|
|
|
<div style={{
|
|
|
|
|
background: 'rgba(25, 26, 33)',
|
|
|
|
|
borderRight: '1px solid #bd93f9',
|
|
|
|
|
}}>
|
|
|
|
|
<Channels></Channels>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<Chat></Chat>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-07-20 16:04:09 -04:00
|
|
|
),
|
|
|
|
|
document.getElementById('app'),
|
|
|
|
|
);
|