"use client" import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card" import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs" import { useMaterial } from "@/contexts/material-context" import { cn } from "@/lib/utils" import { Home, Bell, MessageSquare, User, Search, MoreHorizontal, Heart, MessageCircle, Repeat2, Share2, ImageIcon, Smile, Bookmark, } from "lucide-react" export function SocialFeedExample() { const { selectedMaterial, getThemeAwareClass } = useMaterial() const materialClass = selectedMaterial ? getThemeAwareClass(selectedMaterial) : "" const posts = [ { user: { name: "Jane Cooper", handle: "@janecooper", avatar: "/diverse-person-portrait.png", }, content: "Just launched my new portfolio website! Check it out and let me know what you think. #webdesign #portfolio", time: "2h ago", likes: 24, comments: 5, shares: 2, hasImage: true, image: "/placeholder.svg?key=r0u46", }, { user: { name: "Alex Morgan", handle: "@alexmorgan", avatar: "/diverse-avatars.png", }, content: "Working on a new design system for our product. Excited to share more details soon!", time: "5h ago", likes: 42, comments: 8, shares: 3, hasImage: false, }, ] return (
{/* Header */}

SocialConnect

{/* Sidebar */}
{/* Main Content */}
{/* Tabs */}
For You Following Trending
{/* New Post Input */}
ME
{/* Posts */}
{posts.map((post, i) => ( {post.user.name.charAt(0)}
{post.user.name} {post.user.handle}
{post.time}

{post.content}

{post.hasImage && (
Post image
)}
))}
{/* Right Sidebar - Trending/Suggestions */}
) }