ai1ywm5xi: Add the Discover sheet with featured, trending, find experts panels and the appearance switch

This commit is contained in:
2026-10-20 08:49:11 -06:00
parent 695ebe1095
commit cfdca1f270
10 changed files with 307 additions and 10 deletions
+5 -1
View File
@@ -2,7 +2,7 @@
import type { ReactNode, Ref } from "react";
import { canDelete, type CardPost } from "@/lib/feed-model";
import type { DiscoverExpert } from "@/lib/discover";
import type { DiscoverExpert, DiscoverMinnect } from "@/lib/discover";
import { Composer, type ComposerProps } from "./Composer";
import { GrowButton, IconButton } from "./Buttons";
import { PostCard } from "./PostCard";
@@ -42,6 +42,10 @@ export interface FeedViewProps {
hasMore?: boolean;
/** Phone layout only: experts for the featured slide after the second post. */
featuredExperts?: DiscoverExpert[];
/** Phone layout only: trending minnects for the Discover sheet. */
trendingMinnects?: DiscoverMinnect[];
/** Phone layout only: the Find experts panel shown in the Discover sheet. */
searchPanel?: ReactNode;
/** Phone layout only: the slide on screen changed (for the dock). */
onCurrentChange?: (slide: CurrentSlide) => void;
/** Phone layout only: the dock's comments button, for the post on screen. */