diff --git a/src/components/explore/ProfileHeader.tsx b/src/components/explore/ProfileHeader.tsx index 6e25ece..54447bc 100644 --- a/src/components/explore/ProfileHeader.tsx +++ b/src/components/explore/ProfileHeader.tsx @@ -1,7 +1,8 @@ 'use client'; import { useEffect, useState } from 'react'; -import { ExternalLink, Heart, MessageSquare, Users } from 'lucide-react'; +import Link from 'next/link'; +import { ExternalLink, Globe, Heart, MessageSquare, Users } from 'lucide-react'; import { getProfile, type AppViewProfile } from '@/utils/atproto/appview'; import { getRecord } from '@/utils/atproto/pdsClient'; import type { IdentityBundle } from '@/utils/atproto/identity'; @@ -259,6 +260,32 @@ export default function ProfileHeader({ identity }: Props) { )} + + {/* Inverse of the universal link page's "View repo in the Explorer →" + CTA: a quiet text link at the foot of the preview back out to the + shareable universal link page for this profile. */} +
+ + + View the universal link page → + +
); } diff --git a/src/components/explore/RepoExplorer.tsx b/src/components/explore/RepoExplorer.tsx index 14c4a17..57d6ec9 100644 --- a/src/components/explore/RepoExplorer.tsx +++ b/src/components/explore/RepoExplorer.tsx @@ -16,7 +16,6 @@ import CollectionsTab from './tabs/CollectionsTab'; import IdentityTab from './tabs/IdentityTab'; import AuditTab from './tabs/AuditTab'; import BacklinksTab from './tabs/BacklinksTab'; -import UniversalLinkChip from './UniversalLinkChip'; import NotFoundPanel from '@/components/NotFoundPanel'; const TABS = [ @@ -116,22 +115,6 @@ export default function RepoExplorer({ repo }: { repo: string }) { - {/* Outbound link to the shareable universal link page for this profile. - Lives at the foot of the viewer (rather than crowding the - breadcrumb) as the inverse of the "View in Explorer" CTA found - on the universal link page itself. */} - -
- -
-
); }