feat: add user centric features

This commit is contained in:
gosangam
2026-05-30 23:44:08 +05:30
parent 7bd2952caa
commit dcdd2383c6
63 changed files with 16783 additions and 1735 deletions
+4 -1
View File
@@ -18,11 +18,14 @@ export function ShareModal({
onClose,
selectedText,
isMobile,
onShareToFeed,
}: {
open: boolean;
onClose: () => void;
selectedText: string;
isMobile: boolean;
/** Called when the user picks "Share to feed" — parent opens the compose modal. */
onShareToFeed?: () => void;
}) {
const { copied, copy } = useCopyFeedback();
const [generating, setGenerating] = useState(false);
@@ -45,8 +48,8 @@ export function ShareModal({
icon: <MessageSquare className="size-4" />,
description: "Post this quote to your feed",
onClick: () => {
// TODO: Implement share to feed
onClose();
onShareToFeed?.();
},
},
{