Skip to content

Commit

Permalink
feat: make the entire insight page buttons clickable (#960)
Browse files Browse the repository at this point in the history
Fixes #701
  • Loading branch information
shamimbinnur authored Mar 7, 2023
1 parent 887efba commit 7a7708f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions components/molecules/InsightRow/insight-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,19 @@ const InsightRow = ({ insight, user }: InsightRowProps) => {
</div>
</div>
<div className="flex-1 hidden md:flex justify-end">
<span className=" bg-light-slate-1 inline-block rounded-lg p-2.5 border mr-2">
<Link href={`/hub/insights/${insight.id}/edit`}>
<BsPencilFill title="Edit Insight Page" className="text-light-slate-10 text-lg cursor-pointer" />
</Link>
</span>
<span className=" bg-light-slate-1 inline-block rounded-lg p-2.5 border">
<Link href={`/pages/${user?.user_metadata.user_name}/${insight.id}/dashboard`}>
<Link href={`/hub/insights/${insight.id}/edit`}>
<span className=" bg-light-slate-1 inline-block rounded-lg p-2.5 border mr-2 cursor-pointer">
<BsPencilFill title="Edit Insight Page" className="text-light-slate-10 text-lg" />
</span>
</Link>
<Link href={`/pages/${user?.user_metadata.user_name}/${insight.id}/dashboard`}>
<span className=" bg-light-slate-1 inline-block rounded-lg p-2.5 border cursor-pointer">
<MdOutlineArrowForwardIos
title="Go To Insight Page"
className="text-light-slate-10 text-lg cursor-pointer"
className="text-light-slate-10 text-lg"
/>
</Link>
</span>
</span>
</Link>
</div>
</div>
</div>
Expand Down

0 comments on commit 7a7708f

Please sign in to comment.