-
Notifications
You must be signed in to change notification settings - Fork 11
/
research.html
69 lines (66 loc) · 2.89 KB
/
research.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
layout: page
title: Our Research
permalink: /research/
---
<section class="block block__hero block__hero--standard">
<div class="container">
{% include top-row-logo-and-menu.html %}
{% include second-row-nav.html title=page.title %}
</div>
</section>
<section class="block block__research">
<div class="container">
{% assign flip = false %}
{% for project in site.research %}
<div class="research__item {% if flip == true %}research__item--flipped{% endif %}">
{% if flip == true %}
<div class="research__item-image">
<img src="{{site.data.images.directory | relative_url }}/{{project.featured_image}}" alt="Image of {{project.title}}">
</div>
<div class="research__item-details">
<div>
<div class="section-heading section-heading--large">
<h2>{{ project.title }}</h2>
<span></span>
</div>
<p>{{ project.excerpt }}</p>
</div>
<a class="button" href="{{ project.url }}">
Read More
<span class="dot dot--top-left"></span>
<span class="dot dot--top-right"></span>
<span class="dot dot--bottom-left"></span>
<span class="dot dot--bottom-right"></span>
</a>
</div>
{% else %}
<div class="research__item-details">
<div>
<div class="section-heading section-heading--large">
<h2>{{ project.title }}</h2>
<span></span>
</div>
<p>{{ project.excerpt }}</p>
</div>
<a class="button" href="{{ project.url }}">
Read More
<span class="dot dot--top-left"></span>
<span class="dot dot--top-right"></span>
<span class="dot dot--bottom-left"></span>
<span class="dot dot--bottom-right"></span>
</a>
</div>
<div class="research__item-image">
<img src="{{site.data.images.directory | relative_url }}/{{project.featured_image}}" alt="Image of {{project.title}}">
</div>
{% endif %}
</div>
{% if flip == true %}
{% assign flip = false %}
{% else %}
{% assign flip = true %}
{% endif %}
{% endfor %}
</div>
</section>