Socialify

Folder ..

Viewing layout.tsx
25 lines (22 loc) • 541.0 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import './globals.css'
import { Inter } from 'next/font/google'
import { Navbar } from './components/navbar'

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

export const metadata = {
  title: 'Mafia - Online Multiplayer Game',
  description: 'Online Multiplayer Mafia Game = No Signup Required!',
}

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en">
      <body className={inter.className}>
        <Navbar />
        <main>{children}</main>
      </body>
    </html>
  )
}