rsnext/test/integration/flying-shuttle/pages/other.js
Joe Haddad 510815a7ac
Add Flying Shuttle tests (#7000)
* Add Flying Shuttle tests

* Test second version of server

* Finish first version of tests

* Apply suggestions from code review

Co-Authored-By: Timer <timer150@gmail.com>

* Apply suggestions from code review

Co-Authored-By: Timer <timer150@gmail.com>
2019-04-10 17:08:19 -04:00

42 lines
868 B
JavaScript

import React from 'react'
import Head from '../components/head'
import Nav from '../components/nav'
import dynamic from 'next/dynamic'
const DynamicComponent = dynamic(() => import('../components/something'))
const Home = () => (
<div>
<Head title='Other' />
<Nav />
<div className='hero'>
<h1 className='title'>Welcome to Other Next.js!</h1>
<p className='description'>
To get started, edit <code>pages/other.js</code> and save to reload.
</p>
</div>
<DynamicComponent />
<style jsx>{`
.hero {
width: 100%;
color: #333;
}
.title {
margin: 0;
width: 100%;
padding-top: 80px;
line-height: 1.15;
font-size: 48px;
}
.title,
.description {
text-align: center;
}
`}</style>
</div>
)
export default Home