From ac19d0fd2c0fd9c8d3dbf8ad35a783b0a9a36429 Mon Sep 17 00:00:00 2001 From: neodk2004 Date: Sun, 21 Jun 2026 21:11:31 +0200 Subject: [PATCH] fix(explore): link avatar and name to pet profile page --- src/components/explore/ExploreCard.tsx | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/explore/ExploreCard.tsx b/src/components/explore/ExploreCard.tsx index 4e7305d..df5ed2e 100644 --- a/src/components/explore/ExploreCard.tsx +++ b/src/components/explore/ExploreCard.tsx @@ -1,5 +1,6 @@ "use client"; +import Link from "next/link"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Badge } from "@/components/ui/badge"; import { FollowButton } from "@/components/social/FollowButton"; @@ -27,16 +28,18 @@ export function ExploreCard({ pet, activePetId }: ExploreCardProps) { return (
- - {avatarUrl && } - - {pet.name[0]?.toUpperCase() ?? "?"} - - + + + {avatarUrl && } + + {pet.name[0]?.toUpperCase() ?? "?"} + + -

- {pet.name} -

+

+ {pet.name} +

+ {labelName}