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

Footer Component Added #228

Merged
merged 8 commits into from
Apr 28, 2021
Merged

Footer Component Added #228

merged 8 commits into from
Apr 28, 2021

Conversation

naveen8801
Copy link
Contributor

@naveen8801 naveen8801 commented Apr 12, 2021

Description

New Footer component is added in Home folder:-

  • Added Footer.jsx and Footer.css in Home
  • Added Fonts (2 fonts) and icons ( 4 icons ) in assets folder

latest_footer

Fixes #215

Type of Change:

  • User Interface

Code/Quality Assurance Only

  • New feature (non-breaking change which adds functionality pre-approved by mentors)

Checklist:

  • My PR follows the style guidelines of this project
  • I have performed a self-review of my own code or materials

Code/Quality Assurance Only

  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@shades-7
Copy link
Contributor

@mtreacy002 This is the first time I am trying to test a PR. so let me know if i am doing it wrong.
ezgif com-gif-maker (2)

This is my feedbacks:

  • All the social icons are directing to the same page.
  • Line spacing is more for this paragraph "We are known for connecting top talents with top comapnies. We make great possibilities happen."
  • In mobile view stacking is done but i think stacking need to de done in all the subsections too like explore

@isabelcosta
Copy link
Member

isabelcosta commented Apr 12, 2021

@shades-7 this GIF you posted looks amazing 🤩 I also love the feedback you provided, is so specific! To make this awesome I would also suggest using our QA template, just to explain a little of what you tested. You can find the template at point 7 here https://github.com/anitab-org/documentation/blob/master/quality-assurance.md#how-to-test-a-pr

cc @rpattath 🤩

@isabelcosta isabelcosta added the Status: Needs Review PR needs an additional review or a maintainer's review. label Apr 12, 2021
@isabelcosta isabelcosta requested a review from mtreacy002 April 12, 2021 23:48
@mtreacy002
Copy link
Member

@shades-7 , I agree with @isabelcosta that you've done amazing work reviewing the PR. You've raised very good points on your feedback above. As our Github workflow would go from PR submission to PR review then PR testing, I would suggest you post your feedback as the PR review using the Request changes option (see screenshot below) so that @naveen8801 could give her response to your feedback and make necessary changes if required. This way, your pr review will also count towards OSH as what we consider as Top Participants are contributors who help Review other's PRs, test other's PRs, or help other participants in general 😉.

Copy link
Contributor

@shades-7 shades-7 left a comment

Choose a reason for hiding this comment

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

  • All the social icons are directing to the same page but ideally, they should open the required sites.
  • Line spacing should be a little less for this paragraph "We are known for connecting top talents with top comapnies. We make great possibilities happen."
  • In mobile view, stacking is done but I think stacking need to de done in all the subsections too like explore, visit etc

@Amulya-coder Amulya-coder added Category: User Interface Improvements or additions to design. Open Source Hack Status: Changes Requested Changes are required to be done by the PR author. and removed Status: Needs Review PR needs an additional review or a maintainer's review. labels Apr 13, 2021
@naveen8801
Copy link
Contributor Author

naveen8801 commented Apr 13, 2021

hi @shades-7 @mtreacy002 , where to get all links like social links , legal pages and explore sections ? :-)

@Rahulm2310
Copy link
Contributor

@mtreacy002 @isabelcosta for social links, we are going to add the links to AnitaB.org's social media links. right? Also, as we don't have the designs ready for legal pages i.e. Terms & Conditions, Privacy Policy, we can directly add links to these pages for now:

  1. Privacy Policy
  2. Terms of Use
  3. Code of Conduct

@naveen8801
Copy link
Contributor Author

hi @Rahulm2310 , i have added social links , let me know if there is some correction :-)

@Rahulm2310
Copy link
Contributor

@naveen8801 please wait for @mtreacy002 's point of view.

@naveen8801
Copy link
Contributor Author

@naveen8801 please wait for @mtreacy002 's point of view.

ok @Rahulm2310 👍

Copy link
Member

@mtreacy002 mtreacy002 left a comment

Choose a reason for hiding this comment

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

