Web/main/_includes/projects.html
Ell d71f909456
All checks were successful
Web/pipeline/head This commit looks good
improved look of dark mode buttons
2021-07-22 07:54:31 +02:00

36 lines
1.4 KiB
HTML

<span class="anchor" id="projects"></span>
<div class="list-display rounded">
<h1>Projects</h1>
<p>
Here is a list of some of my bigger projects as well as some things you might know me from.<br>
<span class="text-muted">For a more exhaustive list of my projects, you can also check out 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 -%}
<a href="{{ link.link }}" class="card-link btn rounded-0 btn-outline-info">{{ link.name }}</a>
{%- endfor -%}
</div>
</div>
{% endfor %}
</div>
<script>
if (dark) {
$("#project-list").find(".btn-outline-info").each(function () {
let e = $(this);
e.removeClass("btn-outline-info");
e.addClass("btn-outline-light");
});
}
</script>
</div>