Add more modular content for site
This commit is contained in:
76
_subpages/03-portfolio.md
Normal file
76
_subpages/03-portfolio.md
Normal file
@@ -0,0 +1,76 @@
|
||||
---
|
||||
title: Portfolio
|
||||
permalink: /portfolio
|
||||
---
|
||||
|
||||
<section class="projects">
|
||||
|
||||
<ul class="filter-list">
|
||||
|
||||
<li class="filter-item">
|
||||
<button class="active" data-filter-btn>All</button>
|
||||
</li>
|
||||
|
||||
{% assign tags = site.data.portfolio | map: "tag" | uniq %}
|
||||
{% for tag in tags %}
|
||||
<li class="filter-item">
|
||||
<button data-filter-btn>{{ tag }}</button>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="filter-select-box">
|
||||
|
||||
<button class="filter-select" data-select>
|
||||
|
||||
<div class="select-value" data-selecct-value>Select category</div>
|
||||
|
||||
<div class="select-icon">
|
||||
<ion-icon name="chevron-down"></ion-icon>
|
||||
</div>
|
||||
|
||||
</button>
|
||||
|
||||
<ul class="select-list">
|
||||
|
||||
<li class="select-item">
|
||||
<button data-select-item>All</button>
|
||||
</li>
|
||||
|
||||
{% assign tags = site.data.portfolio | map: "tag" | uniq %}
|
||||
{% for tag in tags %}
|
||||
<li class="select-item">
|
||||
<button data-select-item>{{ tag }}</button>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<ul class="project-list">
|
||||
|
||||
{% for project-item in site.data.portfolio %}
|
||||
<li class="project-item active" data-filter-item data-category="{{ project-item.tag | downcase }}">
|
||||
<a href="{{ project-item.link }}">
|
||||
|
||||
<figure class="project-img">
|
||||
<div class="project-item-icon-box">
|
||||
<ion-icon name="eye-outline"></ion-icon>
|
||||
</div>
|
||||
|
||||
<img src="{{ project-item.image }}" alt="{{ project-item.image_alt }}" loading="lazy">
|
||||
</figure>
|
||||
|
||||
<h3 class="project-title">{{ project-item.title }}</h3>
|
||||
|
||||
<p class="project-category">{{ project-item.tag }}</p>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
Reference in New Issue
Block a user