Skip to content

Commit 5f97df0

Browse files
dashboard image (#199)
1 parent 3c0e838 commit 5f97df0

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Diff for: public/images/dashboard.png

1.48 KB
Loading

Diff for: src/components/SideBar/Roles/admin.tsx

+22
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,28 @@ const AdminDashboard = () => {
293293
{/* <SessionDropDown AllSeasons={AllSeasons} /> */}
294294
</div>
295295
</Link>
296+
<Link href={"/admin/dashboard"}>
297+
<div className="hover:bg-gray-900 rounded-md my-[1vh] py-[1vh] px-[1vw] cursor-pointer">
298+
<div className="flex justify-start gap-[1vw]">
299+
<div className="w-[2vw]">
300+
<img width="20" height="20" src="/images/dashboard.png" alt="dashboard"/>
301+
</div>
302+
<motion.div
303+
initial={{ opacity: 1 }}
304+
animate={context.isOpen ? "open" : "closed"}
305+
transition={{ duration: 0.1 }}
306+
variants={{
307+
closed: { opacity: 0 },
308+
open: { opacity: 1 },
309+
}}
310+
className="w-[13vw]"
311+
>
312+
Dashboard
313+
</motion.div>
314+
</div>
315+
{/* <SessionDropDown AllSeasons={AllSeasons} /> */}
316+
</div>
317+
</Link>
296318
</div>
297319
</>
298320
);

0 commit comments

Comments
 (0)