feat: add nav menus for integrations blocks and forgot-password blocks
This commit is contained in:
parent
d5ae61d481
commit
0a8934a6cf
@ -361,12 +361,15 @@
|
||||
"blocks": {
|
||||
"title": "Blocks",
|
||||
"items": {
|
||||
"hero": {
|
||||
"hero-section": {
|
||||
"title": "Hero Blocks"
|
||||
},
|
||||
"logo": {
|
||||
"logo-cloud": {
|
||||
"title": "Logo Cloud Blocks"
|
||||
},
|
||||
"integrations": {
|
||||
"title": "Integrations Blocks"
|
||||
},
|
||||
"features": {
|
||||
"title": "Features Blocks"
|
||||
},
|
||||
@ -403,6 +406,9 @@
|
||||
"signup": {
|
||||
"title": "Signup Blocks"
|
||||
},
|
||||
"forgot-password": {
|
||||
"title": "Forgot Password Blocks"
|
||||
},
|
||||
"contact": {
|
||||
"title": "Contact Blocks"
|
||||
}
|
||||
|
@ -362,15 +362,18 @@
|
||||
"blocks": {
|
||||
"title": "内置组件",
|
||||
"items": {
|
||||
"hero": {
|
||||
"hero-section": {
|
||||
"title": "Hero 组件"
|
||||
},
|
||||
"logoCloud": {
|
||||
"logo-cloud": {
|
||||
"title": "Logo Cloud 组件"
|
||||
},
|
||||
"features": {
|
||||
"title": "Features 组件"
|
||||
},
|
||||
"integrations": {
|
||||
"title": "Integrations 组件"
|
||||
},
|
||||
"content": {
|
||||
"title": "Content 组件"
|
||||
},
|
||||
@ -401,9 +404,12 @@
|
||||
"login": {
|
||||
"title": "Login 组件"
|
||||
},
|
||||
"signup": {
|
||||
"sign-up": {
|
||||
"title": "Signup 组件"
|
||||
},
|
||||
"forgot-password": {
|
||||
"title": "Forgot Password 组件"
|
||||
},
|
||||
"contact": {
|
||||
"title": "Contact 组件"
|
||||
}
|
||||
|
@ -15,12 +15,14 @@ import {
|
||||
FootprintsIcon,
|
||||
ImageIcon,
|
||||
ListChecksIcon,
|
||||
LockKeyholeIcon,
|
||||
LogInIcon,
|
||||
MailIcon,
|
||||
MailboxIcon,
|
||||
NewspaperIcon,
|
||||
RocketIcon,
|
||||
ShieldCheckIcon,
|
||||
SnowflakeIcon,
|
||||
SplitSquareVerticalIcon,
|
||||
SquareCodeIcon,
|
||||
SquareKanbanIcon,
|
||||
@ -161,15 +163,15 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
||||
title: t('blocks.title'),
|
||||
items: [
|
||||
{
|
||||
title: t('blocks.items.hero.title'),
|
||||
title: t('blocks.items.hero-section.title'),
|
||||
icon: <FlameIcon className="size-4 shrink-0" />,
|
||||
href: Routes.HeroBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.logo.title'),
|
||||
title: t('blocks.items.logo-cloud.title'),
|
||||
icon: <SquareCodeIcon className="size-4 shrink-0" />,
|
||||
href: Routes.LogoBlocks,
|
||||
href: Routes.LogoCloudBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
@ -178,6 +180,12 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
||||
href: Routes.FeaturesBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.integrations.title'),
|
||||
icon: <SnowflakeIcon className="size-4 shrink-0" />,
|
||||
href: Routes.IntegrationsBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.content.title'),
|
||||
icon: <NewspaperIcon className="size-4 shrink-0" />,
|
||||
@ -244,6 +252,12 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
||||
href: Routes.SignupBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.forgot-password.title'),
|
||||
icon: <LockKeyholeIcon className="size-4 shrink-0" />,
|
||||
href: Routes.ForgotPasswordBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.contact.title'),
|
||||
icon: <MailIcon className="size-4 shrink-0" />,
|
||||
|
@ -42,8 +42,9 @@ export enum Routes {
|
||||
|
||||
// block routes
|
||||
HeroBlocks = '/blocks/hero-section',
|
||||
LogoBlocks = '/blocks/logo-cloud',
|
||||
LogoCloudBlocks = '/blocks/logo-cloud',
|
||||
FeaturesBlocks = '/blocks/features',
|
||||
IntegrationsBlocks = '/blocks/integrations',
|
||||
ContentBlocks = '/blocks/content',
|
||||
StatsBlocks = '/blocks/stats',
|
||||
TeamBlocks = '/blocks/team',
|
||||
@ -54,7 +55,8 @@ export enum Routes {
|
||||
ComparatorBlocks = '/blocks/comparator',
|
||||
FAQBlocks = '/blocks/faqs',
|
||||
LoginBlocks = '/blocks/login',
|
||||
SignupBlocks = '/blocks/signup',
|
||||
SignupBlocks = '/blocks/sign-up',
|
||||
ForgotPasswordBlocks = '/blocks/forgot-password',
|
||||
ContactBlocks = '/blocks/contact',
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user