Skip to content

Commit

Permalink
tryna add og tags to home too
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevyashsaini authored Jul 30, 2024
1 parent 105d22e commit 790efb7
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/app/home/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import Navbar from "@/components/navbar"
import Footer from "@/components/footer"
import Head from 'next/head';


interface RootLayoutProps {
Expand All @@ -10,9 +11,22 @@ interface RootLayoutProps {
export default function RootLayout({ children } : RootLayoutProps) {
return (
<>
<Head>
<meta charSet="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta property="og:title" content="Coding Club IIITV" />
<meta property="og:site_name" content="IIITVCC" />
<meta property="og:url" content="https://iiitvcc.vercel.app" />
<meta property="og:description" content="IIITVCC Community Website | Workshops | Mentorship | Community" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://iiitvcc.vercel.app/LinkPreview.png" />
</Head>
<Navbar />
{children}
<Footer />
</>
)
}
}

1 comment on commit 790efb7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for iiitvcc ready!

✅ Preview
https://iiitvcc-4rai5jh10-iiitv-coding-clubs-projects.vercel.app

Built with commit 790efb7.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.