Web/_includes/support.html

35 lines
1.3 KiB
HTML
Raw Normal View History

2022-03-05 14:24:45 +01:00
<div class="list-display rounded">
2023-02-12 12:18:45 +01:00
<h1 id="support">💸 Support Me</h1>
2022-03-05 14:24:45 +01:00
<p>
2024-05-06 11:23:32 +02:00
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. 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. ❤️
2022-03-05 14:24:45 +01:00
</p>
<div id="support-list">
{% for item in site.data.support %}
2024-05-06 11:23:32 +02:00
{% if item.hide %}
{% continue %}
{% endif %}
2023-08-07 14:04:06 +02:00
<div class="card bg-light support-entry rounded-0">
<div class="card-body">
2024-05-06 11:23:32 +02:00
<h4 class="card-title">
{% if item.link %}
<a class="title-button" href="{{ item.link }}">{{ item.name }}</a>
{% else %}
{{ item.name }}
{% endif %}
</h4>
2023-08-07 14:04:06 +02:00
<p class="card-text">{{ item.text }}</p>
</div>
2022-03-05 14:24:45 +01:00
</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>
2022-09-10 21:39:21 +02:00
</div>