2019-02-19 16:37:19 +01:00
|
|
|
import Foo from '../components/Foo'
|
|
|
|
import Bar from '../components/Bar'
|
2019-04-11 20:59:26 +02:00
|
|
|
import { withAmp } from 'next/amp'
|
2019-02-19 16:37:19 +01:00
|
|
|
|
2019-04-11 20:59:26 +02:00
|
|
|
export default withAmp(() => (
|
2019-02-19 16:37:19 +01:00
|
|
|
<div>
|
|
|
|
<Foo />
|
|
|
|
<Bar />
|
|
|
|
<style jsx global>{`
|
|
|
|
body {
|
|
|
|
background-color: green;
|
|
|
|
}
|
|
|
|
`}</style>
|
|
|
|
</div>
|
2019-04-11 20:59:26 +02:00
|
|
|
))
|