You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
import ReactDOM from 'react-dom/client';
|
|
|
|
|
import './index.css';
|
|
|
|
|
import reportWebVitals from './reportWebVitals';
|
|
|
|
|
import './style/style.css';
|
|
|
|
|
import Header from './components/Header';
|
|
|
|
|
import Navigation from './components/Navigation';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const root = ReactDOM.createRoot(
|
|
|
|
|
document.getElementById('root') as HTMLElement
|
|
|
|
|
);
|
|
|
|
|
root.render(
|
|
|
|
|
<div>
|
|
|
|
|
<div className='app-wrapper'>
|
|
|
|
|
<div className='app-header'>
|
|
|
|
|
<Header/>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='app-navigation'>
|
|
|
|
|
<Navigation/>
|
|
|
|
|
</div>
|
|
|
|
|
<div className='app-content'>
|
|
|
|
|
контент
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
reportWebVitals();
|