diff --git a/src/components/Navbar.css b/src/components/Navbar.css new file mode 100644 index 0000000..79e823d --- /dev/null +++ b/src/components/Navbar.css @@ -0,0 +1,14 @@ +.yellow { + position: relative; + left: 38px; +} +.blue { + position: relative; + top: 538px; + right: 114px; +} +.green { + position: relative; + top: 538px; + left: 152px; +} diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 5f78dcc..4056aa0 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -1,12 +1,14 @@ import React from 'react'; import NameContainer from './navbar-components/NameContainer'; import ReadyButton from './navbar-components/ReadyButton'; +import './Navbar.css'; const Navbar = ({ players, started, time, isReady }) => { + const colors = ['red', 'blue', 'green', 'yellow']; return (