Skip to content

Commit

Permalink
button has been changed
Browse files Browse the repository at this point in the history
  • Loading branch information
gulshanyadav01 committed Oct 12, 2021
1 parent f4e8e78 commit ec99bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ const Search = () =>{
}
return (
<div style = {{backgroundColor:"#0E1122"}} >
<div className = " h-12 rounded focus:ring-1 focus:ring-red-400 mr-4 ml-4 mb-4 flex" style = {{backgroundColor:"#182037"}}>
<div className = " h-12 rounded focus:ring-1 focus:ring-red-400 mr-4 ml-4 mb-4 flex" style = {{backgroundColor:"#182037"}}>
<AiOutlineSearch className = "ml-20 mt-4 w-8 h-8 text-blue-500"/>
<form className = "mt-1" onSubmit = {onSubmit}>
<input type = "text" placeholder = "Enter Github User" className = "bg-transparent pl-8 text-white text-xl pr-96 h-8" sytle = {{color:"#8B98C1"}} value = {user} onChange = {onChange}/>
{requests>0 && <button type = "submit" className = "ml-56 px-6 py-2 text-blue-700 ring-2 ring-yellow-300 font-extrabold rounded bg-gradient-to-r from-yellow-400 via-pink-500 to-red-500 ">Search</button>}
{requests>0 && <button type = "submit" className = "ml-96 px-6 py-2 text-blue-700 ring-2 ring-yellow-300 font-extrabold rounded bg-gradient-to-r from-yellow-400 via-pink-500 to-red-500 ">Search</button>}
</form>
</div>
</div>
Expand Down

0 comments on commit ec99bba

Please sign in to comment.