diff --git a/package.json b/package.json index 92c3438..fa710af 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "dependencies": { + "@fontsource/roboto": "^4.5.1", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", diff --git a/src/App.css b/src/App.css index cf3f8d9..5d4c8bc 100644 --- a/src/App.css +++ b/src/App.css @@ -1,7 +1,20 @@ .App { - background-image: '/public/background.png'; + background: + linear-gradient( + rgba(0, 0, 0, 0.7), + rgba(0, 0, 0, 0.7) + ), + url('background.png'); + position: fixed; + min-width: 100%; + min-height: 100%; + background-size: cover; + background-position: center; } #title { text-align: center; margin-top: 3%; + font-family: "Roboto"; + text-decoration: underline; + color: white; } \ No newline at end of file diff --git a/src/App.js b/src/App.js index e1b4f07..2292bb5 100644 --- a/src/App.js +++ b/src/App.js @@ -2,12 +2,14 @@ import logo from './logo.svg'; import './App.css'; import {AwesomeButton} from 'react-awesome-button'; import "react-awesome-button/dist/styles.css"; -import roots from './roots.json' +import data from './roots.json' function App() { return (