mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-10 04:19:38 +02:00
36 lines
714 B
JavaScript
36 lines
714 B
JavaScript
import React from 'react';
|
|
import Header from './components/Header.jsx';
|
|
import Sidebar from './components/Sidebar.jsx';
|
|
import Footer from './components/Footer.jsx';
|
|
import HiddenSidebar from './components/HiddenSidebar.jsx';
|
|
|
|
|
|
class App extends React.Component {
|
|
constructor(props) {
|
|
super(props);
|
|
}
|
|
|
|
render() {
|
|
return(
|
|
<div className="wrapper">
|
|
|
|
<Header />
|
|
|
|
<Sidebar />
|
|
|
|
{React.cloneElement(
|
|
this.props.children,
|
|
{message: ""}
|
|
)}
|
|
|
|
<Footer />
|
|
|
|
<HiddenSidebar />
|
|
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default App
|