-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.tsx
42 lines (38 loc) · 911 Bytes
/
layout.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import "../styles/globals.css";
import type { Metadata } from "next";
import type { PropsWithChildren } from "react";
const title = "Tik Tik";
const description = "Tik tik is a tik tok like video sharing app";
export const metadata: Metadata = {
title,
description,
metadataBase: new URL(process.env.NEXT_PUBLIC_BASE_URL!),
robots: {
index: true,
follow: true,
},
openGraph: {
title,
siteName: title,
description,
images: "/favicon.png",
url: process.env.NEXT_PUBLIC_BASE_URL,
},
twitter: {
title,
description,
images: "/favicon.png",
creator: "Dev-Siri",
site: process.env.NEXT_PUBLIC_BASE_URL,
},
icons: {
shortcut: "/favicon.ico",
},
};
export default function RootLayout({ children }: PropsWithChildren) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}