Web/_includes/projects.html
Ell 08fc481589
All checks were successful
/ web (push) Successful in 1m1s
move website content to main directory
2024-06-14 17:49:53 +02:00

36 lines
1.5 KiB
HTML

<div class="list-display rounded">
<h1 id="projects">💻 Projects</h1>
<p>
Here is a list of some of my bigger projects as well as some things you might know me from.<br>
For a more exhaustive list of my projects, you can also check out some of the sites in the <a href="#social">Social</a> section.
</p>
<div id="project-list">
{% for item in site.data.projects %}
<div class="card bg-light project rounded-0">
<div class="card-body">
<img class="project-image" src="res/projects/{{ item.icon }}.png" alt="">
{% if item.status %}
<span class="text-muted project-status">{{ item.status }}</span>
{% endif %}
<h4 class="card-title" id="project-{{ item.slug }}">{{ item.name }}</h4>
<p class="card-text">{{ item.desc }}</p>
{%- for link in item.links -%}
<a href="{{ link.link }}" class="card-link btn rounded-0 btn-outline-dark">{{ link.name }}</a>
{%- endfor -%}
</div>
</div>
{% endfor %}
</div>
<script>
if (dark) {
$("#project-list").find(".btn-outline-dark").each(function () {
let e = $(this);
e.removeClass("btn-outline-dark");
e.addClass("btn-outline-light");
});
}
</script>
</div>