refactor: ♻️ make less use of @apply to reduce resulting css bundle size
This commit is contained in:
parent
7b2e1b14b3
commit
9f7387c54b
12 changed files with 25 additions and 98 deletions
|
@ -12,10 +12,10 @@ pagination:
|
|||
---
|
||||
|
||||
{% for post in blogposts %}
|
||||
<article class="blogpost">
|
||||
<article class="prose prose-slate mx-auto md:prose-lg lg:prose-xl dark:prose-invert prose-headings:font-normal prose-strong:text-inherit prose-li:marker:!text-inherit prose-th:font-bold prose-img:rounded-3xl">
|
||||
<h1>{{ post.data.title }}</h1>
|
||||
<aside class="not-prose space-y-4 text-base">
|
||||
<ul class="postmeta">
|
||||
<ul class="flex flex-wrap items-center gap-4 *:inline-flex *:items-center *:gap-1 *:*:stroke-sky-600">
|
||||
<li>
|
||||
{% lucide "calendar", {"size": "20"} %}
|
||||
<time datetime="{{ post.date | isoDate }}" title="{{ post.date | longDate }}">
|
||||
|
@ -39,7 +39,7 @@ pagination:
|
|||
|
||||
<p>{{ post.data.description }}</p>
|
||||
|
||||
<a href="{{ post.url }}" class="not-prose read-more-button">
|
||||
<a href="{{ post.url }}" class="not-prose button inline-flex items-center gap-2 rounded-xl bg-sky-600 px-5 py-2 text-lg font-bold text-white no-underline transition-colors duration-300 hover:bg-sky-700">
|
||||
Read on {% lucide "chevron-right", {"size":"20"} %}
|
||||
</a>
|
||||
</article>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue