diff --git a/client/src/App.css b/client/src/App.css index 1b8eb84..246d35e 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -3,7 +3,19 @@ } a { - color: white; + color: #ffffff; +} + +.Homepage { + background-image: url('./assets/Landing-Page.gif'); + background-size: cover; + margin: 0; + height: 100vh; +} + +.homepage-menu { + position: relative; + top: 100px; } .Game { diff --git a/client/src/assets/Landing-Page.gif b/client/src/assets/Landing-Page.gif new file mode 100644 index 0000000..b6b34f0 Binary files /dev/null and b/client/src/assets/Landing-Page.gif differ diff --git a/client/src/components/Game.js b/client/src/components/Game.js index f846a9f..c040c60 100644 --- a/client/src/components/Game.js +++ b/client/src/components/Game.js @@ -13,6 +13,7 @@ import { Redirect } from 'react-router-dom' let socket const ENDPOINT = 'http://localhost:5000' +// const ENDPOINT = 'http://192.168.0.103:5000/' const Game = (props) => { const data = queryString.parse(props.location.search) @@ -801,10 +802,10 @@ const Game = (props) => { } - :

Room full

} + :

Room full

}
- Forfeit Game + Quit ) } diff --git a/client/src/components/Homepage.js b/client/src/components/Homepage.js index b93f920..de97176 100644 --- a/client/src/components/Homepage.js +++ b/client/src/components/Homepage.js @@ -7,11 +7,13 @@ const Homepage = () => { return (
-

UNO

-
setRoomCode(event.target.value)} />
- -

OR

- +
+

UNO

+
setRoomCode(event.target.value)} />
+ +

OR

+ +
) } diff --git a/client/src/index.css b/client/src/index.css index c2bf49f..1582bb4 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -1,5 +1,10 @@ @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300;1,400;1,500;1,600&display=swap'); +* { + margin: 0; + padding: 0; +} + body { margin: 0; font-family: 'Montserrat', sans-serif;