Skip to content

Commit

Permalink
Added Back button functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
RitochitGhosh committed May 20, 2024
1 parent 1116b5e commit 07b654b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/app/dashboard/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import FormGroup from "@mui/material/FormGroup";
import FormControlLabel from "@mui/material/FormControlLabel";
import AddIcon from "@mui/icons-material/Add";
import { redirect } from "next/navigation";
import Link from "next/link";
import ArrowBackIosNewRoundedIcon from '@mui/icons-material/ArrowBackIosNewRounded';

import { SignedIn, UserButton } from "@clerk/nextjs";

Expand All @@ -17,6 +19,15 @@ export default function page() {
return (
<div className="h-full flex">
<div className="flex flex-col justify-between basis-1/12 pt-28 bg-[#FFFFFF05] border-r-2 border-[#FFFFFF20]">
<Link href="/" className="mx-auto">
<ArrowBackIosNewRoundedIcon
sx={
{ fontSize: 60,
color: "white"
}
}
/>
</Link>
<div className="flex justify-center items-center"></div>
<div className="flex justify-center items-center">
{/* <SignedIn>
Expand Down

0 comments on commit 07b654b

Please sign in to comment.