From 5c8123a9c5b9c62e7b10fefdc5388c80aed9ff7f Mon Sep 17 00:00:00 2001 From: M Fahru Date: Thu, 26 Jun 2025 09:13:00 -0700 Subject: [PATCH] Merge pull request #26605 from overleaf/mf-remove-for-teaching-and-overleaf-advisor-program [web] Remove both "For teaching" and "Overleaf advisor programme" from our website navigation and pages GitOrigin-RevId: 3189398e3f2fa9b19e828daeb890d89a336058b0 --- services/web/app/views/_mixins/links.pug | 27 ------------------- .../layout/fat-footer-website-redesign.pug | 2 -- services/web/app/views/layout/fat-footer.pug | 2 -- .../web/frontend/extracted-translations.json | 1 - .../bootstrap-5/footer/fat-footer.tsx | 1 - services/web/locales/en.json | 2 -- 6 files changed, 35 deletions(-) diff --git a/services/web/app/views/_mixins/links.pug b/services/web/app/views/_mixins/links.pug index a919cdd74e..16257ecb0f 100644 --- a/services/web/app/views/_mixins/links.pug +++ b/services/web/app/views/_mixins/links.pug @@ -1,25 +1,5 @@ include ./material_symbol -mixin linkAdvisors(linkText, linkClass, track) - //- To Do: verify path - - var gaCategory = track && track.category ? track.category : 'All' - - var gaAction = track && track.action ? track.action : null - - var gaLabel = track && track.label ? track.label : null - - var mb = track && track.mb ? 'true' : null - - var mbSegmentation = track && track.segmentation ? track.segmentation : null - - var trigger = track && track.trigger ? track.trigger : null - a( - href='/advisors' - class=linkClass ? linkClass : '' - event-tracking-ga=gaCategory - event-tracking=gaAction - event-tracking-label=gaLabel - event-tracking-trigger=trigger - event-tracking-mb=mb - event-segmentation=mbSegmentation - ) - span #{linkText ? linkText : 'advisor programme'} - mixin linkBenefits(linkText, linkClass) a( href=(settings.siteUrl ? settings.siteUrl : '') + '/for/authors' @@ -46,13 +26,6 @@ mixin linkDash(linkText, linkClass) a(href='/project' class=linkClass ? linkClass : '') | #{linkText ? linkText : 'project dashboard'} -mixin linkEducation(linkText, linkClass) - a( - href=(settings.siteUrl ? settings.siteUrl : '') + '/for/edu' - class=linkClass ? linkClass : '' - ) - | #{linkText ? linkText : 'teaching toolkit'} - mixin linkInvite(linkText, linkClass, track) - var gaCategory = track && track.category ? track.category : 'All' - var gaAction = track && track.action ? track.action : null diff --git a/services/web/app/views/layout/fat-footer-website-redesign.pug b/services/web/app/views/layout/fat-footer-website-redesign.pug index ba6286a296..d20eb14a2c 100644 --- a/services/web/app/views/layout/fat-footer-website-redesign.pug +++ b/services/web/app/views/layout/fat-footer-website-redesign.pug @@ -63,8 +63,6 @@ footer.fat-footer.hidden-print.website-redesign-fat-footer h2.footer-section-heading #{translate('get_involved')} ul.list-unstyled - li - a(href='/for/community/advisors') #{translate('become_an_advisor')} li a(href='https://forms.gle/67PSpN1bLnjGCmPQ9') #{translate('let_us_know_what_you_think')} if user diff --git a/services/web/app/views/layout/fat-footer.pug b/services/web/app/views/layout/fat-footer.pug index c7c19bd4a3..e5637a986f 100644 --- a/services/web/app/views/layout/fat-footer.pug +++ b/services/web/app/views/layout/fat-footer.pug @@ -63,8 +63,6 @@ footer.fat-footer.hidden-print h2.footer-section-heading #{translate('get_involved')} ul.list-unstyled - li - a(href='/for/community/advisors') #{translate('become_an_advisor')} li a(href='https://forms.gle/67PSpN1bLnjGCmPQ9') #{translate('let_us_know_what_you_think')} if user diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index b404e428a5..123ff8e190 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -176,7 +176,6 @@ "back_to_subscription": "", "back_to_your_projects": "", "basic_compile_time": "", - "become_an_advisor": "", "before_you_use_error_assistant": "", "beta_program_already_participating": "", "beta_program_benefits": "", diff --git a/services/web/frontend/js/features/ui/components/bootstrap-5/footer/fat-footer.tsx b/services/web/frontend/js/features/ui/components/bootstrap-5/footer/fat-footer.tsx index c290c1128c..790d6fe790 100644 --- a/services/web/frontend/js/features/ui/components/bootstrap-5/footer/fat-footer.tsx +++ b/services/web/frontend/js/features/ui/components/bootstrap-5/footer/fat-footer.tsx @@ -67,7 +67,6 @@ function FatFooter() { { title: t('Get Involved'), links: [ - { href: '/for/community/advisors', label: t('become_an_advisor') }, { href: 'https://forms.gle/67PSpN1bLnjGCmPQ9', label: t('let_us_know_what_you_think'), diff --git a/services/web/locales/en.json b/services/web/locales/en.json index f48929be4b..2483ce14e5 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -226,7 +226,6 @@ "basic": "Basic", "basic_compile_time": "Basic compile time", "basic_compile_timeout_on_fast_servers": "Basic compile timeout on fast servers", - "become_an_advisor": "Become an __appName__ advisor", "before_you_use_error_assistant": "Before you use Error Assist", "beta": "Beta", "beta_feature_badge": "Beta feature badge", @@ -800,7 +799,6 @@ "for_publishers": "For publishers", "for_small_teams_and_departments_who_want_to_write_collaborate": "For small teams and departments who want to write and collaborate easily in LaTeX.", "for_students": "For students", - "for_teaching": "For teaching", "for_teams_and_organizations_who_want_a_streamlined_sso_and_security": "For teams and organizations who want a streamlined sign-on process and our strongest cloud security.", "for_universities": "For universities", "forever": "forever",