improve metadata
This commit is contained in:
parent
e40328aeb7
commit
f8e2ee2543
4 changed files with 11 additions and 11 deletions
|
@ -11,7 +11,7 @@ import { GetOrgResponse, ListOrgsResponse } from "@server/routers/org";
|
|||
import { authCookieHeader } from "@app/api/cookies";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Configuration",
|
||||
title: `Configuration - ${process.env.NEXT_PUBLIC_APP_NAME}`,
|
||||
description: "",
|
||||
};
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@ import Image from "next/image"
|
|||
import { Separator } from "@/components/ui/separator"
|
||||
import { SidebarNav } from "@/components/sidebar-nav"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Forms",
|
||||
description: "Advanced form example using react-hook-form and Zod.",
|
||||
}
|
||||
// export const metadata: Metadata = {
|
||||
// title: "Forms",
|
||||
// description: "Advanced form example using react-hook-form and Zod.",
|
||||
// }
|
||||
|
||||
const sidebarNavItems = [
|
||||
{
|
||||
|
|
|
@ -15,10 +15,10 @@ import { useEffect, useState } from "react";
|
|||
import { toast } from "@app/hooks/use-toast";
|
||||
import { ClientLayout } from "./components/ClientLayout";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Forms",
|
||||
description: "Advanced form example using react-hook-form and Zod.",
|
||||
};
|
||||
// export const metadata: Metadata = {
|
||||
// title: "Forms",
|
||||
// description: "Advanced form example using react-hook-form and Zod.",
|
||||
// };
|
||||
|
||||
interface SettingsLayoutProps {
|
||||
children: React.ReactNode;
|
||||
|
@ -70,7 +70,7 @@ export default async function SettingsLayout({
|
|||
</Link>
|
||||
</div>
|
||||
|
||||
<SiteProvider site={site}>
|
||||
<SiteProvider site={site}>
|
||||
<ClientLayout
|
||||
isCreate={params.niceId === "create"}
|
||||
>
|
||||
|
|
|
@ -10,7 +10,7 @@ import { authCookieHeader } from "@app/api/cookies";
|
|||
import { redirect } from "next/navigation";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: process.env.NEXT_PUBLIC_APP_NAME,
|
||||
title: `Dashboard - ${process.env.NEXT_PUBLIC_APP_NAME}`,
|
||||
description: "",
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue