diff --git a/smnb/components/livefeed/StoryCard.tsx b/smnb/components/livefeed/StoryCard.tsx index 6feabf0..340f413 100644 --- a/smnb/components/livefeed/StoryCard.tsx +++ b/smnb/components/livefeed/StoryCard.tsx @@ -13,14 +13,14 @@ interface StoryCardProps { className?: string; theme?: keyof typeof StoryThemes; showActions?: boolean; - onAction?: (action: 'read' | 'share' | 'bookmark', story: CompletedStory) => void; + onAction?: (action: 'read' | 'share' | 'bookmark' | 'pin' | 'unpin' | 'remove', story: CompletedStory) => void; } export default function StoryCard({ story, isFirst = false, className, - theme = isFirst ? 'highlighted' : 'default', + theme = story.isPinned ? 'pinned' : (isFirst ? 'highlighted' : 'default'), showActions = false, onAction }: StoryCardProps) { @@ -72,6 +72,13 @@ export default function StoryCard({ {story.tone} + {/* Pinned indicator */} + {story.isPinned && ( + + PINNED #{story.pinnedOrder} + + )} + {/* Thread indicators */} {story.isThreadUpdate && ( @@ -79,10 +86,52 @@ export default function StoryCard({ )} + {/* Action buttons - Pin and Remove (on hover) */} +