chore: coffee banner
This commit is contained in:
parent
4893256340
commit
58f3c2ac54
5 changed files with 14 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -31,12 +31,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.coffee,
|
||||||
&.error,
|
&.error,
|
||||||
&.github,
|
&.github,
|
||||||
&.npm,
|
&.npm,
|
||||||
&.old-post,
|
&.old-post,
|
||||||
&.rss,
|
&.rss,
|
||||||
&.warning {
|
&.warning {
|
||||||
|
&.coffee {
|
||||||
|
--banner-accent-color: var(--brand-buy-me-a-coffee);
|
||||||
|
}
|
||||||
&.error {
|
&.error {
|
||||||
--banner-accent-color: var(--error);
|
--banner-accent-color: var(--error);
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
--brand-npm: #cc3534;
|
--brand-npm: #cc3534;
|
||||||
--brand-mastodon: #6364ff;
|
--brand-mastodon: #6364ff;
|
||||||
--brand-listenbrainz: #e97941;
|
--brand-listenbrainz: #e97941;
|
||||||
--brand-buy-me-a-coffee: #40dca5;
|
--brand-buy-me-a-coffee: #ff5f5f;
|
||||||
--brand-rss: #f26522;
|
--brand-rss: #f26522;
|
||||||
|
|
||||||
--moon: #6a5acd;
|
--moon: #6a5acd;
|
||||||
|
|
7
src/includes/partials/blocks/banners/coffee.liquid
Normal file
7
src/includes/partials/blocks/banners/coffee.liquid
Normal 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>
|
|
@ -49,4 +49,5 @@ schema: blog
|
||||||
{% render "partials/blocks/associated-media.liquid", movie:post.movies %}
|
{% render "partials/blocks/associated-media.liquid", movie:post.movies %}
|
||||||
{% render "partials/blocks/associated-media.liquid", shows:post.shows %}
|
{% render "partials/blocks/associated-media.liquid", shows:post.shows %}
|
||||||
</div>
|
</div>
|
||||||
|
{% render "partials/blocks/banners/coffee.liquid" %}
|
||||||
</article>
|
</article>
|
Reference in a new issue