Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Docs to "Learn Matrix" and add it to the Try Matrix page #2555

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/docs/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Documentation"
title = "Learn Matrix"
render = false
extra.updated = "2022-10-18T16:00:00Z"
extra.updated = "2024-11-09T16:00:00Z"
+++
2 changes: 1 addition & 1 deletion navigation.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ header = [
{ title = "Spec", href = "https://spec.matrix.org" },
{ title = "Foundation", section = "foundation" },
{ title = "Blog", href = "/blog/" },
{ title = "Docs", href = "/docs/" },
{ title = "Learn Matrix", href = "/docs/" },
{ title = "Ecosystem", section = "ecosystem" },
{ title = "Donate", href = "/support" },
{ title = "Try Matrix", href = "/try-matrix/", primary = true },
Expand Down
4 changes: 4 additions & 0 deletions static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
# Unbreaking Synapse links, see https://github.com/matrix-org/synapse/issues/15825
/docs/projects/try-matrix-now.html /ecosystem/clients

# Prevent in-browser redirect by doing a server side redirect instead for docs
/docs /docs/chat_basics/matrix-for-im/
/docs/ /docs/chat_basics/matrix-for-im/

#####################################################
## Dynamic redirects (100 limit, first match wins) ##
## Keep these below the static redirects ##
Expand Down
5 changes: 5 additions & 0 deletions static/assets/try-matrix/handbook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 23 additions & 3 deletions templates/try-matrix.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ <h1>{{ page.title }}</h1>

<div class="try_matrix">
<div class="step-background">
<div class="step choose-a-client">
<div class="instructions">
<h3>Learn about Matrix</h3>
<p>
We have a variety of resources to help you learn about Matrix and how it works.
</p>
<p>
If you're new to Matrix, we recommend starting with the <a
href="/docs/chat_basics/matrix-for-im/">Matrix for Instant Messaging Guide</a>.
</p>
<div class="cta-wrapper">
<a href="/docs" class="call-to-action">Learn Matrix</a>
<a href="/docs/communities/getting-started/" class="call-to-action secondary">Build a Community on
Matrix</a>
</div>
</div>
<img src="/assets/try-matrix/handbook.svg" alt="Artist view of an abstract matrix client." />
</div>
</div>
<div class="step-background coloured">
<div class="step choose-a-client">
<div class="instructions">
<h3>Choose a client</h3>
Expand All @@ -23,7 +43,7 @@ <h3>Choose a client</h3>
<img src="/assets/try-matrix/client.svg" alt="Artist view of an abstract matrix client." />
</div>
</div>
<div class="step-background coloured">
<div class="step-background">
<div class="step choose-a-server">
<div class="instructions">
<h3>Choose a server</h3>
Expand All @@ -45,7 +65,7 @@ <h3>Choose a server</h3>
<img src="/assets/try-matrix/server.svg" alt="Artist view of an abstract server." />
</div>
</div>
<div class="step-background">
<div class="step-background coloured">
<div class="step register-and-chat">
<div class="instructions">
<h3>Register and start chatting</h3>
Expand All @@ -63,4 +83,4 @@ <h3>Register and start chatting</h3>
</div>
</div>
</div>
{% endblock content %}
{% endblock content %}