Commit 761a931a authored by Antonela's avatar Antonela 🔮
Browse files

Design and build a section for community resources

parent 19783dbb
_model: page
---
section: training
---
section_id: training
---
color: primary
---
_template: layout.html
---
title: Community Resources
---
subtitle: We rely on our community for sharing the impact of our technology to the real frontliners.
cta: Check out the community resources
---
key: 4
---
html: community-resources.html
---
body:
##Community Resources
Do you teach your community about using Tor? These training resources are for you.
{
"all-about-tor" :
{
"name" : "all-about-tor",
"description" : "Full set of slides for Tor Trainings",
"cover": "all-about-tor.jpg",
"link" : "#",
"languages" : "one two three"
},
"todo sobre tor" :
{
"name" : "all-about-tor",
"description" : "Full set of slides for Tor Trainings",
"cover": "all-about-tor.jpg",
"link" : "#",
"languages" : "one two three"
},
"all-about-tor 2" :
{
"name" : "all-about-tor",
"description" : "Full set of slides for Tor Trainings",
"cover": "all-about-tor.jpg",
"link" : "#",
"languages" : "one two three"
},
"todo sobre tor 2" :
{
"name" : "all-about-tor",
"description" : "Full set of slides for Tor Trainings",
"cover": "all-about-tor.jpg",
"link" : "#",
"languages" : "one two three"
},
"all-about-tor 3" :
{
"name" : "all-about-tor",
"description" : "Full set of slides for Tor Trainings",
"cover": "all-about-tor.jpg",
"link" : "#",
"languages" : "one two three"
},
"todo sobre tor 3" :
{
"name" : "all-about-tor",
"description" : "Full set of slides for Tor Trainings",
"cover": "all-about-tor.jpg",
"link" : "#",
"languages" : "one two three"
}
}
......@@ -29,4 +29,12 @@ type = string
[fields.key]
label = Key
type = string
\ No newline at end of file
type = string
[fields.cover]
label = Cover
type = string
[fields.language]
label = Language
type = string
<div class="row pt-5">
{% include 'sidenav.html' %}
<div class="col-sm-12 col-xs-12 ml-sm-auto col-md-9 col-lg-9 {{ bag('alternatives', this.alt, 'order') }}">
{{ this.body }}
<div class="row">
{% for id, item in bag('community-resources').items() %}
<div class="col-md-3 col-sm-12 col-xl-3 my-3">
<div class="card h-100">
<div class="card-header bg-white border-0">
<picture>
<img src="{{ item.cover }}" class="" alt="{{ item.name }}">
</picture>
</div>
<div class="card-body">
<h5 class="card-title human-name">{{ item.name }}</h5>
<p>{{ item.description }}</p>
<a href="{{ item.link }}" title="{{ item.name }}">Label</a>
<p><i>{{ item.languages }}</i></p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment