Skip to content

Commit

Permalink
Refactor router link in NavbarLayout and PageSelection components
Browse files Browse the repository at this point in the history
  • Loading branch information
hasanshahriar32 committed Oct 21, 2024
1 parent 2a58354 commit 23d2c23
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 642 deletions.
5 changes: 4 additions & 1 deletion components/global/Navbar/NavbarLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export default function Navbar(props: NavbarProps) {
>
ঋণাত্মক-২১
</Link>
<Link className="hidden md:block text-lg text-gray-600 md:text-xl" href="/studio">
<Link
className="hidden md:block text-lg text-gray-600 md:text-xl"
href="/studio/structure"
>
Studio
</Link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/global/Navbar/PageSelection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function StatusList({
// setSelectedStatus(
// menuItems.find((priority: any) => priority.title === value) || null,
// );
router.push(`/studio`)
router.push(`/studio/structure`)
// console.log(href)
setOpen(false)
}}
Expand Down
Loading

0 comments on commit 23d2c23

Please sign in to comment.