Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
marketing: Add /slack-alternative/ landing page.
Shubham Padia58d9821825e2
diff --git a/corporate/urls.py b/corporate/urls.pyindex e2b3d964a84..edd03307194 100644--- a/corporate/urls.py+++ b/corporate/urls.py@@ -151,6 +151,11 @@ landing_page_urls = [landing_view,{"template_name": "corporate/choosing-a-team-chat-app.html"},),+ path(+ "slack-alternative/",+ landing_view,+ {"template_name": "corporate/slack-alternative.html"},+ ),path("self-hosting/", landing_view, {"template_name": "corporate/self-hosting.html"}),path("zulip-cloud/", landing_view, {"template_name": "corporate/zulip-cloud.html"}),path("security/", landing_view, {"template_name": "corporate/security.html"}),diff --git a/templates/corporate/pricing_model.html b/templates/corporate/pricing_model.htmlindex fecfb2d59d5..f468410be8d 100644--- a/templates/corporate/pricing_model.html+++ b/templates/corporate/pricing_model.html@@ -77,6 +77,7 @@</div><div class="bottom"><div class="text-content">+ {# Keep this price in sync with the Pricing row in corporate/slack-alternative.html. #}<div class="standard-price-box"><div class="price"><span class="currency-symbol">$</span>6.67</div><div class="details">diff --git a/templates/corporate/slack-alternative.html b/templates/corporate/slack-alternative.htmlnew file mode 100644index 00000000000..df2a1d79c9e--- /dev/null+++ b/templates/corporate/slack-alternative.html@@ -0,0 +1,383 @@+{% extends "zerver/marketing_page.html" %}+{% set entrypoint = "slack-alternative-page" %}++{% set PAGE_TITLE = "The organized, open-source Slack alternative | Zulip" %}++{% set PAGE_DESCRIPTION = "Looking for a Slack alternative? Zulip's+ topic-based threading keeps every conversation organized, so your team can+ catch up and work asynchronously without missing what matters. Fully+ open source, with easy import from Slack." %}+++{% block marketing_content %}++<div class="portico-landing why-page solutions-page slack-alternative-page">+ <div class="hero bg-pycon why-zulip slack-alternative-hero">+ <div class="bg-dimmer"></div>+ <div class="content">+ <h1 class="center">The organized, <span class="keep-together">open-source</span> <br /> Slack alternative</h1>+ <p>Organized team chat that makes your team more productive.</p>+ </div>+ <div class="hero-buttons center">+ <a href="/" class="button">+ {{ _('Get started') }}+ </a>+ <a href="#compare" class="button">+ {{ _('See the comparison') }}+ </a>+ </div>+ </div>++ <div class="glance-cards">+ <div class="glance-card">+ <h2>Will my team actually work better?</h2>+ <ul>+ <li><a href="#topics">No missed messages</a>: topics keep conversations separate, so nothing important scrolls past unnoticed.</li>+ <li><a href="#async">Skip what you don't need</a>: every conversation is labeled, so catching up doesn't mean reading everything.</li>+ <li><a href="#async">Async first</a>: a reply lands in its conversation, not mixed into unrelated messages or buried in a side thread.</li>+ <li><a href="#history">Find the full conversation, years later</a>: search takes you to the whole discussion, not one message mixed in with other conversations.</li>+ </ul>+ </div>+ <div class="glance-card">+ <h2>Is it easy to adopt and here to stay?</h2>+ <ul>+ <li><a href="#moving">Import your existing Slack workspace</a>, and keep your Slack integrations running.</li>+ <li><a href="#ownership">Zulip Cloud works just like Slack does</a>: sign up and go. Self-hosting is available if you need it.</li>+ <li><a href="#ownership">100% open-source software</a>, stewarded by the nonprofit Zulip Foundation.</li>+ <li><a href="#ownership">Your data is yours</a>, with full export anytime.</li>+ </ul>+ </div>+ </div>++ <div class="trust-logos">+ <p class="trust-logos-caption">+ Wikimedia, the Rust programming language, the Technical+ University of Munich, and thousands of other organizations+ run on Zulip.+ </p>+ <div class="client-logos">+ <div class='client-logos-div client-logos__logo_pilot'></div>+ <div class='client-logos-div client-logos__logo_linux_foundation'></div>+ <div class='client-logos-div client-logos__logo_tum'></div>+ <div class='client-logos-div client-logos__logo_wikimedia'></div>+ <div class='client-logos-div client-logos__logo_rust'></div>+ <div class='client-logos-div client-logos__logo_dr_on_demand'></div>+ </div>+ </div>++ <div class="alternative-features">+ <div class="feature-container" id="topics">+ <div class="feature-half">+ <div class="feature-text">+ <h1>Organized conversations, not tangled channels</h1>+ <ul>+ <li>+ <div class="list-content">+ In Slack, discussions are jumbled together in the channel, or tucked away in threads that are easy to miss.+ </div>+ </li>+ <li>+ <div class="list-content">+ In Zulip, topics create a separate space for each conversation, so discussions never get in each other's way, and a busy channel stays easy to follow.+ </div>+ </li>+ </ul>+ <div class="intro_quote quote-in-feature-text">+ <blockquote>+ In fact now it seems strange to me to just fire off messages in Slack with no subject – that's chaos, madness. The genius of subject lines is that you can quickly and easily catch up on the messages you missed in your off-hours... This feature alone saves me hours a week.+ <div class="author">+ — <a href="https://www.theregister.com/2021/07/28/zulip_open_source_chat_collaboration_software/">Zulip review in <em>The Register</em></a>+ </div>+ </blockquote>+ </div>+ </div>+ </div>+ <div class="feature-half">+ <div class="feature-image">+ <img alt="{{ _('A Zulip channel with conversations organized by topic') }}" src="{{ static('images/landing-page/companies/organized-conversations.png') }}" />+ </div>+ </div>+ </div>++ <div class="feature-container alternate-grid" id="async">+ <div class="feature-half md-hide">+ <div class="feature-image">+ <img class="wide-feature-image" alt="{{ _('The Zulip inbox, listing each conversation with unread messages') }}" src="{{ static('images/landing-page/engineers/inbox.png') }}" />+ </div>+ </div>+ <div class="feature-half">+ <div class="feature-text">+ <h1>Built for asynchronous work</h1>+ <ul>+ <li>+ <div class="list-content">+ Slack rewards being online all the time. After a day away, catching up means reading every conversation in a channel, message by message, to find the ones that matter.+ </div>+ </li>+ <li>+ <div class="list-content">+ In Zulip, topics tell you what each conversation is about before you read a word, so catching up means choosing which conversations to read, not reading all of them.+ </div>+ </li>+ </ul>+ <div class="intro_quote quote-in-feature-text">+ <blockquote>+ Zulip's unique threading saves me well over an hour a day in working with our distributed team of engineers and PMs across 7+ time zones. We tried Slack, Mattermost, and other team chat products that claim to support threading, and nothing handles synchronous and asynchronous communication so intuitively.+ <div class="author">+ — Jacinda Shelly, CTO, Doctor on Demand+ </div>+ </blockquote>+ </div>+ </div>+ </div>+ <div class="feature-half md-display">+ <div class="feature-image">+ <img class="wide-feature-image" alt="{{ _('The Zulip inbox, listing each conversation with unread messages') }}" src="{{ static('images/landing-page/engineers/inbox.png') }}" />+ </div>+ </div>+ </div>++ <div class="feature-container" id="history">+ <div class="feature-half">+ <div class="feature-text">+ <h1>Find the full conversation, years later</h1>+ <ul>+ <li>+ <div class="list-content">+ In Slack, finding an old discussion means searching for a keyword, landing on one message, and scrolling to piece the rest together.+ </div>+ </li>+ <li>+ <div class="list-content">+ In Zulip, search takes you to the whole conversation, kept together under its topic, so there's nothing to piece together.+ </div>+ </li>+ <li>+ <div class="list-content">+ Slack's free plan hides messages after 90 days and deletes them after a year. Zulip Cloud Free shows your 10,000 most recent messages, and older ones are kept and reappear when you upgrade.+ </div>+ </li>+ </ul>+ <div class="intro_quote quote-in-feature-text">+ <blockquote>+ Coupled with a culture of using Zulip in an organized way, it's difficult to overstate the impact it has on knowledge management... It is the essence of good UX design.+ <div class="author">+ — Max McCrea, co-founder of Monadical (<a href="https://monadical.com/posts/how-to-make-remote-work-part-two-zulip.html">blog post</a>)+ </div>+ </blockquote>+ </div>+ </div>+ </div>+ <div class="feature-half">+ <div class="feature-image">+ <img alt="" src="{{ static('images/landing-page/education/knowledge-repository.svg') }}" />+ </div>+ </div>+ </div>++ <div class="feature-container alternate-grid" id="ownership">+ <div class="feature-half md-hide">+ <div class="feature-image">+ <img class="mirror-image" alt="" src="{{ static('images/landing-page/education/privacy.svg') }}" />+ </div>+ </div>+ <div class="feature-half">+ <div class="feature-text">+ <h1>Open source, and your data is yours</h1>+ <ul>+ <li>+ <div class="list-content">+ Zulip is 100% open-source software (Apache 2.0), with no "open core" catch, stewarded by the nonprofit Zulip Foundation. A paid team provides leadership, expertise, and support for the open-source community.+ </div>+ </li>+ <li>+ <div class="list-content">+ <a href="/plans/">Zulip Cloud</a> works just like Slack does: sign up and go. Organizations with special requirements can also <a href="/self-hosting/">self-host</a> the same software.+ </div>+ </li>+ <li>+ <div class="list-content">+ Move your data with our high quality export and import tools; you are never locked into a proprietary tool.+ </div>+ </li>+ </ul>+ </div>+ </div>+ <div class="feature-half md-display">+ <div class="feature-image">+ <img class="mirror-image" alt="" src="{{ static('images/landing-page/education/privacy.svg') }}" />+ </div>+ </div>+ </div>++ <div class="feature-container" id="moving">+ <div class="feature-half">+ <div class="feature-text">+ <h1>Moving from Slack is easy</h1>+ <ul>+ <li>+ <div class="list-content">+ Import your existing organization from Slack, including message history, users, channels, and custom emoji. There's a <a href="/help/moving-from-slack">step-by-step guide</a> for the whole process.+ </div>+ </li>+ <li>+ <div class="list-content">+ Slack integrations can post to Zulip via the Slack-compatible webhook, and Zulip provides 130+ integrations including for GitHub, Jira, PagerDuty, Sentry, and Zapier.+ </div>+ </li>+ <li>+ <div class="list-content">+ If you have any questions, please contact us at <a href="mailto:[email protected]">[email protected]</a>, or drop by our <a href="/development-community/">friendly development community at chat.zulip.org</a> to ask for help or suggest improvements!+ </div>+ </li>+ </ul>+ <div class="intro_quote quote-in-feature-text">+ <blockquote>+ We switched to Zulip after trying pretty much every chat app out there. And it's been amazing. The threading-by-topic system is genius. It keeps every conversation in its lane and makes catching up effortless.+ <div class="author">+ — Deepak Shukla, Founder and CEO of Pearl Lemon+ </div>+ </blockquote>+ </div>+ </div>+ </div>+ <div class="feature-half">+ <div class="feature-image">+ <div class="switch-art">+ <span class="switch-art-slack">Slack</span>+ <svg class="switch-art-arrow" viewBox="0 0 100 44" aria-hidden="true">+ <path d="M 3 19 Q 46 -8, 96 24" />+ <path d="M 90.5 13.3 L 96 24 L 84 23.5" />+ </svg>+ <img class="switch-art-zulip" alt="{{ _('Zulip') }}" src="{{ static('images/logo/zulip-icon-circle.svg') }}" />+ </div>+ </div>+ </div>+ </div>+ </div>++ <div class="compare-band" id="compare">+ <div class="restate-claim">+ <p class="restate-claim-line">+ Slack is a feed you keep up with.<br />+ Zulip is a set of conversations you come back to.+ </p>+ <p class="restate-claim-sub">Here's how that plays out, feature by feature.</p>+ </div>++ <div class="compare-section">+ <table class="vs-table">+ <thead>+ <tr>+ <td></td>+ <th scope="col">Slack</th>+ <th scope="col">Zulip</th>+ </tr>+ </thead>+ <tbody>+ <tr>+ <th scope="row">Organizing conversations</th>+ <td>Messages pile up in the channel. Threads hang off a single message and stay hidden from the channel, so anyone not already in them misses what's said.</td>+ <td>Each channel is split into topics, and every message belongs to one. New conversations are visible to everyone in the channel, not tucked away.</td>+ </tr>+ <tr>+ <th scope="row">Catching up after time away</th>+ <td>Scroll through each channel, then mark it as read.</td>+ <td>See a list of conversations with unread messages, and read only the ones you need.</td>+ </tr>+ <tr>+ <th scope="row">Message history</th>+ <td>The free plan hides messages after 90 days and deletes them after a year.</td>+ <td>Zulip never deletes your messages, on any plan. Zulip Cloud Free shows your 10,000 most recent messages. Older ones reappear when you upgrade.</td>+ </tr>+ <tr>+ <th scope="row">Search results</th>+ <td>Take you to a message in the channel, among whatever else was being discussed at the time.</td>+ <td>Take you to a message in its topic, with the whole conversation already around it.</td>+ </tr>+ {# Keep this price in sync with Zulip Cloud Standard in corporate/pricing_model.html. #}+ <tr>+ <th scope="row">Pricing</th>+ <td>Free plan with the 90-day limit; paid plans priced per user</td>+ <td>Free and sponsored plans; $6.67/user/month (billed annually) for unlimited history — <a href="/plans/" target="_blank" rel="noopener noreferrer">see plans</a>.</td>+ </tr>+ <tr>+ <th scope="row">Hosting</th>+ <td>Cloud only</td>+ <td><a href="/plans/" target="_blank" rel="noopener noreferrer">Cloud</a> or <a href="/self-hosting/" target="_blank" rel="noopener noreferrer">self-hosted</a></td>+ </tr>+ <tr>+ <th scope="row">Source code</th>+ <td>Proprietary</td>+ <td><a href="https://github.com/zulip/zulip" target="_blank" rel="noopener noreferrer">100% open source</a> (Apache 2.0)</td>+ </tr>+ <tr>+ <th scope="row">Data export</th>+ <td>Admins can export data, but what's included depends on your plan.</td>+ <td>Export everything at any time.</td>+ </tr>+ <tr>+ <th scope="row">Nonprofits, education, open source</th>+ <td>Discount program</td>+ <td><a href="/plans/#cloud-sponsorships" target="_blank" rel="noopener noreferrer">Free Cloud Standard</a> for eligible organizations.</td>+ </tr>+ <tr>+ <th scope="row">Apps and integrations</th>+ <td>A large app directory.</td>+ <td>130+ integrations. The <a href="/integrations/slack_incoming" target="_blank" rel="noopener noreferrer">Slack-compatible webhook</a>, Zapier, and the <a href="/api/" target="_blank" rel="noopener noreferrer">API</a> connect the rest.</td>+ </tr>+ <tr>+ <th scope="row">Calls</th>+ <td>Built-in huddles for audio and video calls.</td>+ <td>Start a video or voice call in one click with Jitsi Meet or Zoom. Self-hosted servers can also use BigBlueButton, Webex, Nextcloud Talk, and more.</td>+ </tr>+ </tbody>+ </table>+ <div class="compare-cta center register-buttons">+ <a href="/" class="button">+ {{ _('Get started') }}+ </a>+ </div>+ </div>+ </div>++ <div class="switched-testimonials">+ <h2>Teams that switched from Slack</h2>+ <div class="switched-testimonials-grid">+ <a class="switched-testimonial" href="/case-studies/end-point/" target="_blank" rel="noopener noreferrer">+ <div class="switched-testimonial-text">+ <strong>Slack's interface was too slow and clunky</strong>, and the more channels you're in, the harder it is to use. Zulip's UI makes it easy to access all the information you need.+ </div>+ <div class="switched-testimonial-source">+ <strong>Jon Jensen</strong>, <i>CTO of End Point Dev</i>+ </div>+ </a>+ <a class="switched-testimonial" href="/case-studies/semsee/" target="_blank" rel="noopener noreferrer">+ <div class="switched-testimonial-text">+ <strong>I don't like going back to Slack now</strong>. It's just not as efficient a way to organize communication.+ </div>+ <div class="switched-testimonial-source">+ <strong>James van Lommel</strong>, <i>Director of Engineering at Semsee</i>+ </div>+ </a>+ <a class="switched-testimonial" href="/case-studies/windborne/" target="_blank" rel="noopener noreferrer">+ <div class="switched-testimonial-text">+ I love the application, and couldn't dream of going back to anything else. <strong>Slack and Discord just pale in comparison</strong>.+ </div>+ <div class="switched-testimonial-source">+ <strong>Nathan Kaplan</strong>, <i>Head of Global Launch Operations at WindBorne</i>+ </div>+ </a>+ </div>+ </div>++ <div class="why-zulip">+ <div class="discounts-section">+ <div class="register-buttons">+ <a href="/" class="register-now button">{{ _('Get started') }}</a>+ </div>+ </div>+ </div>+</div>++{% endblock %}diff --git a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.pyindex dab2e5dc98e..66d45f47400 100644--- a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py+++ b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py@@ -45,6 +45,7 @@ class PorticoDocumentationSpider(BaseDocumentationSpider):"http://localhost:9981/policies/privacy","http://localhost:9981/features/","http://localhost:9981/why-zulip/",+ "http://localhost:9981/slack-alternative/","http://localhost:9981/for/open-source/","http://localhost:9981/for/business/","http://localhost:9981/for/communities/",diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex c16234286b2..1e57d433ed0 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -569,6 +569,7 @@ html_rules: list["Rule"] = ["templates/corporate/jobs.html","templates/corporate/zulip-cloud.html","templates/corporate/for/business.html",+ "templates/corporate/slack-alternative.html","templates/corporate/support/support_request.html","templates/corporate/support/support_request_thanks.html","templates/zerver/emails/support_request.html",diff --git a/web/styles/portico/slack_alternative.css b/web/styles/portico/slack_alternative.cssnew file mode 100644index 00000000000..00a547dfa55--- /dev/null+++ b/web/styles/portico/slack_alternative.css@@ -0,0 +1,399 @@+/* Styles for the /slack-alternative/ landing page. Everything here is+ scoped under `.slack-alternative-page`; the page otherwise reuses the+ shared marketing page styles for the hero and feature sections. */+.slack-alternative-page {+ --color-slack-alternative-accent: hsl(219deg 62% 45%);+ --color-background-glance-card: hsl(0deg 0% 100%);+ --color-shadow-glance-card: hsl(224deg 52% 12% / 18%);+ --color-text-testimonial-role: hsl(0deg 0% 40%);+ --color-shadow-testimonial-hover: hsl(208deg 70% 25% / 25%);+ --color-border-row: hsl(224deg 52% 12% / 18%);++ /* A shorter hero, so the "at a glance" cards are visible without+ scrolling. The selector repeats the page's classes to outrank+ `.portico-landing.why-page .hero.why-zulip` in marketing_page.css,+ which sets padding-bottom. */+ &.portico-landing.why-page .hero.slack-alternative-hero {+ padding: 140px 50px 90px;++ @media (width < 900px) {+ padding: 130px 20px 80px;+ }++ /* On phones the first line of the title wraps; keep+ "open-source" from breaking at its hyphen. */+ .keep-together {+ white-space: nowrap;+ }+ }++ .glance-cards {+ display: grid;+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: 20px;+ max-width: 1000px;+ margin: -50px auto 0;+ padding: 0 20px;+ position: relative;+ z-index: 1;++ @media (width < 768px) {+ grid-template-columns: minmax(0, 1fr);+ }+ }++ .glance-card {+ padding: 20px 24px 12px;+ border-radius: 10px;+ border-top: 5px solid var(--color-prominent-border);+ background: var(--color-background-glance-card);+ box-shadow: 0 4px 24px var(--color-shadow-glance-card);++ h2 {+ margin: 0 0 10px;+ font-size: 22px;+ font-weight: 600;+ }++ ul {+ margin: 0;+ padding-left: 20px;+ }++ li {+ margin-bottom: 8px;+ font-size: 16px;+ line-height: 1.5;+ }+ }++ .trust-logos {+ max-width: 1300px;+ margin: 48px auto 0;+ padding: 0 20px;+ text-align: center;+ }++ .trust-logos-caption {+ font-size: 16px;+ margin: 0 0 8px;+ }++ /* Layout for the shared client logo images; the home page's grid+ for the same logos lives in hello.css, in another bundle. */+ .client-logos {+ display: grid;+ grid-template-columns: repeat(6, minmax(120px, 180px));+ grid-template-rows: 72px;+ justify-content: center;+ place-items: center;++ @media (width < 900px) {+ grid-template-columns: repeat(3, minmax(100px, 160px));+ grid-template-rows: repeat(2, 64px);+ }++ @media (width < 500px) {+ grid-template-columns: repeat(2, minmax(100px, 160px));+ grid-template-rows: repeat(3, 56px);+ }+ }++ /* The shared logo images are white-on-transparent, drawn for the+ home page's dark hero; invert them for this light background.+ `contain` sizing renders every logo at the same height, and+ shrinks a logo that is wider than its grid cell to fit. */+ .client-logos .client-logos-div {+ width: 100%;+ height: 36px;+ background-position: center;+ background-size: contain;+ filter: invert(1);+ opacity: 0.6;+ }++ .alternative-features .feature-container {+ padding: 24px 4vw;++ /* Plain bullets instead of the checkmark icons the shared+ feature list styles use. */+ .feature-text ul {+ list-style: disc;+ padding-left: 22px;++ li::before {+ content: none;+ }++ .list-content {+ margin-left: 0;+ }+ }+ }++ .feature-text .intro_quote blockquote {+ font-size: 17px;+ margin-top: 24px;+ margin-bottom: 0;+ }++ .alternative-features .feature-image img {+ max-width: 100%;+ }++ /* The inbox screenshot has room to breathe next to the async copy.+ Outweigh the shared 400px feature-image img rule. */+ .feature-image .wide-feature-image {+ width: 560px;+ }++ /* In the other sections, the 400px image sets the width of the+ image column. Give this section's narrower graphic a column of+ the same width, so that the section lines up with the others. */+ #moving {+ @media (width >= 768px) {+ grid-template-columns: 43% minmax(0, 400px);+ }+ }++ /* Slack, a hand-drawn arrow, Zulip: the move in one picture. */+ .switch-art {+ display: flex;+ align-items: center;+ justify-content: center;+ gap: 9px;+ padding: 24px 0;+ }++ .switch-art-slack {+ flex: none;+ font-size: 44px;+ font-weight: 600;++ @media (width < 360px) {+ font-size: 35px;+ }+ }++ .switch-art-arrow {+ width: 110px;+ height: 51px;+ flex: none;+ fill: none;+ stroke: var(--color-slack-alternative-accent);+ stroke-width: 3;+ stroke-linecap: round;+ stroke-linejoin: round;++ @media (width < 360px) {+ width: 79px;+ height: 36px;+ }+ }++ /* Outweigh the shared 400px feature-image img rule. */+ .switch-art .switch-art-zulip {+ width: 95px;+ height: 95px;+ flex: none;++ @media (width < 360px) {+ width: 75px;+ height: 75px;+ }+ }++ /* The restated claim and the comparison table share one shaded+ band: the table is the evidence for the claim above it. */+ .compare-band {+ box-sizing: border-box;+ max-width: 1100px;+ margin: 48px auto 0;+ padding: 56px 24px 48px;+ border-radius: 10px;+ background: var(--color-background-box);+ }++ .restate-claim {+ padding: 0 20px;+ text-align: center;+ }++ .restate-claim-line {+ font-size: 28px;+ font-weight: 600;+ line-height: 1.4;+ margin: 0;+ }++ .restate-claim-sub {+ margin: 10px 0 0;+ font-size: 17px;+ opacity: 0.8;+ }++ .compare-section {+ max-width: 900px;+ margin: 40px auto 0;+ padding: 0 20px;++ @media (width < 640px) {+ padding: 0;+ }+ }++ .vs-table {+ width: 100%;+ border-collapse: collapse;+ font-size: 16px;+ line-height: 1.5;++ thead th,+ thead td {+ font-size: 18px;+ font-weight: 600;+ text-align: left;+ padding: 10px 14px;+ border-bottom: 2px solid var(--color-prominent-border);+ }++ tbody th {+ font-weight: 600;+ text-align: left;+ vertical-align: top;+ padding: 12px 14px;+ width: 24%;+ }++ tbody td {+ vertical-align: top;+ padding: 12px 14px;+ width: 38%;+ }++ tbody tr {+ border-bottom: 1px solid var(--color-border-row);+ }++ @media (width < 768px) {+ font-size: 15px;++ thead th,+ tbody th,+ tbody td {+ padding: 8px;+ }+ }++ /* Three columns leave each cell only a few words wide on+ phones, so each feature name gets a line of its own, with+ the Slack and Zulip cells side by side below it. */+ @media (width < 640px) {+ tr {+ display: grid;+ grid-template-columns: repeat(2, minmax(0, 1fr));+ column-gap: 16px;+ }++ thead td {+ display: none;+ }++ tbody th {+ grid-column: 1 / -1;+ width: auto;+ padding-bottom: 0;+ }++ tbody td {+ width: auto;+ }+ }+ }++ .compare-cta {+ margin-top: 18px;+ }++ /* Testimonials, presented as the home page presents them:+ speech bubbles with a tail, and a bold name + italic role.+ The home page styles live in hello.css, which is in another+ webpack bundle, so the bubble is drawn again here. */+ .switched-testimonials {+ max-width: 1100px;+ margin: 24px auto 0;+ padding: 0 20px;++ h2 {+ text-align: center;+ font-weight: 600;+ margin: 0 0 20px;+ }+ }++ .switched-testimonials-grid {+ display: grid;+ grid-template-columns: repeat(3, minmax(0, 1fr));+ gap: 24px 28px;++ @media (width < 768px) {+ grid-template-columns: minmax(0, 1fr);+ }+ }++ /* Specific enough to win over the shared `.portico-landing+ a:not(.button)` link styles. */+ .switched-testimonials .switched-testimonial {+ /* Stretch the bubble so all three fill the row's height and+ the attribution lines align. */+ display: flex;+ flex-direction: column;++ &,+ &:hover {+ text-decoration: none;+ color: inherit;+ }+ }++ .switched-testimonial-text {+ position: relative;+ flex: 1;+ padding: 20px 24px 18px;+ border-radius: 25px 25px 25px 0;+ background: var(--color-background-box);+ font-size: 18px;+ line-height: 140%;+ color: var(--color-text-testimonial);+ transition: box-shadow 0.3s ease-out;++ strong {+ color: var(--color-slack-alternative-accent);+ font-weight: 600;+ }++ &::after {+ content: "";+ position: absolute;+ left: 0;+ bottom: -14px;+ width: 22px;+ height: 14px;+ background: var(--color-background-box);+ clip-path: polygon(0 0, 100% 0, 0 100%);+ }+ }++ .switched-testimonial:hover .switched-testimonial-text {+ box-shadow: 0 8px 24px var(--color-shadow-testimonial-hover);+ }++ .switched-testimonial-source {+ margin: 22px 0 0 4px;+ font-size: 15px;++ i {+ color: var(--color-text-testimonial-role);+ }+ }+}diff --git a/web/webpack.assets.json b/web/webpack.assets.jsonindex af82dd18693..b223802af0c 100644--- a/web/webpack.assets.json+++ b/web/webpack.assets.json@@ -53,6 +53,13 @@"./styles/portico/pricing_plans.css","./styles/portico/comparison_table.css"],+ "slack-alternative-page": [+ "./src/bundles/marketing_page_bundle.ts",+ "./src/portico/legacy_landing_page.ts",+ "./styles/portico/marketing_page.css",+ "./styles/portico/svg_icons.css",+ "./styles/portico/slack_alternative.css"+ ],"landing-page-hello": ["./src/bundles/hello.ts","./src/portico/hello.ts",diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.pyindex 3e13f6f3448..b7b440a4022 100644--- a/zerver/tests/test_docs.py+++ b/zerver/tests/test_docs.py@@ -326,6 +326,7 @@ class DocPageTest(ZulipTestCase):self._test("/case-studies/", ["Case studies"])self._test("/why-zulip/", ["Why Zulip?"])self._test("/choosing-a-team-chat-app/", ["3 team chat apps to consider"])+ self._test("/slack-alternative/", ["Will my team actually work better?"])# /for/... pagesself._test("/for/open-source/", ["for open source projects"])self._test("/for/events/", ["for conferences and events"])