tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
28
pulls
pipelines
moved profile pic, removed console logs
cozylittle.house
3 months ago
7c19b5fa
d3672135
+4
-7
3 changed files
expand all
collapse all
unified
split
app
p
[didOrHandle]
(profile)
ProfileHeader.tsx
ProfileTabs.tsx
layout.tsx
+1
-1
app/p/[didOrHandle]/(profile)/ProfileHeader.tsx
···
22
22
blobRefToSrc(profileRecord.avatar?.ref, props.profile.did)
23
23
}
24
24
displayName={profileRecord.displayName}
25
25
-
className="mx-auto -mt-8"
25
25
+
className="mx-auto mt-3 sm:mt-4"
26
26
giant
27
27
/>
28
28
<div className="flex flex-col">
+2
-5
app/p/[didOrHandle]/(profile)/ProfileTabs.tsx
···
29
29
);
30
30
}
31
31
};
32
32
-
console.log("content: " + profileContent);
33
33
-
console.log("header: " + headerHeight);
34
32
35
33
if (profileContent) {
36
34
profileContent.addEventListener("scroll", handleScroll);
···
39
37
}, []);
40
38
41
39
const baseUrl = `/p/${props.didOrHandle}`;
42
42
-
const bgColor = !cardBorderHidden ? "var(--bg-leaflet)" : "var(--bg-page)";
43
43
-
44
44
-
console.log(scrollPosWithinTabContent);
40
40
+
const bgColor = "255 255 255";
41
41
+
// const bgColor = !cardBorderHidden ? "var(--bg-leaflet)" : "var(--bg-page)";
45
42
46
43
return (
47
44
<div className="flex flex-col w-full sticky top-3 sm:top-4 z-10 sm:px-4 px-3">
+1
-1
app/p/[didOrHandle]/(profile)/layout.tsx
···
53
53
max-w-prose mx-auto w-full h-full
54
54
flex flex-col
55
55
border border-border-light rounded-lg
56
56
-
text-center mt-8
56
56
+
text-center
57
57
overflow-y-scroll`}
58
58
>
59
59
<ProfileHeader profile={profile} publications={publications || []} />