-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
signup ui design fixed #118 #127
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Major changes. PTAL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use plain CSS. Please migrate to tailwind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned already, we use tailwind CSS. Please stick to that.
|
||
.signup-card h3 { | ||
font-size: 2rem; /* Example: Larger font size for headers */ | ||
margin-bottom: 1.5rem; /* Example: Increased bottom margin */ | ||
} | ||
|
||
.signup-card .text-center p { | ||
margin: 0; | ||
} | ||
|
||
.signup-card .text-center p a { | ||
text-decoration: none; | ||
background-color: rgb(74, 181, 74); /* Green background for the Login button */ | ||
color: white; /* White text color for the Login button */ | ||
padding: 10px 15px; /* Add some padding */ | ||
border-radius: 5px; /* Rounded corners */ | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slight shadow */ | ||
} | ||
|
||
.signup-card .text-center p a:hover { | ||
background-color: #004d00; /* Darker green for the Login button on hover */ | ||
text-decoration: none; /* No underline on hover */ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove GPT comments :)
const registerf = async (e) => { | ||
e.preventDefault(); | ||
if ( | ||
!( | ||
name.length > 0 && | ||
email.length > 0 && | ||
passwd.length > 0 && | ||
street.length > 0 && | ||
city.length > 0 && | ||
state.length > 0 && | ||
pincode.length > 0 | ||
) | ||
) { | ||
toast.error("All fields are necessary"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look for a better approach than checking the length. (empty functions etc.)
Good work with the design tho. Minor suggestion, please see if you can make the purple and blue backgrounds black and white so we can stick to the website theme. |
Description
#118 issue fixed
Changes
List the changes done to fix a bug or introducing a new feature.
How to test
usign signup button
Please consider using the closing keyword if the pull request is proposed to
fix an issue already created in the repository
(https://help.github.com/articles/closing-issues-using-keywords/)