Skip to content

Commit e1908d8

Browse files
title and head in rootlayout??!!
1 parent 380e905 commit e1908d8

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

src/app/layout.tsx

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
import { Pangolin, Poppins, Inter } from "next/font/google";
23
import "./globals.css";
34
import SessionProviderWrapper from "./SessionProvider";
@@ -31,11 +32,13 @@ export const metadata = {
3132
icons: {
3233
icon: "/logo_ffcs.svg",
3334
},
35+
manifest: "/manifest.json",
36+
3437
openGraph: {
3538
title: "FFCS-inator",
3639
description:
37-
"Generate priority-based timetables in seconds with FFCS-inator. No hassle. No stress. No more clashes. The smartest way to plan your VIT VIT FFCS.",
38-
site_name: "FFCS-inator",
40+
"Generate priority-based timetables in seconds with FFCS-inator. No hassle. No stress. No more clashes. The smartest way to plan your VIT FFCS.",
41+
siteName: "FFCS-inator",
3942
type: "website",
4043
images: [
4144
{
@@ -46,17 +49,21 @@ export const metadata = {
4649
},
4750
],
4851
},
52+
twitter: {
53+
card: "summary_large_image",
54+
title: "FFCS-inator",
55+
description:
56+
"Generate priority-based timetables in seconds with FFCS-inator.",
57+
images: ["/og-image.png"],
58+
},
59+
robots: "index, follow",
4960
};
5061

5162
export default function RootLayout({
5263
children,
5364
}: Readonly<{ children: React.ReactNode }>) {
5465
return (
5566
<html lang="en">
56-
<head>
57-
<title>FFCS-inator</title>
58-
<link rel="manifest" href="/manifest.json" />
59-
</head>
6067
<body
6168
className={`${pangolin.variable} ${poppins.variable} ${inter.variable} antialiased bg-[#CEE4E5] select-none`}
6269
>
@@ -66,3 +73,4 @@ export default function RootLayout({
6673
</html>
6774
);
6875
}
76+

0 commit comments

Comments
 (0)