feat: chat

This commit is contained in:
gosangam
2026-08-29 03:49:58 +05:30
parent 3257efb06a
commit 523b6fa7e8
34 changed files with 5381 additions and 11 deletions
+5 -1
View File
@@ -58,6 +58,7 @@ import { countryName } from "@/lib/countries";
import { useAuth } from "@/components/auth/auth-provider";
import { useAuthGate } from "@/components/auth/auth-gate";
import { useMediaQuery } from "@/components/selection-toolbar/shared";
import { MessageButton } from "@/components/profile/message-button";
import {
Drawer,
DrawerContent,
@@ -206,8 +207,11 @@ export function ProfileActions({
return (
<>
<div className="flex items-center gap-2">
<div className="flex flex-wrap items-center gap-2">
{primary}
{/* Offered only when the target's settings allow it — see
MessageButton. */}
<MessageButton handle={handle} name={name} relationship={rel} />
{/* Block / Report / Remove are signed-in-only (their BFF routes
require auth) and only appear when `authed`. "More info" is
public, so the menu always renders with at least that item. */}