@naveen8801, the page looks amazing 💘 . About the policies links, for now I think we can use the links that @Rahulm2310 's suggested. Although, we could also use the privacy modals @Rahulm2310 created on the register page to keep it consistent across the BridgeInTech application. However, once the issues on the documentation repo on creating PRIVACY_POLICY.md and TERMS_OF_USE.md are solved, we would change the policies links to those of the documentation repo. So, for now, IMO no need to use the privacy modals as per Register page, let's just use the links given on @Rahulm2310 post above. @naveen8801 can you please add these links? Thanks.

@naveen8801
Copy link
Contributor Author

@naveen8801, the page looks amazing 💘 . About the policies links, for now I think we can use the links that @Rahulm2310 's suggested. Although, we could also use the privacy modals @Rahulm2310 created on the register page to keep it consistent across the BridgeInTech application. However, once the issues on the documentation repo on creating PRIVACY_POLICY.md and TERMS_OF_USE.md are solved, we would change the policies links to those of the documentation repo. So, for now, IMO no need to use the privacy modals as per Register page, let's just use the links given on @Rahulm2310 post above. @naveen8801 can you please add these links? Thanks.

hi @mtreacy002 , i think i have already added above links (Privacy Policy and Terms of Use) in my last commit , please have a look :)

@mtreacy002
Copy link
Member

Ooops, my bad. Sorry @naveen8801 😄. Yup, you're right. The links to the privacy policy and terms of use are already there. Ok, will continue with the review now, 😉

@mtreacy002 mtreacy002 added Status: Needs Review PR needs an additional review or a maintainer's review. and removed Status: Changes Requested Changes are required to be done by the PR author. labels Apr 17, 2021
@naveen8801
Copy link
Contributor Author

Ooops, my bad. Sorry @naveen8801 😄. Yup, you're right. The links to the privacy policy and terms of use are already there. Ok, will continue with the review now, 😉

No problem 👍😃 @mtreacy002

Copy link
Member

@mtreacy002 mtreacy002 left a comment

Choose a reason for hiding this comment

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

@naveen8801 , I tried to run the application after pulling it from your pr branch, but although the application compiled successfully, I'm facing 2 issues:

  1. I couldn't see the footer as per your gif. I only can see the existing homepage.

Screen Shot 2021-04-17 at 9 41 18 pm

Screen Shot 2021-04-17 at 9 35 28 pm

  1. I noticed 6 warnings came up in relation to the newly created footer.

Screen Shot 2021-04-17 at 9 35 54 pm

Could you please suggest what went wrong here?
Thanks beforehand 😉

@naveen8801
Copy link
Contributor Author

naveen8801 commented Apr 17, 2021

@naveen8801 , I tried to run the application after pulling it from your pr branch, but although the application compiled successfully, I'm facing 2 issues:

  1. I couldn't see the footer as per your gif. I only can see the existing homepage.
Screen Shot 2021-04-17 at 9 41 18 pm Screen Shot 2021-04-17 at 9 35 28 pm
  1. I noticed 6 warnings came up in relation to the newly created footer.
Screen Shot 2021-04-17 at 9 35 54 pm

Could you please suggest what went wrong here?
Thanks beforehand 😉

Hii @mtreacy002 , actually i removed Footer component from home page before creating this PR and also those warnings are due to use of target="_blank" without rel attribute and can be easily resolved by adding rel="noopener noreferrer" attribute in those anchor tags where target attribute is used , i have made the changes , now you can review 👍

Copy link
Member

@mtreacy002 mtreacy002 left a comment

Choose a reason for hiding this comment

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

@naveen8801, the warnings have disappeared and I can see the footer now 🎉. I just have one minor request. Can you please set it so that homepage content is maintained (so not partially cut) by the footer?
This is also because later on when we added all the sctions of the Homepage as per the Figma file, the Footer needs to be fixed at the very bottom.
ezgif com-gif-maker (45)

Thanks

alt="twitter_logo"
></img>
</a>
<a href="https://www.facebook.com/AnitaBorgIndia/" target="_blank" rel="noopener noreferrer">
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this is linked to AntaBorgIndia 's facebook page? It should be linked to AnitaB's global facebook page.

alt="gihub_logo"
></img>
</a>
<a href="https://www.linkedin.com/company/anitaborg-india/" target="_blank" rel="noopener noreferrer">
Copy link
Contributor

Choose a reason for hiding this comment

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

It should also be linked to AnitaB's global linkedin page.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK @Rahulm2310 👍

