Add press page

This commit is contained in:
hiro 2018-12-12 23:30:23 +01:00
parent 47c6b56bcc
commit cee43409b9
24 changed files with 156 additions and 181 deletions

View File

@ -389,6 +389,7 @@ a.side-nav.active {
//
.text-tpo {
font-family: $font-family-sans;
font-size: 18px;
font-weight: 400;
line-height: 22px;

View File

@ -7296,6 +7296,7 @@ a.side-nav.active {
padding: 20px !important; }
.text-tpo {
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 18px;
font-weight: 400;
line-height: 22px; }

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,13 @@
_template: layout.html
---
section: the tor project
---
html: press.html
---
color: primary
---
title: press
---
body:
Email inquiries to press@torproject.org.

View File

@ -0,0 +1,13 @@
_template: layout.html
---
section: the tor project
---
html: press.html
---
color: primary
---
title: press
---
body:
Email inquiries to press@torproject.org.

View File

@ -0,0 +1,13 @@
_template: layout.html
---
section: the tor project
---
html: press.html
---
color: primary
---
title: press
---
body:
Email inquiries to press@torproject.org.

13
content/press/contents.lr Normal file
View File

@ -0,0 +1,13 @@
_template: layout.html
---
section: the tor project
---
html: press.html
---
color: primary
---
title: press
---
body:
Email inquiries to press@torproject.org.

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-12 21:30+CET\n"
"POT-Creation-Date: 2018-12-12 23:23+CET\n"
"PO-Revision-Date: 2018-09-19 22:39+CET\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
@ -68,9 +68,8 @@ msgstr "Search"
msgid "Topics"
msgstr ""
#: templates/macros/topic.html:18
msgid "Permalink"
msgstr "Permalink"
#~ msgid "Permalink"
#~ msgstr "Permalink"
#~ msgid "How can we help?"
#~ msgstr "How can we help?"

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-12 21:30+CET\n"
"POT-Creation-Date: 2018-12-12 23:23+CET\n"
"PO-Revision-Date: 2018-09-24 16:29+0200\n"
"Last-Translator: emmapeel <emma.peel@riseup.net>\n"
"Language-Team: none\n"
@ -69,9 +69,8 @@ msgstr "Buscar"
msgid "Topics"
msgstr "Temas"
#: templates/macros/topic.html:18
msgid "Permalink"
msgstr "Permalink"
#~ msgid "Permalink"
#~ msgstr "Permalink"
#~ msgid "Tor Project | Tor Browser Manual"
#~ msgstr "Tor Project | Manual de usuario del Navegador"

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-12 21:30+CET\n"
"POT-Creation-Date: 2018-12-12 23:23+CET\n"
"PO-Revision-Date: 2018-09-21 17:05+0200\n"
"Last-Translator: emmapeel <emma.peel@riseup.net>\n"
"Language-Team: none\n"
@ -68,9 +68,8 @@ msgstr "Chercher"
msgid "Topics"
msgstr "Sujets"
#: templates/macros/topic.html:18
msgid "Permalink"
msgstr "Permalien"
#~ msgid "Permalink"
#~ msgstr "Permalien"
#~ msgid "Configuring Tor Browser for security and usability"
#~ msgstr ""

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-12-12 22:17+CET\n"
"POT-Creation-Date: 2018-12-12 23:30+CET\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: en <LL@li.org>\n"
@ -60,7 +60,3 @@ msgstr ""
#: templates/sidenav.html:4 templates/sidenav.html:35
msgid "Topics"
msgstr ""
#: templates/macros/topic.html:18
msgid "Permalink"
msgstr ""

View File

@ -1,6 +0,0 @@
{% extends "layout.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ render_blog_post(this) }}
{% endblock %}

View File

@ -1,11 +0,0 @@
{% extends "layout.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% from "macros/pagination.html" import render_pagination %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{% for child in this.pagination.items %}
{{ render_blog_post(child, from_index=true) }}
{% endfor %}
{{ render_pagination(this.pagination) }}
{% endblock %}

View File

@ -1,35 +0,0 @@
<div class="container py-3">
<div class="row border-bottom border-light"><p></p></div>
</div>
</div><div class="container py-3">
<h3 class="text-primary display-5">Previous Openings</h3>
</div>
<div class="container py-3">
<div class="row">
<div class="col-5">
<ul class="jobs-ul">
<li>Executive Director</li>
<li>User Research Coordinator</li>
<li>Community Liaison</li>
<li>Core developer</li>
<li>Support assistants and translators</li>
<li>Browser hacker</li>
<li>Pluggable transport developer</li>
</ul>
</div>
<div class="col-5">
<ul class="jobs-ul">
<li>Firefox/Thunderbird Extension Developer</li>
<li>Director of Communications</li>
<li>Executive Administrator</li>
<li>Browser Developers for Mobile (Android)</li>
<li>Chief Financial and Grants Officer</li>
<li>Android OS Developer</li>
<li>Fundraising Director</li>
</ul>
</div>
</div>
<div class="row">
<p>Think you could help us in a position thats not listed? We also rely on a vast community of volunteer contributors and many have become paid staff. <a href="">We invite you to join us on IRC to find how you can get involved.</a></p>
</div>
</div>

View File

@ -1,20 +0,0 @@
{% macro render_blog_post(post, from_index=false) %}
<div class="blog-post">
{% if from_index %}
<h2><a href="{{ post|url }}">{{ post.title }}</a></h2>
{% else %}
<h2>{{ post.title }}</h2>
{% endif %}
<p class="meta">
written by
{% if post.twitter_handle %}
<a href="https://twitter.com/{{ post.twitter_handle
}}">{{ post.author or post.twitter_handle }}</a>
{% else %}
{{ post.author }}
{% endif %}
on {{ post.pub_date }}
</p>
{{ post.body }}
</div>
{% endmacro %}

View File

@ -1,15 +0,0 @@
{% macro render_pagination(pagination) %}
<div class="pagination">
{% if pagination.has_prev %}
<a href="{{ pagination.prev|url }}">&laquo; Previous</a>
{% else %}
<span class="disabled">&laquo; Previous</span>
{% endif %}
| {{ pagination.page }} |
{% if pagination.has_next %}
<a href="{{ pagination.next|url }}">Next &raquo;</a>
{% else %}
<span class="disabled">Next &raquo;</span>
{% endif %}
</div>
{% endmacro %}

View File

@ -1,23 +0,0 @@
{% macro render_topic(item, alternative) %}
{% set b_alt = 'topics+'+alternative %}
{% set t = bag(b_alt, item._id) %}
<div class="item">
<h3 class="text-primary">
<a href="{{ t.path }}" role="button"></a>
</h3>
<div class="anchor-spacer">
<div>
<h5 class="text-muted text-uppercase mb-3 p-0 {{ bag('alternatives', alternative, 'direction') }}">
<a href="{{ item|url }}">{{ item.title }}</a>
</h5>
</div>
<div id="{{ item._id }}" class="anchor-spacer" role="tabpanel" data-parent="#{{ t_id }}">
{{ item.body|safe }}
<div>
<a href="{{ item|url }}">{{ _("Permalink") }}</a>
</div>
</div>
</div>
</div>
{% endmacro %}

91
templates/press.html Normal file
View File

@ -0,0 +1,91 @@
<div class="container py-3">
<div class="row">
<div class="col-6">
<h3 class="text-primary display-5">Get support</h3>
<div class="row pl-3 text-tpo">
<p>Visit our support portal</p>
</div>
<div class="row pl-3 text-tpo">
<p>Ask us on #tor</p>
</div>
<div class="row pl-3 text-tpo">
<p>Write to a mailing pst</p>
</div>
</div>
<div class="col-6">
<h3 class="text-primary display-5">Brand Assets</h3>
<div class="row pl-3 text-tpo">
<p>The Tor Project</p>
</div>
<div class="row pl-3 text-tpo">
<p>Tor Browser</p>
</div>
<div class="row pl-3 text-tpo">
<p>Onion Services</p>
</div>
</div>
</div>
</div>
<div class="container py-3">
<div class="row p-3">
<h3 class="text-primary display-5">Press Releases</h3>
</div>
</div>
<div class="container col-10">
<div class="row">
<div class="card m-3" style="width: 365px; height: 485px;">
<img class="card-img-top" src="{{ '/static/images/index.svg'|asseturl }}" alt="Card image cap">
<div class="card-body">
<p class="text-primary description description-small"><u>New Release: Tor Browser 8.0a10</u></p>
<p class="card-text description description-small">Tor Browser 8.0a10 is now available from the Tor Browser Project page and also from our distribution directory. It is the second alpha release based on Firefox ESR 60 and contains a number of improvements and bug fixes.</p>
</div>
</div>
<div class="card m-3" style="width: 365px; height: 485px;">
<img class="card-img-top" src="{{ '/static/images/index.svg'|asseturl }}" alt="Card image cap">
<div class="card-body">
<p class="text-primary description description-small"><u>Help Us Translate Our New Support Portal</u></p>
<p class="card-text description description-small">Over 2 million people around the world rely on Tor for private access to the open web everyday, and we want to make sure that Tor and our resources are localized for as many of our users as possible.</p>
</div>
</div>
<div class="card m-3" style="width: 365px; height: 485px;">
<img class="card-img-top" src="{{ '/static/images/index.svg'|asseturl }}" alt="Card image cap">
<div class="card-body">
<p class="text-primary description description-small"><u>New Release: Tor 0.3.4.7-rc</u></p>
<p class="card-text description description-small">There's a new release candidate available for download. If you build Tor from source, you can download the source code for Tor 0.3.4.6-rc from the download page on the website.</p>
</div>
</div>
</div>
</div>
<div class="container py-3">
<div class="row p-3">
<h3 class="text-primary display-5">Coverage</h3>
</div>
</div>
<div class="container py-3">
<table class="table">
<thead>
<tr>
<th scope="col">Date</th>
<th scope="col">Pubblication</th>
<th scope="col">Topic</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">2018 Feb 3</th>
<td>Wired</td>
<td><a href="">Tor could be the answer to safer connected sex</a></td>
</tr>
<tr>
<th scope="row">2018 Jan 25</th>
<td>International Business Times</td>
<td><a href="">Tor Browser 7.5 Update Released: What's New?</a></td>
</tr>
<tr>
<th scope="row">2018 Jan 24</th>
<td>Tom's Hardware</td>
<td><a href="">Tor Browser 7.5 Launches With Support For Next-Gen Onion Services</a></td>
</tr>
</tbody>
</table>
</div>

View File

@ -1,35 +0,0 @@
<div class="container py-3">
<div class="row border-bottom border-light"><p></p></div>
</div>
</div><div class="container py-3">
<h3 class="text-primary display-5">Previous Openings</h3>
</div>
<div class="container py-3">
<div class="row">
<div class="col-5">
<ul class="jobs-ul">
<li>Executive Director</li>
<li>User Research Coordinator</li>
<li>Community Liaison</li>
<li>Core developer</li>
<li>Support assistants and translators</li>
<li>Browser hacker</li>
<li>Pluggable transport developer</li>
</ul>
</div>
<div class="col-5">
<ul class="jobs-ul">
<li>Firefox/Thunderbird Extension Developer</li>
<li>Director of Communications</li>
<li>Executive Administrator</li>
<li>Browser Developers for Mobile (Android)</li>
<li>Chief Financial and Grants Officer</li>
<li>Android OS Developer</li>
<li>Fundraising Director</li>
</ul>
</div>
</div>
<div class="row">
<p>Think you could help us in a position thats not listed? We also rely on a vast community of volunteer contributors and many have become paid staff. <a href="">We invite you to join us on IRC to find how you can get involved.</a></p>
</div>
</div>

View File

@ -1,6 +0,0 @@
{% from "macros/topic.html" import render_topic %}
{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
{{ render_topic(this, this.alt) }}
{% endblock %}

View File

@ -1,12 +0,0 @@
{% from "macros/topic.html" import render_topic %}
<div id="#topics">
{% for item in this.children %}
<h5 class="text-muted text-uppercase mb-3 p-0 {{ bag('alternatives', alternative, 'direction') }}">
<a href="{{ item|url }}">{{ item.title }}</a>
</h5>
<p class="text-muted mb-3 p-0 {{ bag('alternatives', alternative, 'direction') }}">
{{ item.description }}
</p>
{% endfor %}
</div>