Browse Source

color buttons changes

pocu46 3 years ago
parent
commit
0b8717278a

+ 1 - 1
hipstagram/src/Content/Login/Login.css

@@ -21,7 +21,7 @@
     padding: 10px 0;
     border-radius: 5px;
     border: 2px solid #3578e5;
-    color: blue;
+    color: #000000;
 }
 
 .login-wrapper button:hover {

+ 1 - 1
hipstagram/src/Content/Registration/Registration.css

@@ -21,7 +21,7 @@
     padding: 10px 0;
     border-radius: 5px;
     border: 2px solid #3578e5;
-    color: blue;
+    color: #000000;
 }
 
 .registration-wrapper button:hover {

+ 6 - 4
hipstagram/src/Content/Registration/Registration.js

@@ -20,17 +20,19 @@ const Registration = ({onRegistration}) => {
                 value={login}
                 placeholder="Login"
                 ref={loginRef}
-                onChange={(e) => setLogin(e.target.value)}></input>
+                onChange={(e) => setLogin(e.target.value)}/>
             <input
                 value={password}
                 placeholder="Password"
                 ref={pasRef}
                 onChange={(e) => setPassword(e.target.value)}
                 type="password"
-            ></input>
-            <input placeholder="Confirm Password"></input>
+            />
+            <input placeholder="Confirm Password"/>
 
-            <button onClick={() => onRegistration(login, password)}>Registration</button>
+            <button onClick={() => onRegistration(login, password)}>
+                <b>Registration</b>
+            </button>
 
             <nav>
                 <NavLink to="/login">Login</NavLink>