diff --git a/src/components/profile/ProfileIdentityRail.tsx b/src/components/profile/ProfileIdentityRail.tsx index 0f7d2fc6..580a67bc 100644 --- a/src/components/profile/ProfileIdentityRail.tsx +++ b/src/components/profile/ProfileIdentityRail.tsx @@ -31,6 +31,7 @@ import { Nip05Badge } from '@/components/Nip05Badge'; import { PledgeCard } from '@/components/PledgeCard'; import { ProfileReactionButton } from '@/components/ProfileReactionButton'; import { OrganizationsAllDialog } from '@/components/profile/OrganizationsAllDialog'; +import { ProfileVerifierSection } from '@/components/profile/ProfileVerifierSection'; import { useCampaignModeration } from '@/hooks/useCampaignModeration'; import { useProfileOrganizations, type ProfileOrganization } from '@/hooks/useProfileOrganizations'; import type { ProfileCampaignStats } from '@/hooks/useProfileCampaignStats'; @@ -389,6 +390,11 @@ export function ProfileOverviewSections({ const { t } = useTranslation(); return (
+ {/* Verifier statement (kind 14672) — surfaced first so donors can + immediately see how this account verifies campaigns. Renders + nothing when the profile has not published a statement. */} + + {/* Profile fields (rendered upstream) — placed first so the profile's own freeform metadata (links, addresses, etc.) is the first thing visitors read, ahead of campaigns/orgs. */} diff --git a/src/pages/ProfilePage.tsx b/src/pages/ProfilePage.tsx index e7ad9ec1..6ef34957 100644 --- a/src/pages/ProfilePage.tsx +++ b/src/pages/ProfilePage.tsx @@ -69,7 +69,6 @@ import { ProfileCampaignsTab } from '@/components/profile/ProfileCampaignsTab'; import { ProfilePledgesTab } from '@/components/profile/ProfilePledgesTab'; import { ProfileActivityTab } from '@/components/profile/ProfileActivityTab'; import { ProfileTabs } from '@/components/profile/ProfileTabs'; -import { ProfileVerifierSection } from '@/components/profile/ProfileVerifierSection'; import type { ParsedCampaign } from '@/lib/campaign'; import type { AddrCoords } from '@/hooks/useEvent'; import { sanitizeUrl } from '@/lib/sanitizeUrl'; @@ -1427,12 +1426,6 @@ function FollowersListModal({ pubkey, open, onOpenChange, displayName }: Followe `min-w-0` is critical inside a grid track so long unbroken text doesn't push the column wider than its fraction. */}
- {/* Verifier statement (kind 14672) — full-width above the - tabs so donors can read how this account vets campaigns. - Renders nothing when no statement is published. */} - {pubkey && ( - - )} - {/* Verifier statement (kind 14672) — full-width above the - tabs, below the identity header. Renders nothing when - no statement is published. */} - - {/* Tab bar — sticky to the top of the page scroll once it leaves the viewport. Sits right below the stats. */}