Skip to content

Commit

Permalink
Merge pull request #19 from prasoonk1204/HeaderAndFooter
Browse files Browse the repository at this point in the history
Added header and footer
  • Loading branch information
Soumojitshome2023 authored Oct 6, 2024
2 parents 5786da4 + 2a35ae7 commit e466dfb
Show file tree
Hide file tree
Showing 6 changed files with 416 additions and 25 deletions.
103 changes: 84 additions & 19 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions client/src/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { Inter } from 'next/font/google'
import './globals.css'
import MyContextProvider from '@/context/SocketProvider'
import Header from '@/components/Header';
import Footer from "@/components/Footer";

const inter = Inter({ subsets: ['latin'] })

Expand All @@ -17,20 +19,26 @@ export default function RootLayout({ children }) {
<head>
<title>{metadata.title}</title>
<meta name="description" content={metadata.description} />
<meta name="keywords" content="Video calling, WebRTC, Communication app, Video conferencing, Soumojit Shome" />
<meta
name="keywords"
content="Video calling, WebRTC, Communication app, Video conferencing, Soumojit Shome"
/>
<meta property="og:title" content="Video Calling WebApp" />
<meta property="og:description" content="A web application for seamless video calls built by Soumojit Shome." />
<meta
property="og:description"
content="A web application for seamless video calls built by Soumojit Shome."
/>
<meta property="og:image" content="/images/social-share-image.png" />
<meta property="og:url" content={baseUrl} />
<meta property="og:url" content={baseUrl} />
<meta property="og:type" content="website" />
<meta name="robots" content="index, follow" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</head>
<body className={inter.className}>
<MyContextProvider>
{children}
</MyContextProvider>
<Header />
<MyContextProvider>{children}</MyContextProvider>
<Footer />
</body>
</html>
);
Expand Down
Loading

0 comments on commit e466dfb

Please sign in to comment.