chore: coffee banner

This commit is contained in:
Cory Dransfeldt 2024-10-20 10:15:51 -07:00
parent 4893256340
commit 58f3c2ac54
No known key found for this signature in database
5 changed files with 14 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "1.6.0",
"version": "1.6.1",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -31,12 +31,16 @@
}
}
&.coffee,
&.error,
&.github,
&.npm,
&.old-post,
&.rss,
&.warning {
&.coffee {
--banner-accent-color: var(--brand-buy-me-a-coffee);
}
&.error {
--banner-accent-color: var(--error);
}

View file

@ -43,7 +43,7 @@
--brand-npm: #cc3534;
--brand-mastodon: #6364ff;
--brand-listenbrainz: #e97941;
--brand-buy-me-a-coffee: #40dca5;
--brand-buy-me-a-coffee: #ff5f5f;
--brand-rss: #f26522;
--moon: #6a5acd;

View file

@ -0,0 +1,7 @@
<div class="banner coffee">
<p>
<a class="coffee plausible-event-name=Buy+Me+a+Coffee+post+footer" href="https://buymeacoffee.com/cory">
{% tablericon "coffee" %} If you found this post helpful, you can buy me a coffee.
</a>
</p>
</div>

View file

@ -49,4 +49,5 @@ schema: blog
{% render "partials/blocks/associated-media.liquid", movie:post.movies %}
{% render "partials/blocks/associated-media.liquid", shows:post.shows %}
</div>
{% render "partials/blocks/banners/coffee.liquid" %}
</article>