Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
marketing_page: Rename marketing nav and move to base template.
Karl Stolley3e894073b4ff
diff --git a/templates/corporate/apps.html b/templates/corporate/apps.htmlindex 024cb0e3ff6..edf2bc15b2f 100644--- a/templates/corporate/apps.html+++ b/templates/corporate/apps.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing apps"><div class="hero"><div id="waves"></div>diff --git a/templates/corporate/attribution.html b/templates/corporate/attribution.htmlindex 76c71347a76..c9936a5dcc8 100644--- a/templates/corporate/attribution.html+++ b/templates/corporate/attribution.html@@ -7,8 +7,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page"><div class="hero empty-hero"></div><div class="main">diff --git a/templates/corporate/case-studies/asciidoctor-case-study.html b/templates/corporate/case-studies/asciidoctor-case-study.htmlindex 9e850e3e29d..989a3eac814 100644--- a/templates/corporate/case-studies/asciidoctor-case-study.html+++ b/templates/corporate/case-studies/asciidoctor-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-pycon"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/atolio-case-study.html b/templates/corporate/case-studies/atolio-case-study.htmlindex 42dfce440f3..717b4fe7c99 100644--- a/templates/corporate/case-studies/atolio-case-study.html+++ b/templates/corporate/case-studies/atolio-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/end-point-case-study.html b/templates/corporate/case-studies/end-point-case-study.htmlindex f1b5df56156..55285033692 100644--- a/templates/corporate/case-studies/end-point-case-study.html+++ b/templates/corporate/case-studies/end-point-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/gut-contact-case-study.html b/templates/corporate/case-studies/gut-contact-case-study.htmlindex 659ae5f9465..cd7c7761778 100644--- a/templates/corporate/case-studies/gut-contact-case-study.html+++ b/templates/corporate/case-studies/gut-contact-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/idrift-case-study.html b/templates/corporate/case-studies/idrift-case-study.htmlindex 1060a364c81..0851122ca61 100644--- a/templates/corporate/case-studies/idrift-case-study.html+++ b/templates/corporate/case-studies/idrift-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/lean-case-study.html b/templates/corporate/case-studies/lean-case-study.htmlindex fbc2cfd4a4c..a455d243e75 100644--- a/templates/corporate/case-studies/lean-case-study.html+++ b/templates/corporate/case-studies/lean-case-study.html@@ -6,8 +6,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/mixxx-case-study.html b/templates/corporate/case-studies/mixxx-case-study.htmlindex 2cfb71d1efa..7e13451a0ba 100644--- a/templates/corporate/case-studies/mixxx-case-study.html+++ b/templates/corporate/case-studies/mixxx-case-study.html@@ -7,8 +7,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/recurse-center-case-study.html b/templates/corporate/case-studies/recurse-center-case-study.htmlindex da145df90e6..381fed36175 100644--- a/templates/corporate/case-studies/recurse-center-case-study.html+++ b/templates/corporate/case-studies/recurse-center-case-study.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/rush-stack-case-study.html b/templates/corporate/case-studies/rush-stack-case-study.htmlindex c40ca7fd7c8..55c0322bc3d 100644--- a/templates/corporate/case-studies/rush-stack-case-study.html+++ b/templates/corporate/case-studies/rush-stack-case-study.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-pycon"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/rust-case-study.html b/templates/corporate/case-studies/rust-case-study.htmlindex 03113ee31f5..e63e74a5a1d 100644--- a/templates/corporate/case-studies/rust-case-study.html+++ b/templates/corporate/case-studies/rust-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-pycon"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/semsee-case-study.html b/templates/corporate/case-studies/semsee-case-study.htmlindex 2a683d0e189..c9d8240a6b1 100644--- a/templates/corporate/case-studies/semsee-case-study.html+++ b/templates/corporate/case-studies/semsee-case-study.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/tum-case-study.html b/templates/corporate/case-studies/tum-case-study.htmlindex 4a390bb4395..34844754557 100644--- a/templates/corporate/case-studies/tum-case-study.html+++ b/templates/corporate/case-studies/tum-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/ucsd-case-study.html b/templates/corporate/case-studies/ucsd-case-study.htmlindex d013d57b057..e314f547cca 100644--- a/templates/corporate/case-studies/ucsd-case-study.html+++ b/templates/corporate/case-studies/ucsd-case-study.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/university-of-cordoba-case-study.html b/templates/corporate/case-studies/university-of-cordoba-case-study.htmlindex 937f168d9d4..6739dafab94 100644--- a/templates/corporate/case-studies/university-of-cordoba-case-study.html+++ b/templates/corporate/case-studies/university-of-cordoba-case-study.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/case-studies/windborne-case-study.html b/templates/corporate/case-studies/windborne-case-study.htmlindex 1b0e0e7e424..3d7e58cd0ef 100644--- a/templates/corporate/case-studies/windborne-case-study.html+++ b/templates/corporate/case-studies/windborne-case-study.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page case-study-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/communities.html b/templates/corporate/communities.htmlindex 93ccb49112c..c048e94c47b 100644--- a/templates/corporate/communities.html+++ b/templates/corporate/communities.html@@ -11,7 +11,7 @@{% block portico_content %}-{% include 'zerver/landing_nav.html' %}+{% include 'zerver/marketing_nav.html' %}{% include 'zerver/gradients.html' %}<div class="portico-landing integrations communities">diff --git a/templates/corporate/development-community.html b/templates/corporate/development-community.htmlindex 99ab55638f3..f12d5947eee 100644--- a/templates/corporate/development-community.html+++ b/templates/corporate/development-community.html@@ -9,9 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}--<div class="portico-landing why-page solutions-page"><div class="hero bg-pycon"><div class="bg-dimmer"></div>diff --git a/templates/corporate/features.html b/templates/corporate/features.htmlindex b8442076f70..c90d49fff6a 100644--- a/templates/corporate/features.html+++ b/templates/corporate/features.html@@ -9,7 +9,7 @@{% block content %}-{% include 'zerver/landing_nav.html' %}+{% include 'zerver/marketing_nav.html' %}<div class="portico-pricing features-page showing-cloud"><div class="body-bg">diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.htmlindex 1c16484130e..b7ed987d974 100644--- a/templates/corporate/for/business.html+++ b/templates/corporate/for/business.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing plans why-page solutions-page for-companies"><div class="hero bg-companies"><div class="bg-dimmer"></div>diff --git a/templates/corporate/for/communities.html b/templates/corporate/for/communities.htmlindex 8413a7d21ca..c4b9844babb 100644--- a/templates/corporate/for/communities.html+++ b/templates/corporate/for/communities.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/for/education.html b/templates/corporate/for/education.htmlindex d9f4744f1cc..bbef304bd18 100644--- a/templates/corporate/for/education.html+++ b/templates/corporate/for/education.html@@ -8,9 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}--<div class="portico-landing why-page solutions-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/for/events.html b/templates/corporate/for/events.htmlindex 1856e84f337..d050b22390e 100644--- a/templates/corporate/for/events.html+++ b/templates/corporate/for/events.html@@ -9,9 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}--<div class="portico-landing why-page solutions-page"><div class="hero bg-events"><div class="bg-dimmer"></div>diff --git a/templates/corporate/for/open-source.html b/templates/corporate/for/open-source.htmlindex 109d94a6364..711c1615d0c 100644--- a/templates/corporate/for/open-source.html+++ b/templates/corporate/for/open-source.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page"><div class="hero bg-pycon"><div class="bg-dimmer"></div>diff --git a/templates/corporate/for/research.html b/templates/corporate/for/research.htmlindex 83b457cd54f..56a587e5f0d 100644--- a/templates/corporate/for/research.html+++ b/templates/corporate/for/research.html@@ -9,9 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}--<div class="portico-landing why-page solutions-page"><div class="hero bg-education"><div class="bg-dimmer"></div>diff --git a/templates/corporate/for/use-cases.html b/templates/corporate/for/use-cases.htmlindex b1d0718cd6a..5b254a9e61e 100644--- a/templates/corporate/for/use-cases.html+++ b/templates/corporate/for/use-cases.html@@ -7,8 +7,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing plans why-page solutions-page for-companies"><div class="hero bg-companies"><div class="bg-dimmer"></div>diff --git a/templates/corporate/hello.html b/templates/corporate/hello.htmlindex ef9930ac689..2f3dbb7ae6c 100644--- a/templates/corporate/hello.html+++ b/templates/corporate/hello.html@@ -8,7 +8,7 @@{% block content %}- {% include 'zerver/landing_nav.html' %}+ {% include 'zerver/marketing_nav.html' %}<div class="portico-hello-page"><div class='body-bg'><div class='body-bg__layer'></div>diff --git a/templates/corporate/history.html b/templates/corporate/history.htmlindex 1c760cf17e6..30498ae8548 100644--- a/templates/corporate/history.html+++ b/templates/corporate/history.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page"><div class="hero bg-pycon"><div class="bg-dimmer"></div>diff --git a/templates/corporate/jobs.html b/templates/corporate/jobs.htmlindex fbf310a28cd..d887f496ed4 100644--- a/templates/corporate/jobs.html+++ b/templates/corporate/jobs.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing jobs why-page"><div class="hero bg-pycon drone"><div class="bg-dimmer"></div>diff --git a/templates/corporate/partners.html b/templates/corporate/partners.htmlindex 41bd275593e..2a2ff426334 100644--- a/templates/corporate/partners.html+++ b/templates/corporate/partners.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page partners-page"><div class="hero bg-pycon partners"><div class="bg-dimmer"></div>diff --git a/templates/corporate/plans.html b/templates/corporate/plans.htmlindex bdc02770ce9..6f15430f5de 100644--- a/templates/corporate/plans.html+++ b/templates/corporate/plans.html@@ -9,7 +9,7 @@{% block content %}{% if not is_self_hosted_realm %}-{% include 'zerver/landing_nav.html' %}+{% include 'zerver/marketing_nav.html' %}{% endif %}<div class="portico-pricing plans {% if is_self_hosted_realm %} showing-self-hosted {% else %} showing-cloud {% endif %}">diff --git a/templates/corporate/role/engineers.html b/templates/corporate/role/engineers.htmlindex 04139ef25b7..85ce7f0b76b 100644--- a/templates/corporate/role/engineers.html+++ b/templates/corporate/role/engineers.html@@ -5,7 +5,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html'%}<divid="engineers-love-zulip-page"diff --git a/templates/corporate/security.html b/templates/corporate/security.htmlindex 745f1ad42d4..028f99741b4 100644--- a/templates/corporate/security.html+++ b/templates/corporate/security.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page"><div class="hero bg-pycon security"><div class="bg-dimmer"></div>diff --git a/templates/corporate/self-hosting.html b/templates/corporate/self-hosting.htmlindex 604ad8289ee..c6a1dd65f76 100644--- a/templates/corporate/self-hosting.html+++ b/templates/corporate/self-hosting.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page self-hosting-page"><div class="hero bg-pycon security"><div class="bg-dimmer"></div>diff --git a/templates/corporate/team.html b/templates/corporate/team.htmlindex 6184c463cd6..2f42f3743a3 100644--- a/templates/corporate/team.html+++ b/templates/corporate/team.html@@ -6,9 +6,8 @@development community of any team chat software, with over 1,500 codecontributors, and 97+ people with 100+ commits." %}-{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}+{% block marketing_content %}<div class="portico-landing why-page"><div class="hero bg-pycon drone">diff --git a/templates/corporate/values.html b/templates/corporate/values.htmlindex a5df345b744..2644c7ec73b 100644--- a/templates/corporate/values.html+++ b/templates/corporate/values.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page"><div class="hero"><div class="content">diff --git a/templates/corporate/why-zulip.html b/templates/corporate/why-zulip.htmlindex 784bc18dd70..f26fef50810 100644--- a/templates/corporate/why-zulip.html+++ b/templates/corporate/why-zulip.html@@ -9,8 +9,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page"><div class="hero bg-pycon why-zulip"><div class="bg-dimmer"></div>diff --git a/templates/corporate/zulip-cloud.html b/templates/corporate/zulip-cloud.htmlindex cec07110bcb..0fd1b833b3f 100644--- a/templates/corporate/zulip-cloud.html+++ b/templates/corporate/zulip-cloud.html@@ -8,8 +8,6 @@{% block marketing_content %}-{% include 'zerver/landing_nav.html' %}-<div class="portico-landing why-page solutions-page self-hosting-page zulip-cloud-page"><div class="hero bg-pycon clouds"><div class="bg-dimmer"></div>diff --git a/templates/zerver/integrations/catalog.html b/templates/zerver/integrations/catalog.htmlindex 4ab682098b6..e5f21a674e2 100644--- a/templates/zerver/integrations/catalog.html+++ b/templates/zerver/integrations/catalog.html@@ -9,7 +9,7 @@{% block portico_content %}-{% include 'zerver/landing_nav.html' %}+{% include 'zerver/marketing_nav.html' %}{% include 'zerver/gradients.html' %}{% import 'zerver/integrations/macros.html' as integration_macros %}diff --git a/templates/zerver/integrations/doc.html b/templates/zerver/integrations/doc.htmlindex e646f93e053..1818d1210f4 100644--- a/templates/zerver/integrations/doc.html+++ b/templates/zerver/integrations/doc.html@@ -9,7 +9,7 @@{% block portico_content %}-{% include 'zerver/landing_nav.html' %}+{% include 'zerver/marketing_nav.html' %}{% include 'zerver/gradients.html' %}{% import 'zerver/integrations/macros.html' as integration_macros %}diff --git a/templates/zerver/landing_nav.html b/templates/zerver/marketing_nav.htmlsimilarity index 100%rename from templates/zerver/landing_nav.htmlrename to templates/zerver/marketing_nav.htmldiff --git a/templates/zerver/marketing_page.html b/templates/zerver/marketing_page.htmlindex 64608cb6495..981a329dec0 100644--- a/templates/zerver/marketing_page.html+++ b/templates/zerver/marketing_page.html@@ -8,11 +8,10 @@{% block content %}<div class="portico-container" data-platform="{{ platform }}"><div class="portico-wrap">- {% if not isolated_page %}- {% include 'zerver/portico-header.html' %}- {% endif %}<div class="app portico-page {% block portico_class_name %}{% endblock %}"><div class="app-main portico-page-container{% block hello_page_container %}{% endblock %}">+ {% include 'zerver/marketing_nav.html' %}+{% block marketing_content %}{% endblock %}</div>