Web/main/_includes/projects.html

36 lines
1.4 KiB
HTML
Raw Normal View History

<div class="list-display rounded">
2023-02-12 12:18:45 +01:00
<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>
2023-05-16 14:02:55 +02:00
<span class="text-muted">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.</span>
</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="">
<h4 class="card-title">{{ item.name }}</h4>
<p class="card-text">{{ item.desc }}</p>
{% if item.status %}
<span class="text-muted project-status">{{ item.status }}</span>
{% endif %}
{%- for link in item.links -%}
2021-11-08 18:28:32 +01:00
<a href="{{ link.link }}" class="card-link btn rounded-0 btn-outline-dark">{{ link.name }}</a>
{%- endfor -%}
</div>
</div>
{% endfor %}
</div>
2021-07-22 07:54:31 +02:00
<script>
if (dark) {
2021-11-08 18:28:32 +01:00
$("#project-list").find(".btn-outline-dark").each(function () {
2021-07-22 07:54:31 +02:00
let e = $(this);
2021-11-08 18:28:32 +01:00
e.removeClass("btn-outline-dark");
2021-07-22 07:54:31 +02:00
e.addClass("btn-outline-light");
});
}
</script>
2023-02-12 12:18:45 +01:00
</div>