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: Create use cases index page.

Alya Abbotta80e470c9e0f
diff --git a/templates/zerver/for/use-cases.md b/templates/zerver/for/use-cases.md
new file mode 100644
index 00000000000..8f0e97517d9
--- /dev/null
+++ b/templates/zerver/for/use-cases.md
@@ -0,0 +1,16 @@
+## Use cases
+
+* [Business](/for/business/)
+* [Education](/for/education/)
+* [Research](/for/research/)
+* [Events and conferences](/for/events/)
+* [Open source projects](/for/open-source/)
+* [Communities](/for/communities/)
+
+## Customer stories
+
+* [iDrift AS company](/case-studies/idrift/)
+* [Technical University of Munich](/case-studies/tum/)
+* [University of California San Diego](/case-studies/ucsd/)
+* [Lean theorem prover community](/case-studies/lean/)
+* [Rust language community](/case-studies/rust/)
diff --git a/templates/zerver/use-cases.html b/templates/zerver/use-cases.html
new file mode 100644
index 00000000000..10164ff0f50
--- /dev/null
+++ b/templates/zerver/use-cases.html
@@ -0,0 +1,43 @@
+{% extends "zerver/portico.html" %}
+{% set entrypoint = "landing-page" %}
+
+{% block title %}
+<title>Use cases and customer stories</title>
+{% endblock %}
+
+{% block customhead %}
+<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+{% endblock %}
+
+{% block portico_content %}
+
+{% include 'zerver/landing_nav.html' %}
+
+<div class="portico-landing plans why-page no-slide solutions-page for-companies">
+ <div class="hero bg-companies">
+ <div class="bg-dimmer"></div>
+ <h1 class="center">Use cases and customer stories</h1>
+ <p>Learn how our customers are using Zulip.</p>
+ <div class="hero-buttons center">
+ <a href="/new/" class="button">
+ {{ _('Create organization') }}
+ </a>
+ <a href="/plans/" class="button">
+ {{ _('View pricing') }}
+ </a>
+ <a href="/self-hosting/" class="button">
+ {{ _('Self-host Zulip') }}
+ </a>
+ </div>
+ </div>
+
+ <div class="main">
+ <div class="padded-content">
+ <div class="inner-content markdown">
+ {{ render_markdown_path('zerver/for/use-cases.md') }}
+ </div>
+ </div>
+ </div>
+
+</div>
+{% endblock %}
diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.py
index 2674bcf40e0..346a494bddf 100644
--- a/zerver/tests/test_docs.py
+++ b/zerver/tests/test_docs.py
@@ -153,6 +153,7 @@ class DocPageTest(ZulipTestCase):
if settings.ZILENCER_ENABLED:
self._test("/apps/", "Apps for every platform.")
self._test("/features/", "Beautiful messaging")
+ self._test("/use-cases/", "Use cases and customer stories")
self._test("/hello/", "Chat for distributed teams", landing_missing_strings=["Log in"])
self._test("/development-community/", "Zulip development community")
self._test("/why-zulip/", "Why Zulip?")
diff --git a/zproject/urls.py b/zproject/urls.py
index 6a3a56b152b..0049be3578d 100644
--- a/zproject/urls.py
+++ b/zproject/urls.py
@@ -641,6 +641,7 @@ i18n_urls = [
"for/working-groups-and-communities/",
RedirectView.as_view(url="/for/communities/", permanent=True),
),
+ path("use-cases/", landing_view, {"template_name": "zerver/use-cases.html"}),
path("self-hosting/", landing_view, {"template_name": "zerver/self-hosting.html"}),
path("security/", landing_view, {"template_name": "zerver/security.html"}),
]