mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
corporate: Replace /try-zulip
with /?show_try_zulip_modal
.
This commit removes the `/try-zulip` landing page. The URLs are replaced with `chat.zulip.org/?show_try_zulip_modal`, which leads to display a modal for spectators. Fixes #34181.
This commit is contained in:
committed by
Tim Abbott
parent
f64d7b6e28
commit
41df472d41
@@ -150,7 +150,6 @@ landing_page_urls = [
|
||||
path("why-zulip/", landing_view, {"template_name": "corporate/why-zulip.html"}),
|
||||
path("self-hosting/", landing_view, {"template_name": "corporate/self-hosting.html"}),
|
||||
path("security/", landing_view, {"template_name": "corporate/security.html"}),
|
||||
path("try-zulip/", landing_view, {"template_name": "corporate/try-zulip.html"}),
|
||||
# /for pages
|
||||
path("use-cases/", landing_view, {"template_name": "corporate/for/use-cases.html"}),
|
||||
path(
|
||||
|
@@ -14,8 +14,8 @@ To **import data** from [Slack][slack-import], [Mattermost][mattermost-import],
|
||||
server][zulip-server-import], follow the linked instructions.
|
||||
|
||||
You can **try out Zulip** before setting up your own server by [checking
|
||||
it out](https://zulip.com/try-zulip/) in the Zulip development community, or
|
||||
[creating a free test organization](https://zulip.com/new/) on Zulip Cloud.
|
||||
it out](https://chat.zulip.org/?show_try_zulip_modal) in the Zulip development community,
|
||||
or [creating a free test organization](https://zulip.com/new/) on Zulip Cloud.
|
||||
|
||||
:::{note}
|
||||
These instructions are for self-hosting Zulip. To
|
||||
|
@@ -9,7 +9,7 @@ It's also easy to try out Zulip for yourself.
|
||||
|
||||
1. **Check out the Zulip app**. You can:
|
||||
|
||||
- [View the Zulip development community](https://zulip.com/try-zulip/),
|
||||
- [View the Zulip development community](https://chat.zulip.org/?show_try_zulip_modal),
|
||||
where hundreds of participants collaborate to improve Zulip. Many parts of
|
||||
the community are open for [public access](/help/public-access-option), so
|
||||
you can start exploring without creating an account.
|
||||
|
@@ -29,8 +29,8 @@ engage with the Zulip community.
|
||||
|
||||
You can also [read conversations](https://chat.zulip.org/) in the community
|
||||
without creating an account. If you are evaluating using Zulip for your
|
||||
organization, check out these [tips](/try-zulip/) for exploring the product in
|
||||
action in the development community.
|
||||
organization, check out these [tips](https://chat.zulip.org/?show_try_zulip_modal)
|
||||
for exploring the product in action in the development community.
|
||||
|
||||
<br/>
|
||||
# Community norms
|
||||
|
@@ -43,7 +43,7 @@
|
||||
<img alt="" width="1095" height="496" class='appshot-1__img' src="{{ static('images/landing-page/hello/generated/screen-1-2x.jpg') }}"/>
|
||||
</picture>
|
||||
<div class="cta-buttons">
|
||||
<a href="/try-zulip/">
|
||||
<a href="{{ 'https://chat.zulip.org' if not development_environment}}/?show_try_zulip_modal">
|
||||
See it in use
|
||||
<div class="cta-desc">in an open organization</div>
|
||||
</a>
|
||||
|
@@ -1,46 +0,0 @@
|
||||
{% extends "zerver/portico.html" %}
|
||||
{% set entrypoint = "landing-page" %}
|
||||
|
||||
{% set PAGE_TITLE = "Try Zulip now" %}
|
||||
|
||||
{% set PAGE_DESCRIPTION = "Check out the Zulip app by viewing the Zulip
|
||||
development community. No account required." %}
|
||||
|
||||
{% 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 why-page solutions-page try-zulip-now-page">
|
||||
<div class="hero">
|
||||
<div class="content">
|
||||
<h1 class="center">Try Zulip now.</h1>
|
||||
<p>
|
||||
Check out the Zulip app in the <a
|
||||
href="https://chat.zulip.org">Zulip development
|
||||
community</a>.<br /> No account required.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="padded-content">
|
||||
|
||||
<div class="inner-content markdown">
|
||||
{{ render_markdown_path('corporate/try-zulip-part1.md') }}
|
||||
</div>
|
||||
<div class="bottom-register-buttons">
|
||||
<a href="https://chat.zulip.org/" class="try-now-button">
|
||||
{{ _('Try Zulip now') }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="inner-content markdown">
|
||||
{{ render_markdown_path('corporate/try-zulip-part2.md') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
@@ -23,7 +23,7 @@
|
||||
<li class="top-menu-submenu-list-item"><a
|
||||
href="https://blog.zulip.com/2024/11/04/choosing-a-team-chat-app/">Choosing a team chat app</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/why-zulip/">Why Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/try-zulip/">Try Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="{{ 'https://chat.zulip.org' if not development_environment}}/?show_try_zulip_modal">Try Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/help/moving-to-zulip">Moving to Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/self-hosting/">Self-hosting</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/security/">Security</a></li>
|
||||
@@ -191,7 +191,7 @@
|
||||
<ul class="top-menu-submenu-list">
|
||||
<li class="top-menu-submenu-list-item"><a href="https://blog.zulip.com/2024/11/04/choosing-a-team-chat-app/">Choosing a team chat app</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/why-zulip/">Why Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/try-zulip/">Try Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="{{ 'https://chat.zulip.org' if not development_environment}}/?show_try_zulip_modal">Try Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/help/moving-to-zulip">Moving to Zulip</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/self-hosting/">Self-hosting</a></li>
|
||||
<li class="top-menu-submenu-list-item"><a href="https://zulip.com/security/">Security</a></li>
|
||||
|
@@ -2851,40 +2851,6 @@ button {
|
||||
}
|
||||
}
|
||||
|
||||
.try-zulip-now-page {
|
||||
.bottom-register-buttons {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.try-now-button {
|
||||
padding: 11px 25px;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
color: hsl(0deg 0% 100%);
|
||||
background: linear-gradient(
|
||||
145deg,
|
||||
hsl(191deg 56% 55%),
|
||||
hsl(169deg 65% 42%)
|
||||
);
|
||||
box-shadow: 0 3px 10px hsl(0deg 0% 0% / 20%);
|
||||
border: 0;
|
||||
width: 200px;
|
||||
height: 50px;
|
||||
outline: none;
|
||||
border-radius: 4px;
|
||||
|
||||
&:visited {
|
||||
color: hsl(0deg 0% 100%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: hsl(169deg 65% 42%);
|
||||
box-shadow: 0 3px 10px hsl(0deg 0% 0% / 30%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.apps .apps-page-link {
|
||||
text-decoration: underline;
|
||||
color: hsl(0deg 0% 100%);
|
||||
|
@@ -136,6 +136,7 @@ LANDING_PAGE_REDIRECTS = [
|
||||
URLRedirect("/developer-community/", "/development-community"),
|
||||
URLRedirect("/for/companies/", "/for/business"),
|
||||
URLRedirect("/for/working-groups-and-communities/", "/for/communities"),
|
||||
URLRedirect("/try-zulip/", "https://chat.zulip.org/?show_try_zulip_modal"),
|
||||
]
|
||||
|
||||
DOCUMENTATION_REDIRECTS = (
|
||||
|
@@ -264,7 +264,6 @@ class DocPageTest(ZulipTestCase):
|
||||
self._test("/security/", ["TLS encryption"])
|
||||
self._test("/use-cases/", ["Use cases and customer stories"])
|
||||
self._test("/why-zulip/", ["Why Zulip?"])
|
||||
self._test("/try-zulip/", ["check out the Zulip app"])
|
||||
# /for/... pages
|
||||
self._test("/for/open-source/", ["for open source projects"])
|
||||
self._test("/for/events/", ["for conferences and events"])
|
||||
|
@@ -198,6 +198,7 @@ class RedirectURLTest(ZulipTestCase):
|
||||
|
||||
def test_landing_page_redirects(self) -> None:
|
||||
for redirect in LANDING_PAGE_REDIRECTS:
|
||||
if redirect.old_url != "/try-zulip/":
|
||||
result = self.client_get(redirect.old_url, follow=True)
|
||||
self.assert_in_success_response(["Download"], result)
|
||||
|
||||
|
Reference in New Issue
Block a user