Skip to content

Commit 7bb0aa2

Browse files
committed
align with tutorial
1 parent 918694e commit 7bb0aa2

File tree

9 files changed

+27
-11
lines changed

9 files changed

+27
-11
lines changed

src/components/App/index.css

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/components/App/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import React from 'react';
22

3-
import './index.css';
4-
53
const App = () => (
6-
<div className="app">
4+
<div>
75
<h1>App</h1>
86
</div>
97
);

src/components/Landing/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ import React from 'react';
33
const Landing = () => (
44
<div>
55
<h1>Landing</h1>
6-
<p>
7-
The Landing Page is open to everyone, even though the user isn't
8-
signed in.
9-
</p>
106
</div>
117
);
128

src/components/Session/AuthUserContext.js

Whitespace-only changes.

src/components/Session/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React from 'react';
2+
3+
const Session = () => (
4+
<div>
5+
<h1>Session</h1>
6+
</div>
7+
);
8+
9+
export default Session;

src/components/Session/withAuthentication.js

Whitespace-only changes.

src/components/Session/withAuthorization.js

Whitespace-only changes.

src/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
body {
2+
margin: 0;
3+
padding: 0;
4+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
5+
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
6+
sans-serif;
7+
-webkit-font-smoothing: antialiased;
8+
-moz-osx-font-smoothing: grayscale;
9+
}
10+
11+
code {
12+
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
13+
monospace;
14+
}

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
33

4-
import App from './components/App';
4+
import './index.css';
55
import * as serviceWorker from './serviceWorker';
66

7+
import App from './components/App';
8+
79
ReactDOM.render(<App />, document.getElementById('root'));
810

911
// If you want your app to work offline and load faster, you can change

0 commit comments

Comments
 (0)