</ul>
</div>
<div className="flexbox-item">
<h3 className="heading">Visit</h3>
Copy link
Contributor

@Rahulm2310 Rahulm2310 Apr 17, 2021

Choose a reason for hiding this comment

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

I think this section can be removed as we don't have a visit location.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @Rahulm2310 @mtreacy002 , should i remove this section ?

Copy link
Member

Choose a reason for hiding this comment

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

@naveen8801 , I believe @Rahulm2310 has answer your question so you can remove this 😉. @Vuyanzi and @isabelcosta unless you'd prefer this Visit to show AnitaB.Org mailing address as per anitab.org website? I believe it would be best to keep this consistent with other projects under AnitaB.Org Open Source.
Screen Shot 2021-04-24 at 11 16 14 am

Copy link

Choose a reason for hiding this comment

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

@mtreacy002 is it possible to have AnitaB.orgs mailing address there?

Copy link
Member

@mtreacy002 mtreacy002 Apr 27, 2021

Choose a reason for hiding this comment

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

@Vuyanzi , I believe @isabelcosta has given the answer to this in her comment below which is to not use it atm. We can revisit this later when the app is being prepared for production 😉

@naveen8801 naveen8801 requested a review from Rahulm2310 April 21, 2021 04:17
Comment on lines 7 to 10
<div>
<section id="home">
<div className="header-text">
<h1>Welcome to<br/> Bridge-in-Tech</h1>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<div>
<section id="home">
<div className="header-text">
<h1>Welcome to<br/> Bridge-in-Tech</h1>
<div>
<section id="home">
<div className="header-text">
<h1>Welcome to<br/> Bridge-in-Tech</h1>

Comment on lines 17 to 21
</p>
</div>
</section>
<Footer/>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
</p>
</div>
</section>
<Footer/>
</div>
</p>
</div>
</section>
<Footer/>
</div>

@Rahulm2310
Copy link
Contributor

@naveen8801 Have you updated the GIF in the PR description? I can't see the changes

@naveen8801
Copy link
Contributor Author

@naveen8801 Have you updated the GIF in the PR description? I can't see the changes
yes @Rahulm2310 , i have updated it now :)

@naveen8801
Copy link
Contributor Author

