mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-11-06 04:03:50 +08:00
ARTEX — AI 自主渗透测试系统(Go 后端 + Next.js 前端,单二进制内嵌)。 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
33 lines
1.3 KiB
TypeScript
33 lines
1.3 KiB
TypeScript
// Sidebar Variant
|
|
export const SIDEBAR_VARIANT_OPTIONS = [
|
|
{ label: "Sidebar", value: "sidebar" },
|
|
{ label: "Inset", value: "inset" },
|
|
{ label: "Floating", value: "floating" },
|
|
] as const;
|
|
export const SIDEBAR_VARIANT_VALUES = SIDEBAR_VARIANT_OPTIONS.map((v) => v.value);
|
|
export type SidebarVariant = (typeof SIDEBAR_VARIANT_VALUES)[number];
|
|
|
|
// Sidebar Collapsible
|
|
export const SIDEBAR_COLLAPSIBLE_OPTIONS = [
|
|
{ label: "Icon", value: "icon" },
|
|
{ label: "Offcanvas", value: "offcanvas" },
|
|
] as const;
|
|
export const SIDEBAR_COLLAPSIBLE_VALUES = SIDEBAR_COLLAPSIBLE_OPTIONS.map((v) => v.value);
|
|
export type SidebarCollapsible = (typeof SIDEBAR_COLLAPSIBLE_VALUES)[number];
|
|
|
|
// Content Layout
|
|
export const CONTENT_LAYOUT_OPTIONS = [
|
|
{ label: "Centered", value: "centered" },
|
|
{ label: "Full Width", value: "full-width" },
|
|
] as const;
|
|
export const CONTENT_LAYOUT_VALUES = CONTENT_LAYOUT_OPTIONS.map((v) => v.value);
|
|
export type ContentLayout = (typeof CONTENT_LAYOUT_VALUES)[number];
|
|
|
|
// Navbar Style
|
|
export const NAVBAR_STYLE_OPTIONS = [
|
|
{ label: "Sticky", value: "sticky" },
|
|
{ label: "Scroll", value: "scroll" },
|
|
] as const;
|
|
export const NAVBAR_STYLE_VALUES = NAVBAR_STYLE_OPTIONS.map((v) => v.value);
|
|
export type NavbarStyle = (typeof NAVBAR_STYLE_VALUES)[number];
|