mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-06 01:28:46 +00:00
feat: add dokploy cloud modal
This commit is contained in:
+11
-29
@@ -4,7 +4,6 @@ import { SearchCommand } from "@/components/dashboard/search-command";
|
||||
import { Toaster } from "@/components/ui/sonner";
|
||||
import { Languages } from "@/lib/languages";
|
||||
import { api } from "@/utils/api";
|
||||
import { TourProvider } from "@reactour/tour";
|
||||
import type { NextPage } from "next";
|
||||
import { appWithTranslation } from "next-i18next";
|
||||
import { ThemeProvider } from "next-themes";
|
||||
@@ -16,21 +15,6 @@ import type { ReactElement, ReactNode } from "react";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const steps = [
|
||||
{
|
||||
selector: ".first-step",
|
||||
content: "This is the first Step",
|
||||
},
|
||||
{
|
||||
selector: ".second-step",
|
||||
content: "This is the second Step",
|
||||
},
|
||||
{
|
||||
selector: ".third-step",
|
||||
content: "This is the third Step",
|
||||
},
|
||||
];
|
||||
|
||||
export type NextPageWithLayout<P = {}, IP = P> = NextPage<P, IP> & {
|
||||
getLayout?: (page: ReactElement) => ReactNode;
|
||||
// session: Session | null;
|
||||
@@ -65,19 +49,17 @@ const MyApp = ({
|
||||
/>
|
||||
)}
|
||||
|
||||
<TourProvider steps={steps}>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
forcedTheme={Component.theme}
|
||||
>
|
||||
<Toaster richColors />
|
||||
<SearchCommand />
|
||||
{getLayout(<Component {...pageProps} />)}
|
||||
</ThemeProvider>
|
||||
</TourProvider>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
forcedTheme={Component.theme}
|
||||
>
|
||||
<Toaster richColors />
|
||||
<SearchCommand />
|
||||
{getLayout(<Component {...pageProps} />)}
|
||||
</ThemeProvider>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user