diff --git a/src/app/compare/[users]/page.tsx b/src/app/compare/[users]/page.tsx index 8d858947a..0ebe3509a 100644 --- a/src/app/compare/[users]/page.tsx +++ b/src/app/compare/[users]/page.tsx @@ -1,4 +1,5 @@ import { Metadata } from "next"; +import Link from "next/link"; import { Scale, Trophy } from "lucide-react"; import Image from "next/image"; import { normalizeGitHubUsername } from "@/lib/validate-github-username"; @@ -110,12 +111,12 @@ export default async function PublicProfileComparePage({ Shareable comparison built only from publicly visible DevTrack stats.
- View profile - +{profile.streak.current} day streak - {profile.contributions.total} commits
diff --git a/src/app/dashboard/settings/page.tsx b/src/app/dashboard/settings/page.tsx index 1d4995b81..1887e9040 100644 --- a/src/app/dashboard/settings/page.tsx +++ b/src/app/dashboard/settings/page.tsx @@ -1196,12 +1196,13 @@ function SettingsPageContent() {If this is your profile, go to{" "} - Settings - {" "} + {" "} and enable Public Profile.
- Back to Home - + ); @@ -149,20 +150,20 @@ export default async function PublicProfilePage({ GitHub activity and coding stats {compareHref && ( - Compare with me - + )} {!loggedInUsername && ( - Log in to compare - + )} {/* Download stats card button — client component */} diff --git a/src/components/landing/LandingPage.tsx b/src/components/landing/LandingPage.tsx index 0d07a799c..5a0735536 100644 --- a/src/components/landing/LandingPage.tsx +++ b/src/components/landing/LandingPage.tsx @@ -2,6 +2,7 @@ import { useEffect, useRef, useState } from 'react'; import Image from "next/image"; +import Link from 'next/link'; /* ═══════════════════════════════════════════════════════════ PUBLIC TYPES @@ -422,7 +423,7 @@ function HeroSection() { {/* CTAs */}