mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-10-06 16:45:24 +00:00
refactor(sidebar): re arrange sidebar links 🔨
This commit is contained in:
@@ -69,7 +69,13 @@ export async function AppSidebar({
|
||||
icon: <Smartphone size={16} />,
|
||||
},
|
||||
{
|
||||
title: "Payments",
|
||||
title: "Parental Control",
|
||||
link: "/parental-control?page=1",
|
||||
icon: <CreditCard size={16} />,
|
||||
perm_identifier: "device",
|
||||
},
|
||||
{
|
||||
title: "Subscriptions",
|
||||
link: "/payments?page=1",
|
||||
icon: <CreditCard size={16} />,
|
||||
perm_identifier: "payment",
|
||||
@@ -81,10 +87,10 @@ export async function AppSidebar({
|
||||
perm_identifier: "topup",
|
||||
},
|
||||
{
|
||||
title: "Parental Control",
|
||||
link: "/parental-control?page=1",
|
||||
icon: <CreditCard size={16} />,
|
||||
perm_identifier: "device",
|
||||
title: "Transaction History",
|
||||
link: "/wallet",
|
||||
icon: <Wallet2Icon size={16} />,
|
||||
perm_identifier: "wallet transaction",
|
||||
},
|
||||
{
|
||||
title: "Agreements",
|
||||
@@ -92,12 +98,6 @@ export async function AppSidebar({
|
||||
icon: <Handshake size={16} />,
|
||||
perm_identifier: "device",
|
||||
},
|
||||
{
|
||||
title: "Wallet",
|
||||
link: "/wallet",
|
||||
icon: <Wallet2Icon size={16} />,
|
||||
perm_identifier: "wallet transaction",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -203,7 +203,9 @@ export async function AppSidebar({
|
||||
<SidebarMenuButton className="py-6" asChild>
|
||||
<Link className="text-md" href={item.link}>
|
||||
{item.icon}
|
||||
<span className="opacity-70 ml-2">
|
||||
<span
|
||||
className={`opacity-70 motion-preset-slide-left-md ml-2`}
|
||||
>
|
||||
{item.title}
|
||||
</span>
|
||||
</Link>
|
||||
|
Reference in New Issue
Block a user