[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [community/staging] Update outreach section: remove tor speakers bureau card and move to call to action
commit 29751b638defbc453357da12abcefb58d3898908
Author: Pili Guerra <pili@xxxxxxxxxxxxxx>
Date: Thu Jun 13 19:01:12 2019 +0200
Update outreach section: remove tor speakers bureau card and move to call to action
---
content/outreach/speakers/contents.lr | 20 --------------------
templates/outreach.html | 22 +++++++++++++++++-----
2 files changed, 17 insertions(+), 25 deletions(-)
diff --git a/content/outreach/speakers/contents.lr b/content/outreach/speakers/contents.lr
deleted file mode 100644
index 0092b41..0000000
--- a/content/outreach/speakers/contents.lr
+++ /dev/null
@@ -1,20 +0,0 @@
-section: outreach
----
-section_id: outreach
----
-color: primary
----
-_template: layout.html
----
-title: Tor Speakers Bureau
----
-subtitle: We have a dedicated group of Tor core contributors who are ready to speak at your next event. You can request a speaker by contacting speaking@xxxxxxxxxxxxxx with your preferred topic, language requirement, date, and other details.
----
-key: 3
----
-html: two-columns-page.html
----
-body:
-
-## Tor Speakers Bureau
-We have a dedicated group of Tor core contributors who are ready to speak at your next event. You can request a speaker by contacting speaking@xxxxxxxxxxxxxx with your preferred topic, language requirement, date, and other details.
\ No newline at end of file
diff --git a/templates/outreach.html b/templates/outreach.html
index eb45835..18c697a 100644
--- a/templates/outreach.html
+++ b/templates/outreach.html
@@ -9,18 +9,30 @@
</div>
<div class="row">
{% for child in this.children|sort(attribute='key') %}
- <div class="col-sm-4 col-md-4 col-sm-12 col-xl-4 py-4">
- <div class="card h-100 border-0">
+ <div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-3">
+ <div class="card h-100">
<div class="card-body">
- <h4 class="card-title text-primary">{{ child.title }}</h4>
- <p class="card-text">{{ child.subtitle }}</p>
- <a href="{{ child.path|url }}">{{ child.cta }} <i class="fas fa-arrow-right"></i></a>
+ <div class="card-body">
+ <h4 class="card-title text-primary">
+ <a href="{{ child.path|url(alt=this.alt) }}">{{ _(child.title) }}</a>
+ </h4>
+ <p class="card-text">{{ _(child.subtitle) }}</p>
+ </div>
</div>
</div>
</div>
{% endfor %}
</div>
<div class="row py-5 text-center mx-auto">
+ <h2 class="display-4 text-primary text-center mx-auto my-3">{{ _('Tor Speakers Bureau') }}</h2>
+ <p class="text-center">
+ {{ _('We have a dedicated group of Tor core contributors who are ready to speak at your next event. You can request a speaker by contacting speaking@xxxxxxxxxxxxxx with your preferred topic, language requirement, date, and other details.') }}
+ </p>
+ <a class="btn btn-lg btn-outline-primary mx-auto my-3" href="mailto:speaking@xxxxxxxxxxxxxx">
+ {{ _('Request a Speaker') }}<i class="ml-3 pt-2 fas fa-arrow-right"></i>
+ </a>
+ </div>
+ <div class="row py-5 text-center mx-auto">
<h2 class="display-4 text-primary text-center mx-auto">{{ _('Upcoming Tor Events') }}</h2>
</div>
</div>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits