feat: add dokploy cloud modal

This commit is contained in:
Mauricio Siu
2024-12-15 14:54:38 -06:00
parent 5f297fd984
commit 775107ec24
13 changed files with 1435 additions and 94 deletions
+11 -29
View File
@@ -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>
</>
);
};