diff --git a/components/posts/PostCard.tsx b/components/posts/PostCard.tsx index 14df9e2..5cf3586 100644 --- a/components/posts/PostCard.tsx +++ b/components/posts/PostCard.tsx @@ -15,11 +15,11 @@ export function PostCard({ slug, title, date, excerpt, tags = [], author, readin whileHover={shouldReduceMotion ? undefined : { y: -2 }} transition={{ duration: 0.35, delay: shouldReduceMotion ? 0 : Math.min(index * 0.04, 0.18), ease: [0.22, 1, 0.36, 1] }} viewport={{ once: true, amount: 0.2 }} - className="group relative scroll-mt-20 rounded-2xl border border-border/90 bg-canvas p-5 shadow-card transition-[background-color,border-color,box-shadow] duration-200 ease-out hover:border-ink/25 hover:bg-surface/40 hover:shadow-card-hover dark:hover:border-ink/35 sm:p-7" + className="group relative scroll-mt-20 rounded-lg border border-border/90 bg-canvas p-5 shadow-card transition-[background-color,border-color,box-shadow] duration-200 ease-out hover:border-ink/25 hover:bg-surface/40 hover:shadow-card-hover dark:hover:border-ink/35 sm:p-7" > {coverImage && ( -
+
{`Cover 0 && (
{tags.slice(0, 3).map((tag) => ( - + {tag} ))} diff --git a/components/posts/PostSearch.tsx b/components/posts/PostSearch.tsx index de24deb..4e67291 100644 --- a/components/posts/PostSearch.tsx +++ b/components/posts/PostSearch.tsx @@ -147,7 +147,7 @@ export function PostSearch({ posts }: PostSearchProps) { return (
-
+
@@ -185,7 +185,7 @@ export function PostSearch({ posts }: PostSearchProps) { type="button" aria-pressed={isSelected} onClick={() => setSelectedTag(isSelected ? null : tag.slug)} - className="rounded-full border border-border bg-canvas px-3 py-1 text-xs text-ink-soft transition-colors hover:border-accent/50 hover:text-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent aria-pressed:border-accent aria-pressed:bg-accent/10 aria-pressed:text-accent" + className="rounded-sm border border-border bg-canvas px-3 py-1 font-mono text-[11px] uppercase tracking-wider text-ink-soft transition-colors hover:border-accent/50 hover:text-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent aria-pressed:border-accent aria-pressed:bg-accent/10 aria-pressed:text-accent" > {tag.label} {tag.count} @@ -209,7 +209,7 @@ export function PostSearch({ posts }: PostSearchProps) { }} className="self-start rounded-lg border border-border px-3 py-1.5 text-sm text-ink-soft transition-colors hover:border-accent/50 hover:text-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent sm:self-auto" > - Clear filters + Clear )}
@@ -222,7 +222,7 @@ export function PostSearch({ posts }: PostSearchProps) { ))}
) : ( -

No posts match your search.

+

No matches.

)} ) diff --git a/components/posts/TableOfContents.tsx b/components/posts/TableOfContents.tsx index 385648e..6ada65c 100644 --- a/components/posts/TableOfContents.tsx +++ b/components/posts/TableOfContents.tsx @@ -75,8 +75,8 @@ export function TableOfContents() { return (