From 0e629ee9248871c3a82a238dc42b04b577d6321a Mon Sep 17 00:00:00 2001 From: celine Date: Fri, 12 Dec 2025 04:26:38 -0500 Subject: [PATCH] side scroll the pub list --- .../[didOrHandle]/(profile)/ProfileHeader.tsx | 40 ++++++++++++------- app/p/[didOrHandle]/(profile)/ProfileTabs.tsx | 2 +- components/ActionBar/Publications.tsx | 2 +- 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/app/p/[didOrHandle]/(profile)/ProfileHeader.tsx b/app/p/[didOrHandle]/(profile)/ProfileHeader.tsx index 295aa981..0671605a 100644 --- a/app/p/[didOrHandle]/(profile)/ProfileHeader.tsx +++ b/app/p/[didOrHandle]/(profile)/ProfileHeader.tsx @@ -25,25 +25,30 @@ export const ProfileHeader = (props: { className="mx-auto -mt-8" giant /> -
-

+
+

{profileRecord.displayName ? profileRecord.displayName : `@${props.profile.handle}`}

{profileRecord.displayName && ( -
+
@{props.profile.handle}
)} -
{profileRecord.description}
-
- {props.publications.map((p) => ( - - ))} +
+ {profileRecord.description} +
+
+
+ {/*
*/} + {props.publications.map((p) => ( + + ))} +
@@ -55,12 +60,12 @@ const PublicationCard = (props: { uri: string; }) => { const { record, uri } = props; - const { bgLeaflet, bgPage } = usePubTheme(record.theme); + const { bgLeaflet, bgPage, primary } = usePubTheme(record.theme); return (
-

{record.name}

+

+ {record.name} +

); diff --git a/app/p/[didOrHandle]/(profile)/ProfileTabs.tsx b/app/p/[didOrHandle]/(profile)/ProfileTabs.tsx index 62e175a2..531001a8 100644 --- a/app/p/[didOrHandle]/(profile)/ProfileTabs.tsx +++ b/app/p/[didOrHandle]/(profile)/ProfileTabs.tsx @@ -41,7 +41,7 @@ const TabLink = (props: { href: string; name: string; selected: boolean }) => { return (