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" />{' '}
|
||||
</>
|
||||
)}
|
||||
<Button asChild variant="ghost" size="sm" className="size-8">
|
||||
{/* <Button asChild variant="ghost" size="sm" className="size-8">
|
||||
<Link href={preview} passHref target="_blank">
|
||||
<Maximize className="size-4" />
|
||||
</Link>
|
||||
</Button>
|
||||
</Button> */}
|
||||
<Separator
|
||||
orientation="vertical"
|
||||
className="hidden !h-4 lg:block"
|
||||
|
@ -163,118 +163,118 @@ export function getNavbarLinks(): NestedMenuItem[] {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: t('blocks.title'),
|
||||
items: [
|
||||
{
|
||||
title: t('blocks.items.magicui.title'),
|
||||
icon: <ComponentIcon className="size-4 shrink-0" />,
|
||||
href: Routes.MagicuiBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.hero-section.title'),
|
||||
icon: <FlameIcon className="size-4 shrink-0" />,
|
||||
href: Routes.HeroBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.logo-cloud.title'),
|
||||
icon: <SquareCodeIcon className="size-4 shrink-0" />,
|
||||
href: Routes.LogoCloudBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.features.title'),
|
||||
icon: <WandSparklesIcon className="size-4 shrink-0" />,
|
||||
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" />,
|
||||
href: Routes.ContentBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.stats.title'),
|
||||
icon: <ChartNoAxesCombinedIcon className="size-4 shrink-0" />,
|
||||
href: Routes.StatsBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.team.title'),
|
||||
icon: <UsersIcon className="size-4 shrink-0" />,
|
||||
href: Routes.TeamBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.testimonials.title'),
|
||||
icon: <ThumbsUpIcon className="size-4 shrink-0" />,
|
||||
href: Routes.TestimonialsBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.callToAction.title'),
|
||||
icon: <RocketIcon className="size-4 shrink-0" />,
|
||||
href: Routes.CallToActionBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.footer.title'),
|
||||
icon: <FootprintsIcon className="size-4 shrink-0" />,
|
||||
href: Routes.FooterBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.pricing.title'),
|
||||
icon: <CircleDollarSignIcon className="size-4 shrink-0" />,
|
||||
href: Routes.PricingBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.comparator.title'),
|
||||
icon: <SplitSquareVerticalIcon className="size-4 shrink-0" />,
|
||||
href: Routes.ComparatorBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.faq.title'),
|
||||
icon: <CircleHelpIcon className="size-4 shrink-0" />,
|
||||
href: Routes.FAQBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.login.title'),
|
||||
icon: <LogInIcon className="size-4 shrink-0" />,
|
||||
href: Routes.LoginBlocks,
|
||||
external: false,
|
||||
},
|
||||
{
|
||||
title: t('blocks.items.signup.title'),
|
||||
icon: <UserPlusIcon className="size-4 shrink-0" />,
|
||||
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" />,
|
||||
href: Routes.ContactBlocks,
|
||||
external: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// title: t('blocks.title'),
|
||||
// items: [
|
||||
// {
|
||||
// title: t('blocks.items.magicui.title'),
|
||||
// icon: <ComponentIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.MagicuiBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.hero-section.title'),
|
||||
// icon: <FlameIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.HeroBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.logo-cloud.title'),
|
||||
// icon: <SquareCodeIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.LogoCloudBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.features.title'),
|
||||
// icon: <WandSparklesIcon className="size-4 shrink-0" />,
|
||||
// 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" />,
|
||||
// href: Routes.ContentBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.stats.title'),
|
||||
// icon: <ChartNoAxesCombinedIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.StatsBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.team.title'),
|
||||
// icon: <UsersIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.TeamBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.testimonials.title'),
|
||||
// icon: <ThumbsUpIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.TestimonialsBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.callToAction.title'),
|
||||
// icon: <RocketIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.CallToActionBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.footer.title'),
|
||||
// icon: <FootprintsIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.FooterBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.pricing.title'),
|
||||
// icon: <CircleDollarSignIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.PricingBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.comparator.title'),
|
||||
// icon: <SplitSquareVerticalIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.ComparatorBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.faq.title'),
|
||||
// icon: <CircleHelpIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.FAQBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.login.title'),
|
||||
// icon: <LogInIcon className="size-4 shrink-0" />,
|
||||
// href: Routes.LoginBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// {
|
||||
// title: t('blocks.items.signup.title'),
|
||||
// icon: <UserPlusIcon className="size-4 shrink-0" />,
|
||||
// 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" />,
|
||||
// href: Routes.ContactBlocks,
|
||||
// external: false,
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user