Hi @Rahulm2310 @mtreacy002 , i am not able to find why these tests are falling :( , Please help !

@mtreacy002
Copy link
Member

@naveen8801 , we're facing an error on the initial pr on test.yml creation (PR #170) and still trying to figure it out. You don't need to worry about why the test is failing on this PR for now, as it might not be coming from your PR. Once we troubleshoot the cause for #170 failing tests, we could rerun the tests here to see if the tests are really failing or not 😉. cc @jalajcodes and @Rahulm2310

@Rahulm2310
Copy link
Contributor

FAIL src/tests/Register.test.js
  ● Console

    console.error node_modules/jsdom/lib/jsdom/virtual-console.js:29

      Error: Uncaught [Error: Invariant failed: You should not use <Link> outside a <Router>]

@mtreacy002 @naveen8801 Test cases for Register page are failing.

@mtreacy002
Copy link
Member

FAIL src/tests/Register.test.js
  ● Console

    console.error node_modules/jsdom/lib/jsdom/virtual-console.js:29

      Error: Uncaught [Error: Invariant failed: You should not use <Link> outside a <Router>]

@mtreacy002 @naveen8801 Test cases for Register page are failing.

@Rahulm2310 , yeah, this gets me confused since the tests passed on @aditmehta9 's pr branch as I mentioned here 🤔

Copy link
Member

@mtreacy002 mtreacy002 left a comment

Choose a reason for hiding this comment

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

@naveen8801 , please check my feedback below 😉.

</ul>
</div>
<div className="flexbox-item">
<h3 className="heading">Visit</h3>
Copy link
Member

Choose a reason for hiding this comment

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

@naveen8801 , I believe @Rahulm2310 has answer your question so you can remove this 😉. @Vuyanzi and @isabelcosta unless you'd prefer this Visit to show AnitaB.Org mailing address as per anitab.org website? I believe it would be best to keep this consistent with other projects under AnitaB.Org Open Source.
Screen Shot 2021-04-24 at 11 16 14 am

@mtreacy002
Copy link
Member

mtreacy002 commented Apr 24, 2021

FAIL src/tests/Register.test.js
  ● Console

    console.error node_modules/jsdom/lib/jsdom/virtual-console.js:29

      Error: Uncaught [Error: Invariant failed: You should not use <Link> outside a <Router>]

@mtreacy002 @naveen8801 Test cases for Register page are failing.

@Rahulm2310 , I opened issue #239 to address the failing tests. Please give your suggestion on the approach we could use.

@mtreacy002 mtreacy002 added Status: On Hold Issue or PR needs more info, a discussion, a review or approval from a Maintainer/Code Owner. and removed Status: Changes Requested Changes are required to be done by the PR author. labels Apr 24, 2021
@mtreacy002
Copy link
Member

mtreacy002 commented Apr 24, 2021

@naveen8801 and @Rahulm2310, I'm putting the status on hold to wait for the response from @Vuyanzi and/or the @anitab-org/admins for the above question. PS: I've tested the pr locally and everything looks fine. Only need to wait whether or not to remove the Visit info from the footer and will submit the review/test report afterward.

@isabelcosta
Copy link
Member

regarding this comment #228 (comment), I think for now we remove the address and focus on the app-specific content, and leave these legal / real contact information, for later.

cc @Vuyanzi @mtreacy002

@mtreacy002
Copy link
Member

regarding this comment #228 (comment), I think for now we remove the address and focus on the app-specific content, and leave these legal / real contact information, for later.

cc @Vuyanzi @mtreacy002

Thank you, @isabelcosta for the answer 🥰. @naveen8801 , can you please remove Visit from the code then. Please don't forget to resolve the conflict before you push another commit. I'll review it once you've done. 😉

@naveen8801
Copy link
Contributor Author

naveen8801 commented Apr 25, 2021

regarding this comment #228 (comment), I think for now we remove the address and focus on the app-specific content, and leave these legal / real contact information, for later.
cc @Vuyanzi @mtreacy002

Thank you, @isabelcosta for the answer 🥰. @naveen8801 , can you please remove Visit from the code then. Please don't forget to resolve the conflict before you push another commit. I'll review it once you've done. 😉

sure @mtreacy002 , I'll do that 👍

@Rahulm2310 Rahulm2310 added Status: Needs Review PR needs an additional review or a maintainer's review. and removed Status: On Hold Issue or PR needs more info, a discussion, a review or approval from a Maintainer/Code Owner. labels Apr 26, 2021
Copy link
Member

@mtreacy002 mtreacy002 left a comment

Choose a reason for hiding this comment

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

LGTM, @naveen8801 ❤️ .
Tested this locally. Hre's the test summary.

  1. Code review: Done

  2. Tested all possible outcomes
    Expected behaviour: Footer section is shown on the Homepage and responsive to different screen sizes.
    Actual behaviour: As expected.
    ezgif com-gif-maker (53)

  3. Environments:
    OS: MacOS Catalina 10.15.7
    Browser: Google Chrome

Thank you again @naveen8801 for your contribution. 🎉 🎉 🎉

Now we only need @Rahulm2310 or @Vuyanzi 's approval before we can merge this to develop branch 😉

Copy link

@Vuyanzi Vuyanzi left a comment

Choose a reason for hiding this comment

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

Looks good @naveen8801 🎊 thanks for your contribution!

Copy link
Contributor

@Rahulm2310 Rahulm2310 left a comment

Choose a reason for hiding this comment

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

LGTM 🎉 💯. Thanks @naveen8801

@Rahulm2310 Rahulm2310 added Status: Ready to Merge Work has been tested and needs a final review and merge from a repo maintainer. and removed Status: Needs Review PR needs an additional review or a maintainer's review. labels Apr 27, 2021
@mtreacy002
Copy link
Member

mtreacy002 commented Apr 28, 2021

Thanks @Vuyanzi and @Rahulm2310 for your approvals. Merging it now 😉

@mtreacy002 mtreacy002 merged commit e50da2c into anitab-org:develop Apr 28, 2021
@mtreacy002 mtreacy002 added the Type: Enhancement New feature or request. label May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: User Interface Improvements or additions to design. Open Source Hack Status: Ready to Merge Work has been tested and needs a final review and merge from a repo maintainer. Type: Enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI: Develop Homepage - Footer section
7 participants