Multiple feeds and improve rendering

This commit is contained in:
Bad Manners 2024-09-14 21:55:46 -03:00
parent dadbd32e1b
commit d56a8cc95d
No known key found for this signature in database
GPG key ID: 8C88292CCB075609
13 changed files with 273 additions and 184 deletions

View file

@ -84,7 +84,7 @@ const isCurrentRoute = (path: string) =>
<li>
<a class="u-url text-link group" href="/blog" aria-current={isCurrentRoute("/blog") ? "page" : undefined}>
<IconBlog width="1.25rem" height="1.25rem" class="order-1 inline align-text-top" />
<span class="order-3 group-hover:underline group-focus:underline">Blog posts</span>
<span class="order-3 group-hover:underline group-focus:underline">Blog</span>
</a>
</li>
<li>
@ -104,12 +104,6 @@ const isCurrentRoute = (path: string) =>
<span class="order-3 group-hover:underline group-focus:underline">Search</span>
</a>
</li>
<li>
<a class="u-url text-link group" href="/feed.xml">
<IconSquareRSS width="1.25rem" height="1.25rem" class="order-1 inline align-text-top" />
<span class="order-3 group-hover:underline group-focus:underline">RSS feed</span>
</a>
</li>
<li>
<button
data-dark-mode
@ -144,7 +138,7 @@ const isCurrentRoute = (path: string) =>
</div>
</nav>
<main
class:list={[className, "ml-0 max-w-6xl px-2 pb-28 pt-4 md:px-4 lg:px-8 print:pb-0"]}
class:list={[className, "ml-0 w-full max-w-6xl px-2 pb-28 pt-4 md:px-4 lg:px-8 print:pb-0"]}
data-pagefind-body={enablePagefind ? "" : undefined}
>
<slot />