Skip to content

Commit

Permalink
Remove unnecessary code from generated project
Browse files Browse the repository at this point in the history
  • Loading branch information
Gil Teitelbaum committed Sep 8, 2020
1 parent 78e6ba6 commit 90e6f01
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 44 deletions.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"bootstrap": "^4.5.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.3"
Expand Down
24 changes: 0 additions & 24 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@
text-align: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}

.App-header {
background-color: #282c34;
min-height: 100vh;
Expand All @@ -23,16 +12,3 @@
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
14 changes: 1 addition & 13 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>

</header>
</div>
);
Expand Down
7 changes: 0 additions & 7 deletions src/logo.svg

This file was deleted.

0 comments on commit 90e6f01

Please sign in to comment.