Improved messages

This commit is contained in:
2025-08-26 00:45:13 +02:00
parent 9f0e681c1b
commit c0323ac7f4
2 changed files with 5 additions and 3 deletions
-1
View File
@@ -1,6 +1,5 @@
import MessageBox from "@/components/MessageBox"; import MessageBox from "@/components/MessageBox";
import AppSidebar from "@/components/Sidebar"; import AppSidebar from "@/components/Sidebar";
import { Button } from "@/components/ui/button";
export default async function Server(params: {params: Promise<{ id: string }>}) { export default async function Server(params: {params: Promise<{ id: string }>}) {
const { id } = await params.params; const { id } = await params.params;
+5 -2
View File
@@ -7,8 +7,11 @@ function Message() {
<div className="flex gap-2"> <div className="flex gap-2">
<div className="w-8 h-8 rounded-full bg-gray-400" /> <div className="w-8 h-8 rounded-full bg-gray-400" />
<div className="flex flex-col"> <div className="flex flex-col">
<span className="font-bold">User</span> <span className="font-bold flex gap-1 items-center">
<span className="text-sm text-gray-500"> User <p className="text-neutral-500 text-xs">26/8/25, 12:45 AM</p>
</span>
<span className="text-sm text-muted-foreground">
Hello, this is a message! Hello, this is a message!
</span> </span>
</div> </div>