Imports, inserting BG

This commit is contained in:
mikwee 2021-10-13 18:00:35 +03:00
parent 11a3d6ef23
commit 1a5df99b75
3 changed files with 3 additions and 36 deletions

BIN
public/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

@ -1,38 +1,3 @@
.App { .App {
text-align: center; background-image: '/public/background.png';
}
.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;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
} }

View file

@ -1,5 +1,7 @@
import logo from './logo.svg'; import logo from './logo.svg';
import './App.css'; import './App.css';
import {AwesomeButton} from 'react-awesome-button';
import "react-awesome-button/dist/styles.css";
import roots from './roots.json' import roots from './roots.json'
function App() { function App() {