feat: copy button

This commit is contained in:
jason 2024-09-11 22:54:47 -07:00
parent 1012f562ff
commit 4382f7165c
22 changed files with 197 additions and 752 deletions

View file

@ -40,11 +40,11 @@ if (
>
<Link
href={`/${entry.collection}/${entry.slug}`}
class="flex flex-wrap gap-4"
class="flex flex-col gap-4 sm:flex-row"
>
{
entry.data.image && (
<div class="flex-shrink-0">
<div class="sm:flex-shrink-0">
<Image
src={entry.data.image}
alt={entry.data.title}
@ -63,7 +63,7 @@ if (
{entry.data.description}
</p>
<div
class="mb-2 flex items-center space-x-2 text-xs text-muted-foreground"
class="mb-2 flex flex-wrap items-center gap-x-2 text-xs text-muted-foreground"
>
{
author && (