File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const Navbar = () => {
20
20
{ user && (
21
21
< div >
22
22
< span > { user . email } </ span >
23
- < button onClick = { handleClick } > Log out</ button >
23
+ < button onClick = { handleClick } className = "custom-button" > Log out</ button >
24
24
</ div >
25
25
) }
26
26
{ ! user && (
Original file line number Diff line number Diff line change @@ -119,4 +119,18 @@ form.signup, form.login {
119
119
padding : 20px ;
120
120
background : # fff ;
121
121
border-radius : 4px ;
122
+ }
123
+
124
+ .custom-button {
125
+ padding : 10px 20px ;
126
+ font-size : 16px ;
127
+ font-weight : bold;
128
+ color : # fff ;
129
+ background-color : # 4CAF50 ;
130
+ border-radius : 5px ;
131
+ cursor : pointer;
132
+ transition : background-color 0.3s ;
133
+ }
134
+ .custom-button : hover {
135
+ background-color : # 36803a ;
122
136
}
You can’t perform that action at this time.
0 commit comments