blog-fs/pages/_app.tsx

17 lines
418 B
TypeScript
Raw Normal View History

2021-05-01 17:33:49 +08:00
import '../styles/globals.css'
2021-05-01 18:34:45 +08:00
import "tailwindcss/tailwind.css";
2021-05-01 23:10:28 +08:00
import React from 'react';
import { GlobalSidebar } from '../components/layouts/global-sidebar';
import styles from './_app.module.css';
2021-05-01 17:33:49 +08:00
function MyApp({ Component, pageProps }) {
2021-05-01 23:10:28 +08:00
return (
<div className={styles.page}>
<GlobalSidebar className={styles.sidebar} />
<Component {...pageProps} />
</div>
);
2021-05-01 17:33:49 +08:00
}
export default MyApp