diff --git a/apps/dokploy/components/layouts/dashboard-layout.tsx b/apps/dokploy/components/layouts/dashboard-layout.tsx index 8dd7e599..451ec45d 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 82b43ae5..5fd8bd62 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 bcbd4b78..1682348c 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 60ddfeab..6b9cae51 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 31e92976..0a5cfed8 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 409d9129..fcf39eff 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 e69c5a35..4d155e64 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 3e1e3ea8..c7152dd5 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 b68baeab..f4bf3743 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 f7f49746..51c61fc7 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 4aa7682c..191f25e2 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 e64db687..c648ad38 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 3320a9c3..f01294cd 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 fdf91ca1..9653d4a1 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 b5862eb9..cab53928 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 d783355e..cdc47fc0 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 a645a4af..87a285b1 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 16fded94..7cadd495 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 c1d3d548..2ea721fc 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 a7c104a1..7aea531b 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 55b97976..808e4e8c 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 f8628459..d1b598e4 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} );