forked from chenkie/orbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppShell.js
29 lines (27 loc) · 786 Bytes
/
AppShell.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React from 'react';
import GradientBar from './components/common/GradientBar';
import Navbar from './components/Navbar';
import Sidebar from './components/Sidebar';
import Footer from './components/Footer';
const AppShell = ({ children }) => {
return (
<>
<GradientBar />
<div className="flex">
<div className="sm:w-64 px-4 sm:px-8 pt-6 bg-white">
<Sidebar />
</div>
<div className="flex flex-col w-full border-l border-gray-200">
<div className="p-4 border-b border-gray-200 bg-white">
<Navbar />
</div>
<div className="px-4 sm:px-8 py-2 bg-gray-100">
{children}
</div>
<Footer />
</div>
</div>
</>
);
};
export default AppShell;