Clean up indentation
This commit is contained in:
parent
2b2bbeb5a5
commit
622fbda79f
@ -14,58 +14,56 @@ export interface AdminConfigSection {
|
|||||||
icon: React.ReactNode;
|
icon: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
const ADMIN_CONFIG_SECTIONS = [
|
const ADMIN_CONFIG_SECTIONS = [{
|
||||||
{
|
title: 'Storage',
|
||||||
title: 'Storage',
|
required: true,
|
||||||
required: true,
|
icon: <BiData size={16} className="translate-y-[1px]" />,
|
||||||
icon: <BiData size={16} className="translate-y-[1px]" />,
|
}, {
|
||||||
}, {
|
title: 'Authentication',
|
||||||
title: 'Authentication',
|
required: true,
|
||||||
required: true,
|
icon: <BiLockAlt size={16} />,
|
||||||
icon: <BiLockAlt size={16} />,
|
}, {
|
||||||
}, {
|
title: 'Content',
|
||||||
title: 'Content',
|
required: true,
|
||||||
required: true,
|
icon: <BiPencil size={16} />,
|
||||||
icon: <BiPencil size={16} />,
|
}, {
|
||||||
}, {
|
title: 'AI Text Generation',
|
||||||
title: 'AI Text Generation',
|
titleShort: 'AI',
|
||||||
titleShort: 'AI',
|
required: false,
|
||||||
required: false,
|
icon: <HiSparkles size={14} />,
|
||||||
icon: <HiSparkles size={14} />,
|
}, {
|
||||||
}, {
|
title: 'Performance',
|
||||||
title: 'Performance',
|
required: false,
|
||||||
required: false,
|
icon: <RiSpeedMiniLine size={19} className="translate-y-[1px]" />,
|
||||||
icon: <RiSpeedMiniLine size={19} className="translate-y-[1px]" />,
|
}, {
|
||||||
}, {
|
title: 'Categories',
|
||||||
title: 'Categories',
|
required: false,
|
||||||
required: false,
|
icon: <FaRegFolderClosed size={15} />,
|
||||||
icon: <FaRegFolderClosed size={15} />,
|
}, {
|
||||||
}, {
|
title: 'Sorting',
|
||||||
title: 'Sorting',
|
required: false,
|
||||||
required: false,
|
icon: <IconSort size={18} className="translate-y-[2px]" />,
|
||||||
icon: <IconSort size={18} className="translate-y-[2px]" />,
|
}, {
|
||||||
}, {
|
title: 'Display',
|
||||||
title: 'Display',
|
required: false,
|
||||||
required: false,
|
icon: <BiHide size={18} className="translate-y-[1px]" />,
|
||||||
icon: <BiHide size={18} className="translate-y-[1px]" />,
|
}, {
|
||||||
}, {
|
title: 'Grid',
|
||||||
title: 'Grid',
|
required: false,
|
||||||
required: false,
|
icon: <IoMdGrid size={17} className="translate-y-[1px]" />,
|
||||||
icon: <IoMdGrid size={17} className="translate-y-[1px]" />,
|
}, {
|
||||||
}, {
|
title: 'Design',
|
||||||
title: 'Design',
|
required: false,
|
||||||
required: false,
|
icon: <PiPaintBrushHousehold size={19} />,
|
||||||
icon: <PiPaintBrushHousehold size={19} />,
|
}, {
|
||||||
}, {
|
title: 'Settings',
|
||||||
title: 'Settings',
|
required: false,
|
||||||
required: false,
|
icon: <HiOutlineCog size={17} className="translate-y-[0.5px]" />,
|
||||||
icon: <HiOutlineCog size={17} className="translate-y-[0.5px]" />,
|
}, {
|
||||||
}, {
|
title: 'Internal',
|
||||||
title: 'Internal',
|
required: false,
|
||||||
required: false,
|
icon: <CgDebug size={18} className="translate-y-[1px]" />,
|
||||||
icon: <CgDebug size={18} className="translate-y-[1px]" />,
|
}] as const satisfies AdminConfigSection[];
|
||||||
},
|
|
||||||
] as const satisfies AdminConfigSection[];
|
|
||||||
|
|
||||||
export type ConfigSectionKey = typeof ADMIN_CONFIG_SECTIONS[number]['title'];
|
export type ConfigSectionKey = typeof ADMIN_CONFIG_SECTIONS[number]['title'];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user