@@ -5,6 +5,7 @@ import { Montserrat } from 'next/font/google';
55import { PostHogProvider } from '@/components/providers/PostHogProvider'
66import { PostHogPageview } from '@/components/PostHogPageview'
77import { NextAuthProvider } from '@/components/providers/NextAuthProvider'
8+ import { websiteSchema , organizationSchema } from './schema'
89
910const geistSans = localFont ( {
1011 src : "./fonts/GeistVF.woff" ,
@@ -25,46 +26,45 @@ const montserrat = Montserrat({
2526export const metadata : Metadata = {
2627 metadataBase : new URL ( 'https://coc-landing.vercel.app' ) ,
2728 title : {
28- default : "VJTI Resources & Communities" ,
29- template : "%s | VJTI Resources"
30- } ,
31- description : "Access curated educational resources, join tech communities, and connect with VJTI's developer ecosystem. Features AI, Web Dev, CP, and academic materials." ,
32- keywords : [ "VJTI" , "education" , "resources" , "developer communities" , "engineering" , "tech clubs" , "Mumbai" , "AI" , "Web Dev" , "CP" , "academic materials" , "coc" , "coding" ] ,
33- authors : [ { name : "VJTI Resources Team" } ] ,
34- openGraph : {
35- type : "website" ,
36- locale : "en_IN" ,
37- url : "https://coc-landing.vercel.app" ,
38- siteName : "VJTI Resources" ,
39- images : [ {
40- url : "/coc_vjti.jpeg" ,
41- width : 1200 ,
42- height : 630 ,
43- alt : "VJTI Resources & Communities Logo"
44- } ] ,
45- } ,
46- twitter : {
47- card : "summary_large_image" ,
48- site : "@vjti_resources" ,
49- images : "/coc_vjti.jpeg" ,
50- } ,
51- icons : {
52- icon : "/coc_vjti.jpeg" ,
29+ default : "Community of Coders VJTI | COC Landing" ,
30+ template : "%s | Community of Coders VJTI"
5331 } ,
32+ description : "Access curated educational resources, join tech communities, and explore learning paths for Web Development, AI/ML, Competitive Programming at VJTI." ,
33+ keywords : [ "VJTI" , "COC" , "tech communities" , "educational resources" , "web development" , "AI/ML" , "competitive programming" , "student clubs" ] ,
34+ authors : [ { name : "Community of Coders" } ] ,
35+ creator : "Community of Coders VJTI" ,
36+ publisher : "VJTI" ,
5437 robots : {
5538 index : true ,
5639 follow : true ,
5740 googleBot : {
5841 index : true ,
5942 follow : true ,
60- " max-video-preview" : - 1 ,
61- " max-image-preview" : " large" ,
62- " max-snippet" : - 1 ,
43+ ' max-video-preview' : - 1 ,
44+ ' max-image-preview' : ' large' ,
45+ ' max-snippet' : - 1 ,
6346 } ,
6447 } ,
65- verification : {
66- google : "your-google-verification-code" ,
48+ openGraph : {
49+ type : 'website' ,
50+ locale : 'en_US' ,
51+ url : 'https://coc-landing.vercel.app' ,
52+ title : 'Community of Coders VJTI' ,
53+ description : 'Access curated educational resources and join tech communities at VJTI.' ,
54+ siteName : 'Community of Coders VJTI' ,
55+ } ,
56+ twitter : {
57+ card : 'summary_large_image' ,
58+ title : 'Community of Coders VJTI' ,
59+ description : 'Access curated educational resources and join tech communities at VJTI.' ,
60+ creator : '@COC_VJTI' ,
6761 } ,
62+ alternates : {
63+ canonical : 'https://coc-landing.vercel.app' ,
64+ } ,
65+ verification : {
66+ google : 'your-google-verification-code' ,
67+ }
6868} ;
6969
7070export default function RootLayout ( {
@@ -74,6 +74,20 @@ export default function RootLayout({
7474} > ) {
7575 return (
7676 < html lang = "en" >
77+ < head >
78+ < script
79+ type = "application/ld+json"
80+ dangerouslySetInnerHTML = { {
81+ __html : JSON . stringify ( websiteSchema )
82+ } }
83+ />
84+ < script
85+ type = "application/ld+json"
86+ dangerouslySetInnerHTML = { {
87+ __html : JSON . stringify ( organizationSchema )
88+ } }
89+ />
90+ </ head >
7791 < body
7892 className = { `${ geistSans . variable } ${ geistMono . variable } ${ montserrat . variable } antialiased` }
7993 >
0 commit comments