2022-11-12 02:09:28 +05:30
|
|
|
import "../styles/globals.css";
|
|
|
|
import Head from "next/head";
|
|
|
|
import { AppProps } from "next/app";
|
2023-04-08 12:23:32 +05:30
|
|
|
import { Provider } from "jotai";
|
2023-07-23 14:37:18 +05:30
|
|
|
import "react-tooltip/dist/react-tooltip.css";
|
2024-04-21 19:34:59 +05:30
|
|
|
import { Toaster } from "@/components/ui/toaster";
|
2024-12-16 16:18:57 +05:30
|
|
|
import { Tooltip } from "react-tooltip";
|
|
|
|
import PostHogProviderWrapper from "@/components/posthog-provider-wrapper";
|
2022-11-12 02:09:28 +05:30
|
|
|
|
|
|
|
const MyApp = ({ Component, pageProps }: AppProps) => {
|
|
|
|
return (
|
2022-12-08 08:55:26 +05:30
|
|
|
<>
|
2022-11-12 02:09:28 +05:30
|
|
|
<Head>
|
|
|
|
<title>Upscayl</title>
|
|
|
|
</Head>
|
2024-12-20 09:07:34 +05:30
|
|
|
<base href="./" />
|
2024-12-15 23:23:20 +05:30
|
|
|
|
2023-04-08 12:23:32 +05:30
|
|
|
<Provider>
|
2024-12-16 16:18:57 +05:30
|
|
|
<PostHogProviderWrapper>
|
2024-12-15 23:23:20 +05:30
|
|
|
<Component {...pageProps} data-theme="upscayl" />
|
|
|
|
<Toaster />
|
2024-12-16 16:18:57 +05:30
|
|
|
<Tooltip
|
|
|
|
className="z-[999] max-w-sm break-words !bg-secondary"
|
|
|
|
id="tooltip"
|
|
|
|
/>
|
|
|
|
</PostHogProviderWrapper>
|
2023-04-08 12:23:32 +05:30
|
|
|
</Provider>
|
2022-12-08 08:55:26 +05:30
|
|
|
</>
|
2022-11-12 02:09:28 +05:30
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default MyApp;
|