diff --git a/frontend/src/App.css b/frontend/src/App.css index 467c548..6638b9a 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -1,6 +1,6 @@ .App { background-color: var(--background-color); color: var(--primary-text-color) !important; - min-height: 100vh; - width: 100%; + height: 100vh; + width: 10vh; } diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 2ae663c..7d6f7f5 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -7,6 +7,7 @@ import Table from 'react-bootstrap/Table'; import Alert from 'react-bootstrap/Alert'; import Form from 'react-bootstrap/Form'; import Button from 'react-bootstrap/Button'; +import Card from 'react-bootstrap/Card'; import './App.css'; import 'bootstrap/dist/css/bootstrap.min.css'; @@ -26,41 +27,41 @@ function App() { // If no user, must be scanned/set otherwise return ( - + <> {user === "" ? : } - + ); } function NoUserView({setUser}) { const [preUser, setPreUser] = useState(""); return ( - <> - - - - User: - setPreUser(v.target.value)} /> - Which user is using this App? - - - - - - Scanner - - - - - - - - + + + BrmInv Anonymous + + User name: + setPreUser(v.target.value)} /> + Enter a user name or scan your barcode. + + + console.log("scanned")} + delay={1500} + /> + + + + + + ); }