Skip to content

Commit 6454b6a

Browse files
author
Dan Costello
committed
Add metadata
1 parent 8fec33c commit 6454b6a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

app/layout.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
11
import "./global.css";
22
import { RootProvider } from "fumadocs-ui/provider";
33
import type { ReactNode } from "react";
4+
import type { Metadata } from "next";
5+
6+
export const metadata: Metadata = {
7+
title: {
8+
template: "%s | UserClouds",
9+
default: "UserClouds Documentation",
10+
},
11+
description: "Official documentation for UserClouds",
12+
metadataBase: new URL("https://docs.userclouds.com"),
13+
icons: {
14+
icon: [{ url: "/favicon.ico" }, { url: "/favicon.png" }],
15+
apple: { url: "/icon.png" },
16+
},
17+
openGraph: {
18+
type: "website",
19+
locale: "en_US",
20+
url: "https://docs.userclouds.com",
21+
siteName: "UserClouds Documentation",
22+
images: [
23+
{
24+
url: "/logo.png",
25+
width: 1200,
26+
height: 630,
27+
alt: "UserClouds Logo",
28+
},
29+
],
30+
},
31+
twitter: {
32+
card: "summary_large_image",
33+
images: ["/logo.png"],
34+
},
35+
};
436

537
export default function Layout({ children }: { children: ReactNode }) {
638
return (

0 commit comments

Comments
 (0)