chore: move tailark components from /src/app to /src/components (cf deployment error: too many open files)
This commit is contained in:
parent
2cdc520b1d
commit
5b50e62774
@ -219,11 +219,11 @@ export const BlockPreview: React.FC<BlockPreviewProps> = ({
|
|||||||
<Separator orientation="vertical" className="!h-4" />{' '}
|
<Separator orientation="vertical" className="!h-4" />{' '}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<Button asChild variant="ghost" size="sm" className="size-8">
|
{/* <Button asChild variant="ghost" size="sm" className="size-8">
|
||||||
<Link href={preview} passHref target="_blank">
|
<Link href={preview} passHref target="_blank">
|
||||||
<Maximize className="size-4" />
|
<Maximize className="size-4" />
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button> */}
|
||||||
<Separator
|
<Separator
|
||||||
orientation="vertical"
|
orientation="vertical"
|
||||||
className="hidden !h-4 lg:block"
|
className="hidden !h-4 lg:block"
|
||||||
|
@ -163,118 +163,118 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: t('blocks.title'),
|
// title: t('blocks.title'),
|
||||||
items: [
|
// items: [
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.magicui.title'),
|
// title: t('blocks.items.magicui.title'),
|
||||||
icon: <ComponentIcon className="size-4 shrink-0" />,
|
// icon: <ComponentIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.MagicuiBlocks,
|
// href: Routes.MagicuiBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.hero-section.title'),
|
// title: t('blocks.items.hero-section.title'),
|
||||||
icon: <FlameIcon className="size-4 shrink-0" />,
|
// icon: <FlameIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.HeroBlocks,
|
// href: Routes.HeroBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.logo-cloud.title'),
|
// title: t('blocks.items.logo-cloud.title'),
|
||||||
icon: <SquareCodeIcon className="size-4 shrink-0" />,
|
// icon: <SquareCodeIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.LogoCloudBlocks,
|
// href: Routes.LogoCloudBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.features.title'),
|
// title: t('blocks.items.features.title'),
|
||||||
icon: <WandSparklesIcon className="size-4 shrink-0" />,
|
// icon: <WandSparklesIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.FeaturesBlocks,
|
// href: Routes.FeaturesBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.integrations.title'),
|
// title: t('blocks.items.integrations.title'),
|
||||||
icon: <SnowflakeIcon className="size-4 shrink-0" />,
|
// icon: <SnowflakeIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.IntegrationsBlocks,
|
// href: Routes.IntegrationsBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.content.title'),
|
// title: t('blocks.items.content.title'),
|
||||||
icon: <NewspaperIcon className="size-4 shrink-0" />,
|
// icon: <NewspaperIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.ContentBlocks,
|
// href: Routes.ContentBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.stats.title'),
|
// title: t('blocks.items.stats.title'),
|
||||||
icon: <ChartNoAxesCombinedIcon className="size-4 shrink-0" />,
|
// icon: <ChartNoAxesCombinedIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.StatsBlocks,
|
// href: Routes.StatsBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.team.title'),
|
// title: t('blocks.items.team.title'),
|
||||||
icon: <UsersIcon className="size-4 shrink-0" />,
|
// icon: <UsersIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.TeamBlocks,
|
// href: Routes.TeamBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.testimonials.title'),
|
// title: t('blocks.items.testimonials.title'),
|
||||||
icon: <ThumbsUpIcon className="size-4 shrink-0" />,
|
// icon: <ThumbsUpIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.TestimonialsBlocks,
|
// href: Routes.TestimonialsBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.callToAction.title'),
|
// title: t('blocks.items.callToAction.title'),
|
||||||
icon: <RocketIcon className="size-4 shrink-0" />,
|
// icon: <RocketIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.CallToActionBlocks,
|
// href: Routes.CallToActionBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.footer.title'),
|
// title: t('blocks.items.footer.title'),
|
||||||
icon: <FootprintsIcon className="size-4 shrink-0" />,
|
// icon: <FootprintsIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.FooterBlocks,
|
// href: Routes.FooterBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.pricing.title'),
|
// title: t('blocks.items.pricing.title'),
|
||||||
icon: <CircleDollarSignIcon className="size-4 shrink-0" />,
|
// icon: <CircleDollarSignIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.PricingBlocks,
|
// href: Routes.PricingBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.comparator.title'),
|
// title: t('blocks.items.comparator.title'),
|
||||||
icon: <SplitSquareVerticalIcon className="size-4 shrink-0" />,
|
// icon: <SplitSquareVerticalIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.ComparatorBlocks,
|
// href: Routes.ComparatorBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.faq.title'),
|
// title: t('blocks.items.faq.title'),
|
||||||
icon: <CircleHelpIcon className="size-4 shrink-0" />,
|
// icon: <CircleHelpIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.FAQBlocks,
|
// href: Routes.FAQBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.login.title'),
|
// title: t('blocks.items.login.title'),
|
||||||
icon: <LogInIcon className="size-4 shrink-0" />,
|
// icon: <LogInIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.LoginBlocks,
|
// href: Routes.LoginBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.signup.title'),
|
// title: t('blocks.items.signup.title'),
|
||||||
icon: <UserPlusIcon className="size-4 shrink-0" />,
|
// icon: <UserPlusIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.SignupBlocks,
|
// href: Routes.SignupBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.forgot-password.title'),
|
// title: t('blocks.items.forgot-password.title'),
|
||||||
icon: <LockKeyholeIcon className="size-4 shrink-0" />,
|
// icon: <LockKeyholeIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.ForgotPasswordBlocks,
|
// href: Routes.ForgotPasswordBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
title: t('blocks.items.contact.title'),
|
// title: t('blocks.items.contact.title'),
|
||||||
icon: <MailIcon className="size-4 shrink-0" />,
|
// icon: <MailIcon className="size-4 shrink-0" />,
|
||||||
href: Routes.ContactBlocks,
|
// href: Routes.ContactBlocks,
|
||||||
external: false,
|
// external: false,
|
||||||
},
|
// },
|
||||||
],
|
// ],
|
||||||
},
|
// },
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user