Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Mavis Ou b39bd458bb
Make sure new nav works well with the donate banner (#12926)
* Make sure new nav works well with the donate banner
2024-10-03 16:42:48 -07:00
Diego López 4875003e16
Tp1 1033 migrate ga to gtm (#12744)
* Replace GTM ID

* Comment regarding container id added | GTM ID updated in mozfest base

* Linting corrections: indentation

* Update initial GTM setup - replace first ReactGA event: footer donate button

* Files updated from ReactGA.event to dataLayer.push: primary nav, submission form, layout signup

* Analytics events updated from ReactGA.event to dataLayer.push

* Share vote tap events updated  from ReactGA to GTM dataLayer.push

* ReactGA module removal and events update for cta-button, header-donate, and social share

* Footer social button event updated

* home-banner, primary-button, and homepage events updated

* homepage linting fix | participate donate, pulse profile, pulse profile list, and share button events updated

* CTA download event updated | ReactGA module removed from not used files

* Linting fixtures and integration tests

* Conflicts fixed in merge with main

* GTM ID correction after merged

* Duplicated angle bracket corrected

* csp_nonce template added to new inline script
2024-09-10 11:57:32 -06:00
Rob DiVincenzo 1eb601b1fe
Remove Newsletter CTA on Nav (#12574)
* Update templates to remove Newsletter and use styling on Donate

* Remove primary nav newsletter tests

* Remove nav newsletter js

* Adjust donate button display
2024-07-03 13:25:43 -04:00
Ram 8e507f0b9b
Remove all `zen_mode` references from page models and templates (#12492)
* Remove all `zen_mode` references from page models

* Create migration for `zen_mode` field removal in page models

* Remove zen mode references from `primary-nav.js` and `primary_nav.html`

* Fix `primary_nav-html` indentation to pass `djhtml` linting process.
2024-06-20 11:24:01 -06:00
Mavis Ou 02be1c5c23
[New Nav] Semantic HTML & enable keyboard access (#12314)
* semantic HTML for desktop nav & enabled keyboard access

* semantic HTML for mobile nav & enabled keyboard access
2024-05-10 12:08:37 -07:00
Jhonatan Lopes 09068d23c2 [Main Nav] Frontend work (#12220) 2024-04-29 16:40:49 -03:00
Pomax 3a8119a3ae
name refactor: (#5704) 2020-11-24 11:37:01 -08:00
Kalob Taulien 8e0f8e5b35
Homepage accessibility improvements (#5397)
* Axe suggestion improvements

* More accessibility updates

* Update network-api/networkapi/wagtailpages/templates/wagtailpages/fragments/spotlight_posts.html

Co-authored-by: Mavis Ou <mmmavis@users.noreply.github.com>

* Use class

* Allow for main element overwriting and wrapping

* Add wrapped header to remove empty <header> element

* Remove style-breaking main element from YT regrets template

* add <main> back to youtube regrets base template

Co-authored-by: Mavis Ou <mmmavis@users.noreply.github.com>
2020-10-21 13:51:33 -07:00
Pomax e5979d0f00
Bump prettier from 1.19.1 to 2.0.5 (#4707)
* prettier 2 with associated changes

* Update embed-typeform.js

Co-authored-by: Mavis Ou <mmmavis@users.noreply.github.com>
2020-06-01 19:12:52 +00:00
Mavis Ou 07d2aa0a56
Clean up and refactor side wide shared JS code (#4387)
* cleanup and refactor side wide shared JS code

* clean up Google Analytics related code

* clean up 'dnt.js' code by merging it into 'common/google-analytics.js'

* forgot to uncomment a line of code

* move 'react-ga-proxy.js' to 'common' dir

* split code/modules further

* updates

* Update source/js/common/inject-react/join-us.js

Co-Authored-By: Pomax <pomax@nihongoresources.com>

* Update source/js/buyers-guide/analytics-events.js

Co-Authored-By: Pomax <pomax@nihongoresources.com>

Co-authored-by: Pomax <pomax@nihongoresources.com>
2020-03-26 11:26:25 -07:00
Youri d9dd2fd861
Blog page accessibility fixes (#4018)
* make nav more accessible

* make footer link more accessible

* made JoinUs component more accessible

* linter fixes

* implemented suggested feedback
2019-12-06 10:00:16 -05:00
Youri 59427d2861 [Part 2 of 3] Newsletter sign up button/form added newsletter button (#3048)
* added newsletter button

* newsletterbutton & form styles

* making form appear

* update mobile form & scroll event closing at desktop

* prettier format updates

* code simplication

* removed not in use mixin

* separate nav-newletter logic into its own JS file & improve UI interaction

* fixed linting errors

* turned nav-newsletter.js into a module with multiple public methods for primary-nav.js to call

* fixed linting errors and updated inline comments

* animation and styling tweaks

* opacity fix

* improve animation & scroll to close form

* update dismiss button text

* 2-column sign up form on larger screen

* classified nav-newsletter.js

* check DOM nodes before we do anything

* assign DOM nodes as a var

* add back missing DOM node

* code improvement

* forgot to update a few variables in my previous commit

* fix linting error
2019-07-25 10:03:22 -07:00
Pomax b9adc34955
Switched eslint to use prettier (#2796)
* switched eslint to use prettier
2019-03-13 13:44:24 -07:00
Pomax a7f42be0d6
rebase (#1845)
update babel
2018-10-02 09:55:35 -07:00
ScottDowne 9bccc86170
Nav alignment issues (#1490)
* Nav alignment issues

* travis

* Moving nav to new file
2018-05-07 08:18:07 -04:00