diff --git a/power-pay-frontend/src/components/UserLogin.tsx b/power-pay-frontend/src/components/UserLogin.tsx new file mode 100644 index 0000000..3ad67a8 --- /dev/null +++ b/power-pay-frontend/src/components/UserLogin.tsx @@ -0,0 +1,31 @@ +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import { faPhone } from '@fortawesome/free-solid-svg-icons/faPhone'; +import { faUser } from '@fortawesome/free-solid-svg-icons'; +const UserLogin: React.FC = () => { + return ( +
+ +
LOG IN
+
+
+
+
+ + +
+
+
+
+
+ + +
+
+ ); + }; + + export default UserLogin; \ No newline at end of file diff --git a/power-pay-frontend/src/index.css b/power-pay-frontend/src/index.css index c821036..d969b52 100644 --- a/power-pay-frontend/src/index.css +++ b/power-pay-frontend/src/index.css @@ -22,6 +22,7 @@ a:hover { } body { + background-color: white; margin: 0; display: flex; place-items: center; @@ -64,4 +65,33 @@ button:focus-visible { button { background-color: #f9f9f9; } +} + +/* disable wheel on number input */ +/* Chrome, Safari, Edge, Opera */ +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/* Firefox */ +input[type=number] { + appearance: textfield; +} + +.input-group { + position: relative; +} + +.input-group input { + position: relative; +} + +.input-group .fa-phone { + position: absolute; + top: 50%; + left: 10px; + color: red; + transform: translateY(-50%); } \ No newline at end of file