Skip to content

Commit 287ada3

Browse files
committed
improvment in sidebar
1 parent 5c264b9 commit 287ada3

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Client/src/components/Layout/SideBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const SideBar = () => {
6565
<h1 className="text-[15px] font-medium text-black truncate">
6666
{user?.name || user?.email}
6767
</h1>
68-
<p className="text-xs text-black/60 truncate">
68+
<p className="text-xs text-black/60 truncate ">
6969
Role: {user?.role || "User"}
7070
</p>
7171
</div>

Client/src/pages/DashBoard.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
const DashBoard = () => {
2-
return <div>Welcome to dashboard</div>;
2+
return (
3+
<div className="p-5 flex flex-1 mt-2">
4+
<h1 className="text-2xl font-semibold text-black/90 ">
5+
🤗 Your Workspaces
6+
</h1>
7+
</div>
8+
);
39
};
410

511
export default DashBoard;

0 commit comments

Comments
 (0)