Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

portico: Scope pricing-plans styles to pages that need it.

Karl Stolleycc4bb3493abb
diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.html
index 946cc6cafac..3cb519590f1 100644
--- a/templates/corporate/for/business.html
+++ b/templates/corporate/for/business.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico.html" %}
-{% set entrypoint = "landing-page" %}
+{% set entrypoint = "landing-page-with-pricing" %}
{% set PAGE_TITLE = "Zulip for business" %}
diff --git a/templates/corporate/self-hosting.html b/templates/corporate/self-hosting.html
index cccaa33f2be..00c57c5e43f 100644
--- a/templates/corporate/self-hosting.html
+++ b/templates/corporate/self-hosting.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico.html" %}
-{% set entrypoint = "landing-page" %}
+{% set entrypoint = "landing-page-with-pricing" %}
{% set PAGE_TITLE = "Self-host Zulip" %}
diff --git a/web/webpack.assets.json b/web/webpack.assets.json
index a0a82dce8b5..102909b84e2 100644
--- a/web/webpack.assets.json
+++ b/web/webpack.assets.json
@@ -50,6 +50,11 @@
"./src/portico/tabbed-instructions"
],
"landing-page": [
+ "./src/bundles/portico",
+ "./src/portico/landing-page",
+ "./styles/portico/landing_page.css"
+ ],
+ "landing-page-with-pricing": [
"./src/bundles/portico",
"./src/portico/landing-page",
"./styles/portico/landing_page.css",