Re-worked icons
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m48s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m48s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { getCollection, render, type CollectionEntry } from "astro:content";
|
||||
import { Icon } from "astro-icon/components";
|
||||
import Icon from "../../components/Icon.astro";
|
||||
import Layout from "../../layouts/Layout.astro";
|
||||
|
||||
export const prerender = true;
|
||||
@@ -33,7 +33,7 @@ const { Content } = await render(post);
|
||||
<div
|
||||
class="flex items-center flex-row gap-2 text-base-content opacity-75"
|
||||
>
|
||||
<Icon name="mdi:clock" class="text-xl" />
|
||||
<Icon name="clock" class="text-xl" />
|
||||
<time datetime={post.data.pubDate.toISOString()}>
|
||||
{
|
||||
new Date(post.data.pubDate).toLocaleDateString(
|
||||
@@ -53,7 +53,7 @@ const { Content } = await render(post);
|
||||
href="/posts"
|
||||
class="btn btn-outline btn-primary btn-sm font-bold"
|
||||
>
|
||||
<Icon name="mdi:arrow-left" class="text-lg" />
|
||||
<Icon name="arrow-left" class="text-lg" />
|
||||
Back
|
||||
</a>
|
||||
</div>
|
||||
@@ -63,7 +63,7 @@ const { Content } = await render(post);
|
||||
<div class="flex gap-2 flex-wrap mb-6">
|
||||
{post.data.tags.map((tag: string) => (
|
||||
<div class="badge badge-primary font-bold">
|
||||
<Icon name="mdi:tag" class="text-lg" />
|
||||
<Icon name="tag" class="text-lg" />
|
||||
{tag}
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user