34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<div class="list-display rounded">
|
|
<h1 id="support">💸 Support Me</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. 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. ❤️
|
|
</p>
|
|
<div id="support-list">
|
|
{% for item in site.data.support %}
|
|
{% if item.hide %}
|
|
{% continue %}
|
|
{% endif %}
|
|
<div class="card bg-light support-entry rounded-0">
|
|
<div class="card-body">
|
|
<h4 class="card-title">
|
|
{% if item.link %}
|
|
<a class="title-button" href="{{ item.link }}">{{ item.name }}</a>
|
|
{% else %}
|
|
{{ item.name }}
|
|
{% endif %}
|
|
</h4>
|
|
<p class="card-text">{{ item.text }}</p>
|
|
</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>
|