landing: Add template containing comparison checkmarks.

Can be added to the landing pages via:
+    {% include 'zerver/compare.html' %}
+

I'm avoiding adding that include into the landing pages until we have
time to do a bit of tweaking of the styling to integrate better into
/hello/ (primarily color-wise).

Most of the work for this was done by Brock, huge thanks to him!
This commit is contained in:
Tim Abbott 2017-05-13 14:25:10 -07:00
parent 51978d0f89
commit d6059d0d9a
3 changed files with 188 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -588,6 +588,89 @@ a:not(.no-style):hover:before {
vertical-align: top; vertical-align: top;
} }
/* -- compare css -- */
.compare {
background-color: #2d3035;
color: #fff;
}
.compare .text-header .text-content h1 {
margin-top: 0px;
}
.compare table {
width: 100%;
text-align: left;
border-collapse: collapse;
}
.compare table thead th.uniform {
width: 20%;
}
.compare table td:not(:first-of-type),
.compare table th:not(:first-of-type) {
text-align: center;
}
.compare thead {
border-bottom: 1px solid #73797d;
}
.compare thead th {
font-weight: 600;
padding: 15px 0px;
}
.compare thead th.normal {
font-weight: normal;
}
.compare tbody tr {
border-bottom: 1px solid #393c40;
}
.compare tbody tr td {
padding: 10px 0px;
}
.compare tbody tr td.no {
text-align: center;
}
.compare tbody tr td.yes::before {
content: " ";
display: inline-block;
width: 27px;
height: 27px;
background-image: url(/static/images/landing-page/checkmark.png);
background-size: 100% auto;
}
.compare tbody tr td.no::before {
content: "×";
position: relative;
display: inline-block;
top: 3px;
font-size: 2.5rem;
font-weight: 600;
line-height: 0.9;
}
.compare tbody tr td a {
font-size: 0.9rem;
font-weight: 500;
text-transform: uppercase;
}
.compare p {
font-weight: 300;
}
.screen .line { .screen .line {
width: 100%; width: 100%;
height: 6px; height: 6px;

View File

@ -0,0 +1,105 @@
<div class="compare">
<div class="padded-content">
<div class="text-header">
<div class="text-content">
<h1>Compare</h1>
</div>
</div>
<table>
<thead>
<tr>
<th>Feature</th>
<th class="uniform">Zulip</th>
<th class="normal uniform">Slack</th>
<th class="normal uniform">Mattermost</th>
<th class="normal uniform">Hipchat</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Apps for every platform</td>
<td class="yes"></td>
<td class="yes"></td>
<td class="yes"></td>
<td class="yes"></td>
</tr>
<tr>
<td>Integrates with everything</td>
<td class="yes"></td>
<td class="yes"></td>
<td class="yes"></td>
<td class="yes"></td>
</tr>
<tr>
<td>Modern UI elements like emoji reactions</td>
<td class="yes"></td>
<td class="yes"></td>
<td class="yes"></td>
<td class="no"></td>
</tr>
<tr>
<td>Convenient SaaS offering</td>
<td class="yes"></td>
<td class="yes"></td>
<td class="no"></td>
<td class="yes"></td>
</tr>
<tr>
<td>Free and open source software</td>
<td class="yes"></td>
<td class="no"></td>
<td>See below</td>
<td class="no"></td>
</tr>
<tr>
<td>Markdown formatting</td>
<td class="yes"></td>
<td class="no"></td>
<td class="yes"></td>
<td class="no"></td>
</tr>
<tr>
<td>Emoji reactions</td>
<td class="yes"></td>
<td class="yes"></td>
<td class="yes"></td>
<td class="no"></td>
</tr>
<tr>
<td>Fast, usable search</td>
<td class="yes"></td>
<td class="no"></td>
<td class="no"></td>
<td class="no"></td>
</tr>
<tr>
<td>Topic-based threading</td>
<td class="yes"></td>
<td class="no"></td>
<td class="no"></td>
<td class="no"></td>
</tr>
<tr>
<td>Actually increases productivity</td>
<td class="yes"></td>
<td class="no"></td>
<td class="no"></td>
<td class="no"></td>
</tr>
</tbody>
</table>
<p>
On Mattermost's licensing: The components of Mattermost
are, technically, released under open source licenses.
However, Mattermost was founded by an ex-Microsoft team,
is developed primarily by paid employees, and their
licensing and trademark policies do not allow third
parties to distribute patched Mattermost servers without
renaming the project in their fork. In contrast, Zulip is
a true open source project with a wide development
community and a clean Apache 2.0 license.
</p>
</div>
</div>