diff --git a/src/app/(main)/home/[id]/page.tsx b/src/app/(main)/home/[id]/page.tsx index bb5a542..7ac756c 100644 --- a/src/app/(main)/home/[id]/page.tsx +++ b/src/app/(main)/home/[id]/page.tsx @@ -180,6 +180,12 @@ export default function ProfileDetailPage() { )} + {profile.bio && ( +

+ {profile.bio} +

+ )} + {(profile.height_cm || profile.weight_kg) && ( } title="قد و وزن">
diff --git a/src/app/(main)/home/page.tsx b/src/app/(main)/home/page.tsx index 52dab2b..c1295a1 100644 --- a/src/app/(main)/home/page.tsx +++ b/src/app/(main)/home/page.tsx @@ -12,6 +12,7 @@ import { useAuth } from "@/lib/auth-context"; import { formatApiError } from "@/lib/hooks"; import { SwipeDeck } from "@/components/discover/SwipeDeck"; import { FiltersSheet, DiscoverFilters } from "@/components/discover/FiltersSheet"; +import { StreakBadge } from "@/components/StreakBadge"; import { DiscoverCandidate, getDiscoverFeed, updateLocation } from "@/lib/api"; const POLL_MS = 20_000; @@ -110,6 +111,7 @@ function Rejected({ reason }: { reason?: string }) { function DiscoverScreen() { const router = useRouter(); + const { streak } = useAuth(); const [filtersOpen, setFiltersOpen] = useState(false); const [filters, setFilters] = useState(DEFAULT_FILTERS); const [profiles, setProfiles] = useState(null); @@ -165,9 +167,12 @@ function DiscoverScreen() { return (
- - دلدل 💌 - +
+ + دلدل 💌 + + +
+ )} +
+ + {editing ? ( +
+