Web/_includes/projects.html

37 lines
1.5 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>
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 %}
2024-06-10 21:17:19 +02:00
<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>
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>