feat: sidebar.
This commit is contained in:
6
pages/_app.module.css
Normal file
6
pages/_app.module.css
Normal file
@@ -0,0 +1,6 @@
|
||||
.page {
|
||||
@apply flex;
|
||||
}
|
||||
.sidebar {
|
||||
@apply md:w-64 w-32;
|
||||
}
|
@@ -1,8 +1,16 @@
|
||||
import '../styles/globals.css'
|
||||
import "tailwindcss/tailwind.css";
|
||||
import React from 'react';
|
||||
import { GlobalSidebar } from '../components/layouts/global-sidebar';
|
||||
import styles from './_app.module.css';
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
return <Component {...pageProps} />
|
||||
return (
|
||||
<div className={styles.page}>
|
||||
<GlobalSidebar className={styles.sidebar} />
|
||||
<Component {...pageProps} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
|
Reference in New Issue
Block a user