510815a7ac
* 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>
43 lines
893 B
Text
43 lines
893 B
Text
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 About = () => (
|
|
<div>
|
|
<Head title='About' />
|
|
<Nav />
|
|
|
|
<div className='hero'>
|
|
<h1 className='title'>Everything About Next.js!</h1>
|
|
<p className='description'>
|
|
To get started, edit <code>pages/about/index.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 About
|