Skip to content

Commit 7add830

Browse files
committed
test Game component finished
1 parent c56f7ed commit 7add830

File tree

6 files changed

+332
-8
lines changed

6 files changed

+332
-8
lines changed

package-lock.json

+102
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "fanduel",
3+
"homepage": "https://teseo.github.io/fanduel/",
34
"version": "0.1.0",
45
"private": true,
56
"dependencies": {
@@ -14,6 +15,8 @@
1415
"typescript": "^3.7.5"
1516
},
1617
"scripts": {
18+
"predeploy": "npm run build",
19+
"deploy": "gh-pages -d build",
1720
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
1821
"start": "react-scripts start",
1922
"build": "react-scripts build",
@@ -52,6 +55,7 @@
5255
"eslint-config-prettier": "^6.10.0",
5356
"eslint-plugin-prettier": "^3.1.2",
5457
"eslint-plugin-react": "^7.19.0",
58+
"gh-pages": "^2.2.0",
5559
"prettier": "^1.19.1",
5660
"react-test-renderer": "^16.13.0",
5761
"ts-jest": "^25.2.1"

src/Components/Game/StyledComponents/index.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ export const TopLogoImage = styled.img.attrs({
2121
`;
2222
export const WinnerImage = styled.img.attrs({
2323
src: WinnerImageSrc,
24+
alt: "You won",
2425
})`
2526
height: 192px;
2627
margin-top: 5px;
2728
`;
2829
export const TryAgainImage = styled.img.attrs({
2930
src: TryAgainSrc,
31+
alt: "Try again",
3032
})`
3133
height: 192px;
3234
margin-top: 5px;

0 commit comments

Comments
 (0)