forked from thedevslot/WhatATheme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject-card.html
More file actions
17 lines (17 loc) · 837 Bytes
/
Copy pathproject-card.html
File metadata and controls
17 lines (17 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="columns is-centered is-multiline is-mobile">
{% for project in site.data.projects %}
<div class="column has-text-centered is-paddingless is-marginless is-one-third-widescreen is-one-third-desktop is-one-fifth-fullhd is-one-third-tablet is-two-fifths-mobile is-three-quarters-touch"
id="project-card">
<a href="{{project.link}}" target="_blank">
<div class="has-background-black card">
<figure class="image is-3by1" style="background-image: url({{project.image}});">
</figure>
<div class="card-content">
<h1 class="title has-text-white is-size-4">{{ project.name }}</h1>
<p class="has-text-white has-text-weight-light content">{{ project.description | truncate: 80}}</p>
</div>
</div>
</a>
</div>
{% endfor %}
</div>