{% import "partials/macros.html" as ui %} {# Asking for support, in two shapes. web/support.py says when the card shows. The card sits on Finds after an alert has reached someone; the block is in Settings, a page people open themselves. Neither is ever a pop-up. #} {# Ko-fi's own cup, from the button Ko-fi offers for READMEs, drawn here so nothing loads from Ko-fi. #} {% macro kofi_cup(size=24) -%} {%- endmacro %} {# The card on Finds, in one of three looks (heading, words, tint) so it doesn't turn into wallpaper. Not teal, which the watch band above already is. The logo rather than Mags: the watch band already has him. The thank-you texts swap in after a click. #} {% macro card(look) -%} {% set looks = [ ("", "Did it find you something good?", "I'm Jasper, a student, and I build vinted-bot in my spare time. It's free and stays free. A coffee keeps me going, and a star on GitHub helps other people find it."), ("sun", "Glad it's finding things", "vinted-bot is free, with no ads, no account and no tracking. If it helped, a coffee keeps it going, and a star on GitHub helps other people find it."), ("lilac", "Found while it's still there", "Good listings go fast, and this tells you about them while you can still buy them. I'm a student keeping it free, so a coffee helps, and so does a star."), ] %} {% set tint, heading, pitch = looks[look % looks|length] %} {% set links = support_links("support-card") %} {%- endmacro %} {# The block at the top of Settings' last part. One-off gifts, which people give more readily than a monthly one. Ko-fi has no link that fills in an amount, so it says the amount is chosen there. The free ways to help sit beside it, each offered once on the page. #} {% macro block(place) -%} {% set links = support_links(place) %} {% set tiers = [ ("Any amount", "You choose", "wave", "sun"), ("Keeps it working", "€5 once", "parcel", "lilac"), ("Keeps it getting better", "€10 once", "cheer", "mint"), ] %}
{{ ui.mags("wave", "support__mags") }}

Help keep it free

I'm a student and build vinted-bot in my free time. It has no ads and no tracking, and it stays free. If it got you a good find, you can buy me a coffee.

These open Ko-fi, where you pick the amount.

No money needed: a star on GitHub, or the link sent to a friend, helps others find it. {{ ui.icon("star", "i-sm") }}Star on GitHub
{%- endmacro %}