forked from ampproject/amp.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesign-principles.html
47 lines (42 loc) · 1.23 KB
/
design-principles.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{% extends "/views/base.html" %}
{% set navmarkup %}
{% include "/views/partials/breadcrumb-nav.html" %}
{% endset %}
{% block main %}
{{ navmarkup|safe }}
<div class="container xl">
<div class="title">
<h1>{{_(doc.title)}}</h1>
<p class="subtitle">{{_(doc.subtitle)}}</p>
</div>
<div class="principles">
<div class="principles-col">
{% for principle in doc.principles %}
<div class="principle">
<div class="image">
<amp-img
noloading
width=150
height=150
layout=responsive
src="/static/img/about/design-principles/{{principle.icon}}">
</amp-img>
</div>
<div class="text">
<h3>{{_(principle.title)}}</h3>
<p>{{_(principle.description)|markdown|safe}}</p>
</div>
</div>
{% if loop.index0 == 3 %}
</div>
<div class="principles-col">
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% with cta = doc.cta %}
{% include "/views/partials/footer-cta.html" %}
{% endwith %}
{% include "/views/partials/footer.html" %}
{% endblock %}