Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Link from 'next/link'
- import Head from './../node_modules/next/head'
- export default function Layout({ children, title = 'Welcome to my website' }) {
- return (
- <div>
- <Head>
- <title>{title}</title>
- </Head>
- {children}
- </div>
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement