From a6498ad6665cc3cb0953f7a29277ab0960920ab5 Mon Sep 17 00:00:00 2001 From: Karl Stolley Date: Mon, 20 Nov 2023 13:12:54 -0600 Subject: [PATCH] plans_page: Simplify structures and present page header. --- templates/corporate/plans.html | 15 +++++----- templates/corporate/pricing_model.html | 40 +++++++++++++------------- web/styles/portico/hello.css | 39 +++++++++++++++++++++++++ web/webpack.assets.json | 8 ++++++ 4 files changed, 74 insertions(+), 28 deletions(-) diff --git a/templates/corporate/plans.html b/templates/corporate/plans.html index 9b6f5b9ce6..32a0397777 100644 --- a/templates/corporate/plans.html +++ b/templates/corporate/plans.html @@ -1,5 +1,5 @@ -{% extends "zerver/portico.html" %} -{% set entrypoint = "landing-page" %} +{% extends "zerver/base.html" %} +{% set entrypoint = "plans-page" %} {% set PAGE_TITLE = "Plans and pricing | Zulip" %} @@ -9,12 +9,11 @@ {% endblock %} -{% block portico_content %} +{% block content %} -{% include 'zerver/gradients.html' %} {% include 'zerver/landing_nav.html' %} -
+
{% include "corporate/pricing_model.html" %}
@@ -51,13 +50,13 @@
-

Discounts?

+

Discounts?

We sponsor hundreds of worthy organizations

-

Community plan

+

Community plan

-

Business plan with 85% discount

+

Business plan with 85% discount

  • Education (online or in-person) diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.html index 8faabdae9e..60e6287396 100644 --- a/templates/corporate/pricing_model.html +++ b/templates/corporate/pricing_model.html @@ -1,24 +1,24 @@
    -

    Pricing

    -

    +

    Zulip plans and pricing

    +
    You can move freely between Zulip Cloud hosting and your own servers with our high quality export and import tools. -

    +
    -
    -
    -

    Cloud

    -

    - Always updated to the latest version of Zulip. - Simple managed solution, with no setup or maintenance. -

    -
    +
    +

    Cloud

    +

    + Always updated to the latest version of Zulip. + Simple managed solution, with no setup or maintenance. +

    +
    +

    Free

    @@ -28,7 +28,7 @@
  • Full-featured team chat service
  • Hundreds of integrations
  • Advanced roles and permissions
  • -
  • Guest accounts
  • +
  • Guest accounts
@@ -104,15 +104,15 @@
-
-
-

Self-hosted

-

- Retain full control over your data and simplify compliance by self-hosting. - Customize Zulip for all your needs. -

-
+
+

Self-hosted

+

+ Retain full control over your data and simplify compliance by self-hosting. + Customize Zulip for all your needs. +

+
+

Free

diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.css index a8bd7b6027..c749342afb 100644 --- a/web/styles/portico/hello.css +++ b/web/styles/portico/hello.css @@ -1060,3 +1060,42 @@ ul { } } } + +.portico-pricing { + .padded-content { + padding: 102px 0; + } + + h1 { + font-weight: 500; + font-size: 58px; + line-height: 110%; + text-align: center; + margin: 10px; + } + + .h1-subheader { + font-family: var(--font-ops); + font-weight: 400; + font-size: 20px; + line-height: 145%; + text-align: center; + font-feature-settings: + "pnum" on, + "lnum" on; + color: hsl(0deg 0% 100%); + max-width: 560px; + margin: 0 auto; + + & a { + text-decoration: none; + border-bottom: 1px solid hsl(0deg 0% 100% / 50%); + transition: border 0.4s ease-out; + + &:hover { + border-bottom: 2px solid hsl(0deg 0% 100%); + transition: none; + } + } + } +} diff --git a/web/webpack.assets.json b/web/webpack.assets.json index 4074f079cd..370ee76283 100644 --- a/web/webpack.assets.json +++ b/web/webpack.assets.json @@ -63,6 +63,14 @@ "./styles/portico/navbar.css", "./styles/portico/footer.css" ], + "plans-page": [ + "./src/bundles/hello", + "./src/portico/landing-page", + "./src/portico/header", + "./styles/portico/hello.css", + "./styles/portico/navbar.css", + "./styles/portico/footer.css" + ], "integrations": [ "./src/bundles/portico", "./src/portico/integrations",