This commit is contained in:
9
app/components/Footer.js
Normal file
9
app/components/Footer.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Component } from 'react'
|
||||
|
||||
export default class Footer extends Component {
|
||||
render () {
|
||||
return (
|
||||
<div>Footer</div>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import Head from 'next/head'
|
||||
import Footer from './Footer'
|
||||
|
||||
export default function Layout ({ children }) {
|
||||
return (
|
||||
@@ -8,6 +9,7 @@ export default function Layout ({ children }) {
|
||||
<link rel='icon' href='/favicon.ico' />
|
||||
</Head>
|
||||
<main>{children}</main>
|
||||
<Footer />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user