"use client"; import { motion, AnimatePresence } from "framer-motion"; import { Search, Compass, TrendingUp, Hash } from "lucide-react"; import { MOCK_POSTS } from "@/lib/mock-data"; import { PostCard } from "@/components/feed/PostCard"; import { useState } from "react"; const TRENDING_TAGS = ["#streetwear", "#architecture", "#minimalism", "#neonLights", "#coffeeArt"]; const CATEGORIES = ["For You", "Photography", "Fashion", "Tech", "Travel", "Art"]; export default function ExplorePage() { const [searchFocused, setSearchFocused] = useState(false); return (
{/* Header & Search */}

Explore

setSearchFocused(true)} onBlur={() => setSearchFocused(false)} className="w-full bg-transparent px-4 py-4 outline-none font-medium placeholder:text-muted-foreground" /> {searchFocused && (
Trending Searches
{TRENDING_TAGS.map(tag => ( {tag.replace("#", "")} ))}
)}
{/* Categories */}
{CATEGORIES.map((cat, i) => ( ))}
{/* Masonry Grid (Reused Post Cards with mixed sizes for discovery layout) */} {/* Shuffle the mock posts slightly to look different from Home Feed */} {[...MOCK_POSTS].reverse().map((post) => ( ))} {MOCK_POSTS.map((post) => ( ))}
); }