Skip to content

Commit 3b377b6

Browse files
authored
GitHubify things a bit
1 parent c14d9bc commit 3b377b6

File tree

4 files changed

+32
-27
lines changed

4 files changed

+32
-27
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
# Getting Started with Create React App
1+
# GitHub Codespaces ♥️ React
22

3-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
Welcome to your shiny new Codespace running React! We've got everything fired up and running for you to explore React.
4+
5+
You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with the what you're seeing right now - where you go from here is up to you!
6+
7+
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish to GitHub" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever.
8+
9+
This project was bootstrapped for you with [Create React App](https://github.com/facebook/create-react-app).
410

511
## Available Scripts
612

713
In the project directory, you can run:
814

915
### `npm start`
1016

17+
We've already run this for you in the `Codespaces: server` terminal window below. If you need to stop the server for any reason you can just run `npm start` again to bring it back online.
18+
1119
Runs the app in the development mode.\
12-
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
20+
Open [http://localhost:3000](http://localhost:3000) in the built-in Simple Browser (`Cmd/Ctrl + Shift + P > Simple Browser: Show`) to view your running application.
1321

14-
The page will reload when you make changes.\
22+
The page will reload automatically when you make changes.\
1523
You may also see any lint errors in the console.
1624

1725
### `npm test`

public/Octocat.png

2.03 MB
Loading

src/App.css

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
pointer-events: none;
88
}
99

10-
@media (prefers-reduced-motion: no-preference) {
11-
.App-logo {
12-
animation: App-logo-spin infinite 20s linear;
13-
}
14-
}
15-
1610
.App-header {
1711
background-color: #282c34;
1812
min-height: 100vh;
@@ -28,11 +22,10 @@
2822
color: #61dafb;
2923
}
3024

31-
@keyframes App-logo-spin {
32-
from {
33-
transform: rotate(0deg);
34-
}
35-
to {
36-
transform: rotate(360deg);
37-
}
25+
.heart {
26+
color: #ff0000;
3827
}
28+
29+
.small {
30+
font-size: 0.75rem;
31+
}

src/App.js

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
import logo from './logo.svg';
21
import './App.css';
32

43
function App() {
54
return (
65
<div className="App">
76
<header className="App-header">
8-
<img src={logo} className="App-logo" alt="logo" />
7+
<img src="Octocat.png" className="App-logo" alt="logo" />
98
<p>
9+
GitHub Codespaces <span class="heart">♥️</span> React
10+
</p>
11+
<p class="small">
1012
Edit <code>src/App.js</code> and save to reload.
1113
</p>
12-
<a
13-
className="App-link"
14-
href="https://reactjs.org"
15-
target="_blank"
16-
rel="noopener noreferrer"
17-
>
18-
Learn React
19-
</a>
14+
<p>
15+
<a
16+
className="App-link"
17+
href="https://reactjs.org"
18+
target="_blank"
19+
rel="noopener noreferrer"
20+
>
21+
Learn React
22+
</a>
23+
</p>
2024
</header>
2125
</div>
2226
);

0 commit comments

Comments
 (0)