-
Notifications
You must be signed in to change notification settings - Fork 0
/
portfolio.html
executable file
·49 lines (45 loc) · 1.81 KB
/
portfolio.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
---
layout: default
title: Portfolio
permalink: /portfolio/
---
<div class="portfolio container">
<h1 class="header">Everything I've Made</h1>
<div class="controls">
<button class="filter waves-effect waves-light btn red darken-4" data-filter="all">All</button>
<button class="filter waves-effect waves-light btn red darken-4" data-filter=".website">
<i class="mdi-hardware-laptop left"></i>Websites</button>
<button class="filter waves-effect waves-light btn red darken-4" data-filter=".video">
<i class="mdi-av-videocam left"></i>Videos</button>
</div>
<ul class="portfolio-list row">
{% for item in site.portfolio %}
<li class="col s12 m6 l4 mix {{ item.categories }}">
<div class="card">
{% if item.categories == "website" %}
<div class="browser valign-wrapper">
<div class="left">
<div class="red-btn left"></div>
<div class="yellow-btn left"></div>
<div class="green-btn left"></div>
</div>
</div>
{% endif %}
<div class="card-image">
{% if item.image %}
<img class="portfolio-img" src="{{ site.url }}{{ item.image }}" alt="{{ item.title }}">
{% endif %} {% if item.video %}
<div class="video-container">
<iframe width="355" height="191" src="//www.youtube.com/embed/{{ item.video }}" allowfullscreen></iframe>
</div>
{% endif %}
</div>
<div class="card-action">
<a class="card-title black-text">{{ item.title }}</a><br>
<a href="{{ item.finalproject }}">View {% if item.image %}Website{% endif %}{% if item.video %}Video{% endif %}</a>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>