Skip to content

Commit

Permalink
feat(*): add something backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Luchanso committed Apr 12, 2020
1 parent 068660b commit adc0354
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Form, FormState } from "./components/Form/Form";
import { Chart } from "./components/Chart/Chart";
import { Typography } from "@material-ui/core";
import styled from "styled-components";
import { Background } from "./components/Background/Background";
// import { Background } from "./components/Background/Background";

const AlignContainer = styled.div`
margin-top: 40px;
Expand Down
4 changes: 3 additions & 1 deletion src/components/Background/Background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const BackgroundContainer = styled.div`
height: 100%;
background: no-repeat url("${BackgroundUrl}");
background-size: contain;
z-index: -9999;
`;

const BackgroundContainerShadow = styled.div`
Expand All @@ -20,7 +21,8 @@ const BackgroundContainerShadow = styled.div`
height: 100%;
background-color: black;
opacity: 0.9;
opacity: 0;
z-index: -9998;
`;

const CreditsContainer = styled.div`
Expand Down
2 changes: 2 additions & 0 deletions src/components/Background/New Text Document.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://unsplash.com/photos/_0e9QqRbrIk
https://unsplash.com/photos/SKa0EwnNaE8
Binary file modified src/components/Background/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/components/Background/background2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit adc0354

Please sign in to comment.