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.

marketing_page: Sunset the landing-page-with-pricing bundle.

Karl Stolley60d8274ac6a6
diff --git a/templates/corporate/for/business.html b/templates/corporate/for/business.html
index 3972625bffc..520958e704c 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-with-pricing" %}
+{% set entrypoint = "marketing-page" %}
{% set PAGE_TITLE = "Zulip for business" %}
diff --git a/templates/corporate/self-hosting.html b/templates/corporate/self-hosting.html
index 7990d6a8fb0..9214d8c016d 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-with-pricing" %}
+{% set entrypoint = "marketing-page" %}
{% set PAGE_TITLE = "Self-host Zulip" %}
diff --git a/templates/corporate/zulip-cloud.html b/templates/corporate/zulip-cloud.html
index cd2717f35a0..57dcb9da08a 100644
--- a/templates/corporate/zulip-cloud.html
+++ b/templates/corporate/zulip-cloud.html
@@ -1,5 +1,5 @@
{% extends "zerver/portico.html" %}
-{% set entrypoint = "landing-page-with-pricing" %}
+{% set entrypoint = "marketing-page" %}
{% set PAGE_TITLE = "Zulip Cloud" %}
diff --git a/web/styles/portico/pricing_plans.css b/web/styles/portico/pricing_plans.css
index c066a1947ef..2981d9d37dc 100644
--- a/web/styles/portico/pricing_plans.css
+++ b/web/styles/portico/pricing_plans.css
@@ -54,7 +54,12 @@
padding: 0 10px;
margin: 0 auto;
- & a {
+ /* There's never a button instance here, but we need
+ this to correct for specificity against the overall
+ marketing-page link styles.
+ TODO: Integrate this link style so as to not add a
+ :not() selector here. */
+ & a:not(.button) {
color: inherit;
text-decoration: none;
border-bottom: 1px solid hsl(0deg 0% 100% / 50%);
diff --git a/web/webpack.assets.json b/web/webpack.assets.json
index b10138291c9..ed3cf7ffe39 100644
--- a/web/webpack.assets.json
+++ b/web/webpack.assets.json
@@ -55,13 +55,7 @@
"./src/bundles/marketing_page_bundle.ts",
"./src/portico/legacy_landing_page.ts",
"./styles/portico/portico_variables.css",
- "./styles/portico/marketing_page.css"
- ],
- "landing-page-with-pricing": [
- "./src/bundles/legacy_portico_bundle.ts",
- "./src/portico/legacy_landing_page.ts",
- "./styles/portico/portico_variables.css",
- "./styles/portico/legacy_landing_page.css",
+ "./styles/portico/marketing_page.css",
"./styles/portico/pricing_plans.css"
],
"landing-page-hello": [