diff --git a/apps/dokploy/components/layouts/dashboard-layout.tsx b/apps/dokploy/components/layouts/dashboard-layout.tsx index 8dd7e599a..451ec45d8 100644 --- a/apps/dokploy/components/layouts/dashboard-layout.tsx +++ b/apps/dokploy/components/layouts/dashboard-layout.tsx @@ -1,25 +1,34 @@ +import Head from "next/head"; import { Navbar } from "./navbar"; import { NavigationTabs, type TabState } from "./navigation-tabs"; interface Props { children: React.ReactNode; tab: TabState; + metaName?: string; } -export const DashboardLayout = ({ children, tab }: Props) => { +export const DashboardLayout = ({ children, tab, metaName }: Props) => { return ( -
-
- -
-
- {children} -
-
+ <> + + + {metaName ?? tab.charAt(0).toUpperCase() + tab.slice(1)} | Dokploy + + +
+
+ +
+
+ {children} +
+
+
-
+ ); }; diff --git a/apps/dokploy/pages/dashboard/project/[projectId].tsx b/apps/dokploy/pages/dashboard/project/[projectId].tsx index 82b43ae55..5fd8bd626 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId].tsx @@ -39,6 +39,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { type ReactElement } from "react"; @@ -189,6 +190,9 @@ const Project = ( {data?.name} + + Project {data?.name} | Dokploy +

{data?.name}

diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx index bcbd4b78b..1682348c9 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/application/[applicationId].tsx @@ -41,6 +41,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -101,6 +102,11 @@ const Service = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx index 60ddfeab1..6b9cae51f 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/compose/[composeId].tsx @@ -35,6 +35,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -94,6 +95,11 @@ const Service = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx index 31e929764..0a5cfed8c 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/mariadb/[mariadbId].tsx @@ -35,6 +35,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -82,6 +83,11 @@ const Mariadb = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx index 409d91291..fcf39effd 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/mongo/[mongoId].tsx @@ -35,6 +35,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -83,6 +84,11 @@ const Mongo = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx index e69c5a357..4d155e647 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/mysql/[mysqlId].tsx @@ -35,6 +35,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -81,6 +82,11 @@ const MySql = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx index 3e1e3ea8c..c7152dd56 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/postgres/[postgresId].tsx @@ -35,6 +35,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -82,6 +83,11 @@ const Postgresql = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx b/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx index b68baeabf..f4bf37432 100644 --- a/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx +++ b/apps/dokploy/pages/dashboard/project/[projectId]/services/redis/[redisId].tsx @@ -34,6 +34,7 @@ import type { GetServerSidePropsContext, InferGetServerSidePropsType, } from "next"; +import Head from "next/head"; import Link from "next/link"; import { useRouter } from "next/router"; import React, { useState, type ReactElement } from "react"; @@ -81,6 +82,11 @@ const Redis = ( {data?.name} + + + Project {data?.project.name} | {data?.name} | Dokploy + +
diff --git a/apps/dokploy/pages/dashboard/settings/appearance.tsx b/apps/dokploy/pages/dashboard/settings/appearance.tsx index f7f497460..51c61fc7f 100644 --- a/apps/dokploy/pages/dashboard/settings/appearance.tsx +++ b/apps/dokploy/pages/dashboard/settings/appearance.tsx @@ -21,7 +21,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/billing.tsx b/apps/dokploy/pages/dashboard/settings/billing.tsx index 4aa7682c9..191f25e20 100644 --- a/apps/dokploy/pages/dashboard/settings/billing.tsx +++ b/apps/dokploy/pages/dashboard/settings/billing.tsx @@ -16,7 +16,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/certificates.tsx b/apps/dokploy/pages/dashboard/settings/certificates.tsx index e64db6870..c648ad380 100644 --- a/apps/dokploy/pages/dashboard/settings/certificates.tsx +++ b/apps/dokploy/pages/dashboard/settings/certificates.tsx @@ -19,7 +19,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/cluster.tsx b/apps/dokploy/pages/dashboard/settings/cluster.tsx index 3320a9c31..f01294cd6 100644 --- a/apps/dokploy/pages/dashboard/settings/cluster.tsx +++ b/apps/dokploy/pages/dashboard/settings/cluster.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/destinations.tsx b/apps/dokploy/pages/dashboard/settings/destinations.tsx index fdf91ca19..9653d4a17 100644 --- a/apps/dokploy/pages/dashboard/settings/destinations.tsx +++ b/apps/dokploy/pages/dashboard/settings/destinations.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/git-providers.tsx b/apps/dokploy/pages/dashboard/settings/git-providers.tsx index b5862eb9a..cab539286 100644 --- a/apps/dokploy/pages/dashboard/settings/git-providers.tsx +++ b/apps/dokploy/pages/dashboard/settings/git-providers.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/notifications.tsx b/apps/dokploy/pages/dashboard/settings/notifications.tsx index d783355e9..cdc47fc04 100644 --- a/apps/dokploy/pages/dashboard/settings/notifications.tsx +++ b/apps/dokploy/pages/dashboard/settings/notifications.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/profile.tsx b/apps/dokploy/pages/dashboard/settings/profile.tsx index a645a4af3..87a285b1f 100644 --- a/apps/dokploy/pages/dashboard/settings/profile.tsx +++ b/apps/dokploy/pages/dashboard/settings/profile.tsx @@ -33,7 +33,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/registry.tsx b/apps/dokploy/pages/dashboard/settings/registry.tsx index 16fded942..7cadd4952 100644 --- a/apps/dokploy/pages/dashboard/settings/registry.tsx +++ b/apps/dokploy/pages/dashboard/settings/registry.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/server.tsx b/apps/dokploy/pages/dashboard/settings/server.tsx index c1d3d5480..2ea721fc0 100644 --- a/apps/dokploy/pages/dashboard/settings/server.tsx +++ b/apps/dokploy/pages/dashboard/settings/server.tsx @@ -23,7 +23,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/servers.tsx b/apps/dokploy/pages/dashboard/settings/servers.tsx index a7c104a16..7aea531b7 100644 --- a/apps/dokploy/pages/dashboard/settings/servers.tsx +++ b/apps/dokploy/pages/dashboard/settings/servers.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/ssh-keys.tsx b/apps/dokploy/pages/dashboard/settings/ssh-keys.tsx index 55b97976d..808e4e8cb 100644 --- a/apps/dokploy/pages/dashboard/settings/ssh-keys.tsx +++ b/apps/dokploy/pages/dashboard/settings/ssh-keys.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} ); diff --git a/apps/dokploy/pages/dashboard/settings/users.tsx b/apps/dokploy/pages/dashboard/settings/users.tsx index f8628459f..d1b598e4c 100644 --- a/apps/dokploy/pages/dashboard/settings/users.tsx +++ b/apps/dokploy/pages/dashboard/settings/users.tsx @@ -20,7 +20,7 @@ export default Page; Page.getLayout = (page: ReactElement) => { return ( - + {page} );