mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
c090a57e77
Changes: * updated packages * moved the content of `layout` to `_app.js` and created simple `Page` component * replaced `import * as React` because it is not necessary to import everything * moved `next.js.flow` to `flow-typed` as it is default directory for library definitions * updated the gif
10 lines
160 B
JavaScript
10 lines
160 B
JavaScript
// @flow
|
|
import React from 'react'
|
|
import Page from '../components/Page'
|
|
|
|
export default () => (
|
|
<Page title='Contact us'>
|
|
<div>Contact</div>
|
|
</Page>
|
|
)
|