qdpqut37t: Add the frosted bottom dock that likes and comments on the post on screen

This commit is contained in:
2026-10-20 08:37:37 -06:00
parent bbd84f38a0
commit c94da3accd
5 changed files with 250 additions and 3 deletions
+11
View File
@@ -7,6 +7,7 @@ import { HexAvatar } from "./HexAvatar";
import { PlayIcon, PostMenu } from "./PostCard";
import { VideoPlayer } from "./VideoPlayer";
import { FeaturedCarousel } from "./FeaturedCarousel";
import { MobileDock } from "./MobileDock";
import type { DiscoverExpert } from "@/lib/discover";
import type { FeedViewProps } from "./FeedView";
@@ -415,6 +416,16 @@ export function MobileFeed(p: FeedViewProps) {
/>
) : null}
</div>
{p.status !== "error" ? (
<MobileDock
slide={{ index, kind, post: currentPost }}
onToggleLike={p.onToggleLike}
likeBusy={currentPost ? p.likeBusy?.has(currentPost.key) : false}
onOpenComments={p.onOpenComments}
onOpenComposer={p.onOpenComposer}
onOpenMore={p.onOpenMore}
/>
) : null}
</section>
);
}