showing the ui for selecting and all with the conversation
This commit is contained in:
@@ -118,12 +118,17 @@ export default function CreateConversation() {
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
{/* show search results nicely like tailwind website */}
|
{/* show search results nicely like tailwind website */}
|
||||||
|
<span className="text-slate-400 text-xs text-center">
|
||||||
|
showing {recommendedUsers.length} results
|
||||||
|
</span>
|
||||||
|
<span className="text-slate-400 text-xs text-center">
|
||||||
|
Click{" "}
|
||||||
|
<a href="mailto:?subject=Join my conversation on Nirvana!">here</a> to
|
||||||
|
invite a user to Nirvana.
|
||||||
|
</span>
|
||||||
|
|
||||||
{recommendedUsers && recommendedUsers.length > 0 ? (
|
{recommendedUsers?.length > 0 ? (
|
||||||
<>
|
<div className="flex flex-col items-stretch">
|
||||||
<span className="text-slate-400 text-xs">
|
|
||||||
showing {recommendedUsers.length} results
|
|
||||||
</span>
|
|
||||||
{recommendedUsers.map((recUser) => {
|
{recommendedUsers.map((recUser) => {
|
||||||
return (
|
return (
|
||||||
<SimpleUserDetailsRow
|
<SimpleUserDetailsRow
|
||||||
@@ -141,7 +146,7 @@ export default function CreateConversation() {
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -15,8 +15,12 @@ export default function SelectedUserRow(props: {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<span className="flex flex-col ml-2">
|
<span className="flex flex-col ml-2">
|
||||||
<span className="text-teal-500 font-bold">{"Joe Smoe"}</span>
|
<span className="text-teal-500 font-bold">
|
||||||
<span className="text-slate-400 text-xs">{"[email protected]"}</span>
|
{props.user.firstName + " " + props.user.lastName}
|
||||||
|
</span>
|
||||||
|
<span className="text-slate-400 text-xs">
|
||||||
|
{props.user.emailAddress}
|
||||||
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{props.actionButton}
|
{props.actionButton}
|
||||||
|
|||||||
Reference in New Issue
Block a user