2023-06-05 12:18:29 +00:00
|
|
|
import Head from "next/head";
|
2023-01-26 18:12:20 +00:00
|
|
|
// styles
|
|
|
|
import "styles/globals.css";
|
2022-11-19 14:21:26 +00:00
|
|
|
import "styles/editor.css";
|
2023-03-28 09:19:27 +00:00
|
|
|
import "styles/command-pallette.css";
|
2023-03-22 13:35:36 +00:00
|
|
|
import "styles/nprogress.css";
|
2023-05-05 10:15:53 +00:00
|
|
|
import "styles/react-datepicker.css";
|
2023-01-26 18:12:20 +00:00
|
|
|
// types
|
|
|
|
import type { AppProps } from "next/app";
|
2023-04-20 08:11:24 +00:00
|
|
|
// constants
|
2023-09-14 11:08:41 +00:00
|
|
|
import { SITE_TITLE } from "constants/seo-variables";
|
2023-09-14 16:08:00 +00:00
|
|
|
//lib
|
|
|
|
import AppProviders from "lib/app-providers";
|
2023-03-22 13:35:36 +00:00
|
|
|
|
2022-11-19 14:21:26 +00:00
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
|
|
return (
|
2023-09-14 11:08:41 +00:00
|
|
|
<>
|
|
|
|
<Head>
|
|
|
|
<title>{SITE_TITLE}</title>
|
|
|
|
</Head>
|
2023-09-14 16:08:00 +00:00
|
|
|
<AppProviders pageProps={pageProps}>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
</AppProviders>
|
2023-09-14 11:08:41 +00:00
|
|
|
</>
|
2022-11-19 14:21:26 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default MyApp;
|