Skip to content
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

Social icons animation in footer & "email required" message bug fixed. #840

Merged

Conversation

adi-exe
Copy link
Contributor

@adi-exe adi-exe commented Jan 26, 2024

Issue that this pull request solves

Closes: #828 Footer Email Input Validation Message Appears Unnecessarily When Input is Not Provided; Social media icons fails animation on hover IWOC

Proposed changes

  1. Footer Email Input Validation:
    When the email input box in the footer is active, the validation message indicating "email required" was appearing even when no input is provided. This has been fixed now, it doesn't show this message unnecessarily.

  2. Social Media Icons Animation:
    Previously on hovering over the social media icons in the footer, instagram , twitter , youtube failed to display the expected animation. I have added the particular animation to them.

  3. Placeholder of email input:
    The placeholder remained the same dark colored even on focus if the input .
    I have added a light grey color to make is more pleasing to user.

Brief description of what is fixed or changed

Types of changes

Put an x in the boxes that apply

  • [ x] Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (Documentation content changed)
  • Other (please describe):

Checklist

Put an x in the boxes that apply

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • My changes does not break the current system and it passes all the current test cases.

Screenshots

Screenshot (124)
Screenshot (125)
Screenshot (126)

Other information

Any other information that is important to this pull request

The email input tag showing "email required" prior to writing email has been fixed .
added colors on hover in social icons in footer ie. instagram, twitter, youtube.
also added the place-holder color to fade a bit on focus in the email input box.
Copy link

welcome bot commented Jan 26, 2024

Thank you and congrats🎉 for opening this pull request!💖

Please make sure you have followed our Contributing Guidelines.🙌 We will test out your code and reply in a bit with some pointers and requests.💿 There may be some errors, but don't worry! We'll work through them with you! 👍🎉😄 If you haven't filled the template out, Please do so!🚀
Feel free to join our Slack Community.💖 We have different channels for active discussions.✨ Hope you have a great time there!😄

Copy link
Collaborator

@thevirengarg thevirengarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The message "Email is required" should be visible if the email input field is focused but is empty and as soon as user starts typing the email it should clear the error message. If it's not selected it should display "Email ID".

@adi-exe
Copy link
Contributor Author

adi-exe commented Jan 27, 2024

so basically we have to remove " * Please enter valid Email " message ,
cause as soon as the user starts writing it shows this message. @thevirengarg

@@ -23,7 +23,7 @@ export const Footer = (props) => {
isValid = false;
}
if (!email.trim()) {
emailErr.emailRequired = "* Email is required";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retain this. This is an expected error message

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i will do that. But what to do with the " enter valid email " message . should i remove it or retain it. @Kajol-Kumari

.fa-envelope:hover,
.fa-envelope-own:hover {
color: #c71610;
.fa-instagram:hover,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any specific reason of modfying the css? Why do we need to change these hover effects?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you pls update me with whats the use of this envelope tag in the code. thanks @Kajol-Kumari

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a favicon icon, so the icons u see on the footer for instagram is fa-instagram

placed the envelope tag in its place .(as requested)
retained the "email is required" message in the email form.
@adi-exe
Copy link
Contributor Author

adi-exe commented Feb 6, 2024

@Kajol-Kumari @thevirengarg pls reply to these changes, IWOC is ending soon.

@Kajol-Kumari Kajol-Kumari merged commit 8998a51 into HITK-TECH-Community:main Feb 11, 2024
7 checks passed
Copy link

welcome bot commented Feb 11, 2024

Congrats on merging your first pull request! 🙌 🎉 ⚡️ Now that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step.😄🙌
Feel free to join our Slack Community.💖 We have different channels for active discussions.✨ Hope you have a great time there!😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants