feat: add page titles

This commit is contained in:
djknaeckebrot
2024-12-12 12:56:55 +01:00
parent bb31bef8bc
commit f71e04eaaa
22 changed files with 81 additions and 26 deletions
@@ -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 = (
<BreadcrumbLink>{data?.name}</BreadcrumbLink>
</BreadcrumbItem>
</Breadcrumb>
<Head>
<title>
Project {data?.project.name} | {data?.name} | Dokploy
</title>
</Head>
<header className="mb-6 flex w-full items-center justify-between max-sm:flex-wrap gap-4">
<div className="flex flex-col justify-between w-fit gap-2">
<div className="flex flex-row items-center gap-2 xl:gap-4 flex-wrap">