Skip to content

Commit 547700c

Browse files
committed
Remove extra files, reformat files
1 parent 001df07 commit 547700c

File tree

10 files changed

+131
-809
lines changed

10 files changed

+131
-809
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ The sysadmins' site is built using React and Gatsby. Markdown files serves as th
1010

1111
1. Start the server
1212

13-
Navigate into your new site’s directory and start it up.
13+
Navigate into the source code folder and start the development server.
1414

1515
```shell
16-
cd my-default-starter/
1716
gatsby develop
1817
```
1918

src/components/header.js

+26-26
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,40 @@ import PropTypes from "prop-types"
33
import React from "react"
44

55
const Header = ({ siteTitle }) => (
6-
<header
7-
style={{
8-
background: `rebeccapurple`,
9-
marginBottom: `1.45rem`,
10-
}}
11-
>
12-
<div
13-
style={{
14-
margin: `0 auto`,
15-
maxWidth: 960,
16-
padding: `1.45rem 1.0875rem`,
17-
}}
6+
<header
7+
style={{
8+
background: `rebeccapurple`,
9+
marginBottom: `1.45rem`,
10+
}}
1811
>
19-
<h1 style={{ margin: 0 }}>
20-
<Link
21-
to="/"
22-
style={{
23-
color: `white`,
24-
textDecoration: `none`,
25-
}}
12+
<div
13+
style={{
14+
margin: `0 auto`,
15+
maxWidth: 960,
16+
padding: `1.45rem 1.0875rem`,
17+
}}
2618
>
27-
{siteTitle}
28-
</Link>
29-
</h1>
30-
</div>
31-
</header>
19+
<h1 style={{ margin: 0 }}>
20+
<Link
21+
to="/"
22+
style={{
23+
color: `white`,
24+
textDecoration: `none`,
25+
}}
26+
>
27+
{siteTitle}
28+
</Link>
29+
</h1>
30+
</div>
31+
</header>
3232
)
3333

3434
Header.propTypes = {
35-
siteTitle: PropTypes.string,
35+
siteTitle: PropTypes.string,
3636
}
3737

3838
Header.defaultProps = {
39-
siteTitle: ``,
39+
siteTitle: ``,
4040
}
4141

4242
export default Header

src/components/image.js

-32
This file was deleted.

0 commit comments

Comments
 (0)