mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-10-06 22:51:37 +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} />,
|
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",
|
link: "/payments?page=1",
|
||||||
icon: <CreditCard size={16} />,
|
icon: <CreditCard size={16} />,
|
||||||
perm_identifier: "payment",
|
perm_identifier: "payment",
|
||||||
@@ -81,10 +87,10 @@ export async function AppSidebar({
|
|||||||
perm_identifier: "topup",
|
perm_identifier: "topup",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Parental Control",
|
title: "Transaction History",
|
||||||
link: "/parental-control?page=1",
|
link: "/wallet",
|
||||||
icon: <CreditCard size={16} />,
|
icon: <Wallet2Icon size={16} />,
|
||||||
perm_identifier: "device",
|
perm_identifier: "wallet transaction",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Agreements",
|
title: "Agreements",
|
||||||
@@ -92,12 +98,6 @@ export async function AppSidebar({
|
|||||||
icon: <Handshake size={16} />,
|
icon: <Handshake size={16} />,
|
||||||
perm_identifier: "device",
|
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>
|
<SidebarMenuButton className="py-6" asChild>
|
||||||
<Link className="text-md" href={item.link}>
|
<Link className="text-md" href={item.link}>
|
||||||
{item.icon}
|
{item.icon}
|
||||||
<span className="opacity-70 ml-2">
|
<span
|
||||||
|
className={`opacity-70 motion-preset-slide-left-md ml-2`}
|
||||||
|
>
|
||||||
{item.title}
|
{item.title}
|
||||||
</span>
|
</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
Reference in New Issue
Block a user