Skip to content

Commit 867ff6b

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update Dashboard.jsx
Co-Authored-By: JehanKandy <[email protected]> Co-Authored-By: Anupa Gamage <[email protected]>
1 parent 58c34d7 commit 867ff6b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

client/src/components/Dashboard/Dashboard.jsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,8 @@ const Dashboard = () => {
1515

1616
if(RoleUser !== null && EmailUser !== null){
1717
return (
18-
<div className='bg-gray-200 py-8 px-12'>
19-
<div className="bg-white rounded py-8 px-4">
20-
<h1 className="text-gray-500 font-semibold text-2xl">Welcome to Dashboard</h1>
21-
<hr />
18+
<div className="bg-[url('https://wallpapercave.com/wp/wp3998740.png')] bg-cover bg-center py-8 px-12 min-h-screen">
2219

23-
<div className="my-4 mx-8">
24-
<p className="text-xl text-gray-500">Email : { EmailUser }</p>
25-
<p className="text-xl text-gray-500">Role: { RoleUser }</p>
26-
</div>
27-
<button onClick={logout} className="bg-red-500 text-white rounded py-2 px-4 shadow-md duration-500 hover:bg-red-600 font-semibold">Logout</button>
28-
</div>
2920
</div>
3021
)
3122
}

0 commit comments

Comments
 (0)