Skip to content

Commit 2cc636a

Browse files
committed
Make default app look less sketchy
1 parent dbd0217 commit 2cc636a

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

src/App.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
.App {
2-
background: red;
3-
width: 100px;
4-
height: 100px;
1+
body {
2+
background-color: #f5fcff;
3+
}
4+
5+
.App--logo {
6+
animation: spin infinite 20s linear;
7+
border-radius: 50%;
8+
vertical-align: middle;
9+
width: 38px;
10+
}
11+
12+
@keyframes spin {
13+
from { transform: rotate(0deg); }
14+
to { transform: rotate(360deg); }
515
}

src/App.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
import React from 'react';
22
import './App.css';
3-
import reactImage from './react.png';
3+
import logo from './logo.png';
44

55
export default function App() {
66
return (
7-
<div className="App">
8-
Hello world!
9-
<img src={reactImage} alt="React rocks!" />
7+
<div>
8+
<h1>
9+
Welcome to
10+
<img src={logo} className="App--logo" alt="React logo" />
11+
React
12+
</h1>
13+
<p>
14+
To get started, edit <code>src/App.js</code> and
15+
save the file to update.
16+
</p>
1017
</div>
1118
);
1219
}

src/logo.png

6.65 KB
Loading

src/react.png

-106 KB
Binary file not shown.

0 commit comments

Comments
 (0)