Skip to content

Commit 568e48c

Browse files
fix:og img
1 parent b8a73d0 commit 568e48c

File tree

3 files changed

+80
-14
lines changed

3 files changed

+80
-14
lines changed

public/papers.png

-656 KB
Loading

src/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const metadata: Metadata = {
3030
keywords: [
3131
"CodeChef",
3232
"VIT",
33+
"VIT Papers",
3334
"Vellore Institute of Technology",
3435
"CodeChef-VIT",
3536
"Papers",

src/app/paper/[id]/page.tsx

Lines changed: 79 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,100 @@ export async function generateMetadata({
1818
if (paper) {
1919
return {
2020
metadataBase: new URL("https://papers.codechefvit.com/"),
21-
title: `Papers| ${paper.subject}| ${paper.exam} |${paper.slot}`,
22-
description:
23-
`Discover ${paper.subject}'s question paper created by CodeChef-VIT at Vellore Institute of Technology. Made with ♡ to help students excel.`,
21+
title: `Papers | ${paper.subject} | ${paper.exam} | ${paper.slot}`,
22+
description: `Discover ${paper.subject}'s question paper created by CodeChef-VIT at Vellore Institute of Technology. Made with ♡ to help students excel.`,
2423
icons: [{ rel: "icon", url: "/codechef_logo.svg" }],
2524
openGraph: {
26-
title: `Papers| ${paper.subject}| ${paper.exam} |${paper.slot}`,
25+
title: `Papers | ${paper.subject} | ${paper.exam} | ${paper.slot}`,
2726
images: [{ url: "/papers.png" }],
2827
url: "https://papers.codechefvit.com/",
2928
type: "website",
30-
description:
31-
`Discover ${paper.subject}'s question paper created by CodeChef-VIT at Vellore Institute of Technology. Made with ♡ to help students excel.`,
29+
description: `Discover ${paper.subject}'s question paper created by CodeChef-VIT at Vellore Institute of Technology. Made with ♡ to help students excel.`,
3230
siteName: "Papers by CodeChef-VIT",
3331
},
3432
twitter: {
3533
card: "summary_large_image",
36-
title: `Papers| ${paper.subject}| ${paper.exam} |${paper.slot}`,
37-
description:
38-
`Discover ${paper.subject}'s question paper created by CodeChef-VIT at Vellore Institute of Technology. Made with ♡ to help students excel.`,
34+
title: `Papers | ${paper.subject} | ${paper.exam} | ${paper.slot}`,
35+
description: `Discover ${paper.subject}'s question paper created by CodeChef-VIT at Vellore Institute of Technology. Made with ♡ to help students excel.`,
3936
images: [{ url: "/papers.png" }],
4037
},
4138
applicationName: "Papers by CodeChef-VIT",
4239
keywords: [
43-
paper.subject,
44-
paper.exam,
45-
paper.slot,
46-
paper.year
40+
"CodeChef",
41+
"VIT",
42+
"Vellore Institute of Technology",
43+
"CodeChef-VIT",
44+
"Papers",
45+
"Exam solutions",
46+
"Student resources",
47+
"VIT exam papers",
48+
"Exam preparation",
49+
"Previous year papers VIT",
50+
"VITCAT1",
51+
"VITCAT2",
52+
"VITFAT",
53+
"VIT CAT1 papers",
54+
"VIT CAT2 papers",
55+
"VIT FAT papers",
56+
"VIT exam question papers",
57+
"VIT question bank",
58+
"VIT previous year question papers",
59+
"VIT academic resources",
60+
"VIT exam pattern",
61+
"VIT preparation tips",
62+
"VIT question solutions",
63+
"VIT model papers",
64+
"VIT solved papers",
65+
"VIT test papers",
66+
"VIT sample papers",
67+
"VIT question papers with solutions",
68+
"VIT exam guide",
69+
"VIT CAT1 preparation",
70+
"VIT CAT2 preparation",
71+
"VIT FAT preparation",
72+
"VIT previous year CAT1 papers",
73+
"VIT previous year CAT2 papers",
74+
"VIT previous year FAT papers",
75+
"VIT exam resources",
76+
"VIT academic help",
77+
"VIT syllabus",
78+
"VIT question paper pattern",
79+
"VIT 2023 papers",
80+
"VIT 2024 papers",
81+
"VIT exam practice",
82+
"VIT question paper archives",
83+
"VIT study materials",
84+
"VIT engineering papers",
85+
"VIT exam strategy",
86+
"VIT online exam resources",
87+
"VIT question paper download",
88+
"VIT important questions",
89+
"VIT question paper solutions",
90+
`${paper.subject} question paper`,
91+
`${paper.exam} question paper`,
92+
`${paper.slot} question paper`,
93+
`${paper.year} question paper`,
94+
`${paper.subject} question paper`,
95+
`${paper.exam} question paper`,
96+
`${paper.slot} question paper`,
97+
`${paper.year} question paper`,
98+
`${paper.subject} ${paper.exam} question paper`,
99+
`${paper.subject} ${paper.slot} question paper`,
100+
`${paper.subject} ${paper.year} question paper`,
101+
`${paper.exam} ${paper.slot} question paper`,
102+
`${paper.exam} ${paper.year} question paper`,
103+
`${paper.subject} ${paper.exam} ${paper.year} question paper`,
104+
`${paper.subject} ${paper.exam} ${paper.slot} question paper`,
105+
`${paper.subject} ${paper.year} ${paper.slot} question paper`,
106+
`${paper.exam} ${paper.year} ${paper.slot} question paper`,
107+
`${paper.subject} ${paper.exam} ${paper.year} ${paper.slot} question paper`,
108+
`${paper.year} ${paper.subject} ${paper.slot} question paper`,
109+
`${paper.year} ${paper.exam} ${paper.subject} question paper`,
110+
`${paper.exam} ${paper.subject} ${paper.year} question paper`,
111+
`${paper.slot} ${paper.subject} ${paper.year} question paper`,
112+
`${paper.slot} ${paper.exam} ${paper.year} question paper`,
47113
],
48114
robots: "index, follow",
49-
50115
};
51116
}
52117

0 commit comments

Comments
 (0)