greenpeace / planet4

Built on top of Wordpress tech, Greenpeace Planet 4 powers digital platforms to engage with millions and win campaigns around the world.
https://planet4.greenpeace.org
Creative Commons Attribution Share Alike 4.0 International
66 stars 27 forks source link

PLANET-5758 Remove jQuery from header.js #137

Closed planet-4 closed 2 years ago

planet-4 commented 3 years ago

Rewrite all jquery code in assets/src/js/header.js (in master-theme) with vanilla JS.

Components

Reporter: fhernand
Sections: Performance

Potentially affected repositories: planet4-master-theme

Testing The navbar (i.e. the top header with "Act", "Explore" etc) should behave the same as before (also on mobile): you can check the GPI website for comparison.

himanshu007-creator commented 3 years ago

Hi I would like to work on this issue!

comzeradd commented 3 years ago

Hi @himanshu007-creator, thank you for wanting to contribute 💚

As a starting point here is our documentation with instructions on how to setup your local development environment: https://support.greenpeace.org/planet4/

comzeradd commented 3 years ago

Hey @himanshu007-creator. Do you require any assistance?

himanshu007-creator commented 3 years ago

Hey @himanshu007-creator. Do you require any assistance?

Hi! I am clear with the issue and will work on it soon, have exams tomorrow 😅 so sorry for the delay

comzeradd commented 2 years ago

Done in https://github.com/greenpeace/planet4-master-theme/pull/1559