-
-
- {profileRecord.displayName
- ? profileRecord.displayName
- : `@${props.profile?.handle}`}
-
- {profileRecord.displayName && (
-
- @{props.profile?.handle}
+ >
+
+
+ {profileRecord.displayName
+ ? profileRecord.displayName
+ : `@${props.profile?.handle}`}
+
+ {profileRecord.displayName && (
+
+ @{props.profile?.handle}
+
+ )}
+
{profileRecord.description}
+
- )}
-
{profileRecord.description}
-
- {props.publications.map((p) => (
-
+
+
+
- ))}
+
+
{profileRecord.description}
+
+ {props.publications.map((p) => (
+
+ ))}
+
+
+
-
-
);
};
diff --git a/app/p/[didOrHandle]/ProfileTabs/Activity/Activity.tsx b/app/p/[didOrHandle]/ProfileTabs/Activity/Activity.tsx
deleted file mode 100644
index 99f5fe30..00000000
--- a/app/p/[didOrHandle]/ProfileTabs/Activity/Activity.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-export const Activity = (props: {
- icon: React.ReactNode;
- activity: React.ReactNode;
- content: React.ReactNode;
-}) => {
- return (
-
-
- {props.icon} {props.activity}
-
-
{props.content}
-
- );
-};
diff --git a/app/p/[didOrHandle]/ProfileTabs/Activity/Comment.tsx b/app/p/[didOrHandle]/ProfileTabs/Activity/Comment.tsx
deleted file mode 100644
index 0c4648d4..00000000
--- a/app/p/[didOrHandle]/ProfileTabs/Activity/Comment.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import { CommentTiny } from "components/Icons/CommentTiny";
-import { Activity } from "./Activity";
-
-export const CommentActivty = () => {
- return (
-
}
- activity={"celine commented"}
- content={
hello
}
- />
- );
-};
diff --git a/app/p/[didOrHandle]/ProfileTabs/Activity/Publication.tsx b/app/p/[didOrHandle]/ProfileTabs/Activity/Publication.tsx
deleted file mode 100644
index e69de29b..00000000
diff --git a/app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Comment.tsx b/app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Comment.tsx
new file mode 100644
index 00000000..c6e485c7
--- /dev/null
+++ b/app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Comment.tsx
@@ -0,0 +1,101 @@
+import Post from "app/lish/[did]/[publication]/[rkey]/l-quote/[quote]/page";
+import { CommentTiny } from "components/Icons/CommentTiny";
+
+export const CommentTabContent = () => {
+ let isReply = true;
+ return (
+ <>
+
+
+
+
+ >
+ );
+};
+
+const PostListingCompact = (props: { title: string; pubName: string }) => {
+ return (
+
+ {props.title}
+
+ {props.pubName}
+
+
+ );
+};
+
+const Comment = (props: {
+ displayName: React.ReactNode;
+ handle: string;
+ comment: string;
+ reply?: boolean;
+}) => {
+ return (
+
+
+
+
+
+ {props.reply && (
+
+ )}
+
+
+
+
+ {props.displayName}
+
+ {props.reply &&
reply
}
+
+
+ {props.comment}
+
+
+
+
+ );
+};
+
+const CommentWrapper1 = (props: { isReply?: boolean }) => {
+ return (
+
+
+ {props.isReply && (
+
+ )}
+
+
+ );
+};
+
+const CommentWrapper2 = (props: { isReply?: boolean }) => {
+ return (
+
+
+ celine commented on{" "}
+
+ Leaflet Lab Notes
+
+
+ }
+ handle="cozylittle.house"
+ comment="Here's my reply! I'm hoping i can makie ti long enought to space two lines. Do we want rich text here? Probably not since we dont support that anyway lol"
+ />
+
+ );
+};
diff --git a/app/p/[didOrHandle]/ProfileTabs/Activity/Post.tsx b/app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Post.tsx
similarity index 100%
rename from app/p/[didOrHandle]/ProfileTabs/Activity/Post.tsx
rename to app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Post.tsx
diff --git a/app/p/[didOrHandle]/ProfileTabs/Activity/Subscription.tsx b/app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Subscription.tsx
similarity index 100%
rename from app/p/[didOrHandle]/ProfileTabs/Activity/Subscription.tsx
rename to app/p/[didOrHandle]/ProfileTabs/TabContent.tsx/Subscription.tsx
diff --git a/app/p/[didOrHandle]/ProfileTabs/Tabs.tsx b/app/p/[didOrHandle]/ProfileTabs/Tabs.tsx
index c8d4b1e4..3eb8a9c3 100644
--- a/app/p/[didOrHandle]/ProfileTabs/Tabs.tsx
+++ b/app/p/[didOrHandle]/ProfileTabs/Tabs.tsx
@@ -6,6 +6,7 @@ import type { Cursor } from "../getProfilePosts";
import { getProfilePosts } from "../getProfilePosts";
import useSWRInfinite from "swr/infinite";
import { useEffect, useRef } from "react";
+import { CommentTabContent } from "./TabContent.tsx/Comment";
export const ProfileTabs = (props: {
tab: profileTabsType;
@@ -38,7 +39,7 @@ export const ProfileTabs = (props: {
}}
/>