Web/main/_includes/support.html
Ell 490844c5cf
All checks were successful
Web/pipeline/head This commit looks good
added a support section to the website
2022-03-05 14:24:45 +01:00

31 lines
1.3 KiB
HTML

<span class="anchor" id="support"></span>
<div class="list-display rounded">
<h1>💸 Support</h1>
<p>
Most of the projects you know me from, I work on in my free time, but by supporting me, you help out with all of my projects equally. As I'm a student, a bit of extra cash is always helpful for me, and it feels especially good when it comes from something that I enjoy doing a lot.
<br><span class="text-muted">Please only support me if you have money to spare. Always take care of your own finances first.</span>
</p>
<div id="support-list">
{% for item in site.data.support %}
<div class="card bg-light support-entry rounded-0">
<div class="card-body">
<h4 class="card-title">{{ item.name }}</h4>
<p class="card-text">{{ item.text }}</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) {
$("#support-list").find(".btn-outline-dark").each(function () {
let e = $(this);
e.removeClass("btn-outline-dark");
e.addClass("btn-outline-light");
});
}
</script>
</div>