From fc6833e46a33b07867b249ac952dea7a54f0530c Mon Sep 17 00:00:00 2001 From: Max Nussenbaum Date: Wed, 9 May 2018 12:57:55 -0700 Subject: [PATCH] portico: Add quote to Why Zulip page. Adds a quote from Grahame Grieve to the Why Zulip page. With tweaks by tabbott to make the linter pass. --- static/styles/landing-page.scss | 74 +++++++++++++++++++++++++++++---- templates/zerver/why-zulip.html | 33 ++++++++++++++- templates/zerver/why-zulip.md | 6 --- 3 files changed, 96 insertions(+), 17 deletions(-) diff --git a/static/styles/landing-page.scss b/static/styles/landing-page.scss index 50e98a4e62..e7c4d4b906 100644 --- a/static/styles/landing-page.scss +++ b/static/styles/landing-page.scss @@ -1308,7 +1308,7 @@ nav ul li.active::after { .portico-landing.hello .testimonials { color: #fff; - background-color: hsl(169, 35%, 35%); + background-color: #23584d; } .portico-landing.hello .testimonials .text-header .text-content { @@ -1366,18 +1366,13 @@ nav ul li.active::after { margin-right: -3px; } -.portico-landing.hello .testimonials blockquote::after { - content: "”"; - margin-left: -3px; -} - .portico-landing.hello .testimonials blockquote + cite { display: block; margin-top: 5px; margin-bottom: 30px; - color: white; - opacity: 0.5; + color: #ffffff; + opacity: 0.7; font-weight: 400; } @@ -1930,7 +1925,59 @@ nav ul li.active::after { z-index: 1; } -#why-zulip-padded-content { +.portico-landing.why-page .testimonials { + background: #23584d; + color: #fff; + margin-bottom: 40px; +} + +.portico-landing.why-page .testimonials .quote-container { + width: 98%; + margin: 30px auto 20px auto; + padding-left: 2%; + + font-size: 1.2rem; +} + +.portico-landing.why-page .testimonials .carousel-quotes { + width: 60%; + margin: auto; +} + +.portico-landing.why-page .testimonials .carousel-inner { + width: 100%; + left: -2%; +} + +.portico-landing.why-page .testimonials blockquote::before { + content: "“"; + margin-left: -10px; + margin-right: -3px; +} + +.portico-landing.why-page .testimonials blockquote + cite { + display: block; + margin-top: 5px; + margin-bottom: 30px; + + color: white; + opacity: 0.7; + font-weight: 400; + line-height: 140%; +} + +.portico-landing.why-page .testimonials blockquote { + padding: 0px; + + font-weight: 400; + line-height: 1.6; + text-align: left; + border: none; + + opacity: 0.8; +} + +.why-zulip-padded-content { padding-top: 0px; } @@ -3079,6 +3126,15 @@ nav ul li.active::after { padding: 50px 20px; } + .portico-landing.why-page .testimonials .carousel-quotes { + width: 90%; + } + + .portico-landing.why-page .testimonials .quote-container { + padding-left: 4%; + font-size: 1em; + } + #integration-instruction-block .integration-lozenge { display: none !important; } diff --git a/templates/zerver/why-zulip.html b/templates/zerver/why-zulip.html index 0512577396..dade489c49 100644 --- a/templates/zerver/why-zulip.html +++ b/templates/zerver/why-zulip.html @@ -15,13 +15,42 @@
-
" -
+
+
{{ render_markdown_path('zerver/why-zulip.md') }}
+
+
+ +
+
+
+
+
+

Read more about how we’ve made Zulip work for you

+ +
+
+
+
{% endblock %} diff --git a/templates/zerver/why-zulip.md b/templates/zerver/why-zulip.md index 917613b082..1e470067d3 100644 --- a/templates/zerver/why-zulip.md +++ b/templates/zerver/why-zulip.md @@ -69,9 +69,3 @@ conversations don’t require coordinating busy schedules, or hour long commitments from folks that just need a 5 minute update. And unlike email, a lively discussion of 300 Zulip messages is just as easy to digest and respond to as an in-person conversation. - -## Read more about how we’ve made Zulip work for you - -* [Zulip for companies](/for/companies) -* [Zulip for open source projects](/for/open-source) -* [Zulip for working groups and part-time communities](/for/working-groups-and-communities)