chore: lint, update readme

This commit is contained in:
enscribe 2025-02-18 15:25:52 -08:00
parent 0940b7076a
commit cf570be96e
23 changed files with 102 additions and 110 deletions

View file

@ -16,7 +16,7 @@ const projects = await getCollection('projects')
<section>
<div class="min-w-full">
<div class="prose prose-neutral mb-8 dark:prose-invert">
<div class="prose prose-neutral dark:prose-invert mb-8">
<p class="mb-4">
astro-erudite is an opinionated, no-frills static blogging template
that prioritizes simplicity and performance, built with <Link

View file

@ -21,7 +21,7 @@ const authors = await getCollection('authors')
))}
</ul>
) : (
<p class="text-center text-muted-foreground">No authors found.</p>
<p class="text-muted-foreground text-center">No authors found.</p>
)
}
</Container>

View file

@ -32,7 +32,7 @@ const blog = (await getCollection('blog'))
>
</CardHeader>
<CardContent>
<p class="mb-2 text-sm text-muted-foreground">
<p class="text-muted-foreground mb-2 text-sm">
astro-erudite is an opinionated, no-frills static blogging template
built with <Link
href="https://astro.build"
@ -56,7 +56,7 @@ const blog = (await getCollection('blog'))
underline>Astro Micro</Link
> theme.
</p>
<p class="text-sm text-muted-foreground">
<p class="text-muted-foreground text-sm">
To use this template, check out the <Link
href="https://github.com/jktrn/astro-erudite"
class="text-foreground"

View file

@ -46,7 +46,7 @@ export async function getStaticPaths() {
<div class="flex flex-wrap items-center gap-2">
<h1 class="text-3xl font-semibold">Posts tagged with</h1>
<span
class="flex items-center gap-x-1 rounded-full bg-secondary px-4 py-2 text-2xl font-semibold"
class="bg-secondary flex items-center gap-x-1 rounded-full px-4 py-2 text-2xl font-semibold"
>
<Icon name="lucide:hash" class="size-6 -translate-x-0.5" />{tag}
</span>

View file

@ -36,7 +36,7 @@ const tags = [...tagCounts.keys()].sort((a, b) => {
>
<Icon name="lucide:hash" class="size-3 -translate-x-0.5" />
{tag}
<span class="ml-1.5 text-muted-foreground">
<span class="text-muted-foreground ml-1.5">
({tagCounts.get(tag)})
</span>
</Link>