-
Notifications
You must be signed in to change notification settings - Fork 12
/
about.jsx
43 lines (31 loc) · 831 Bytes
/
about.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* About page.
*
*/
import React from 'react'
import Head from 'next/head'
export default class About extends React.Component {
componentDidMount() {
console.info("about did mount");
}
render () {
return (
<React.Fragment>
<Head>
<title>About</title>
</Head>
<h2>About</h2>
<p>This is an empty about page.</p>
<p className="example">
This is styled via inline CSS in about.jsx</p>
<style jsx>{`
p.example {
color: #1a881a;
background: #dcffdc;
padding: 10px;
border: 1px dashed #111;
}
`}</style>
</React.Fragment>
)
}
}