feat: add export data entrance

This commit is contained in:
DIYgod 2022-10-11 11:29:21 +01:00
parent 74121264df
commit 027d2ed220
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ export const SettingsLayout: React.FC<{
},
{ text: "Domains", href: `/dashboard/${subdomain}/settings/domains` },
{ text: "Custom CSS", href: `/dashboard/${subdomain}/settings/css` },
{
text: "Export data",
href: `https://export.crossbell.io/?handle=${subdomain}`,
},
]
: [{ text: "Profile", href: `/dashboard/${subdomain}/account/profile` }]
).map((item) => ({ ...item, active: router.asPath === item.href }))