52 lines
1.4 KiB
TypeScript
52 lines
1.4 KiB
TypeScript
// components/utilities/laser-toolkit/registry.ts
|
|
"use client";
|
|
|
|
import dynamic from "next/dynamic";
|
|
|
|
export type ToolkitTab = {
|
|
key: string; // used in ?lt=<key>
|
|
label: string; // tab label
|
|
component: React.ComponentType<{}>;
|
|
};
|
|
|
|
/**
|
|
* Points directly at your existing files:
|
|
* - beam-spot-size/page.tsx
|
|
* - dpi-lpi-dpcm/page.tsx
|
|
* - hatch-overlap/page.tsx
|
|
* - job-time-estimator/page.tsx
|
|
* - power-lens-scaler/page.tsx
|
|
* - pulse-overlap/page.tsx
|
|
*/
|
|
export const TOOLKIT_TABS: ToolkitTab[] = [
|
|
{
|
|
key: "beam-spot-size",
|
|
label: "Beam Spot Size",
|
|
component: dynamic(() => import("./beam-spot-size/page"), { ssr: false }),
|
|
},
|
|
{
|
|
key: "dpi-lpi-dpcm",
|
|
label: "DPI / LPI / DPCM",
|
|
component: dynamic(() => import("./dpi-lpi-dpcm/page"), { ssr: false }),
|
|
},
|
|
{
|
|
key: "hatch-overlap",
|
|
label: "Hatch Overlap",
|
|
component: dynamic(() => import("./hatch-overlap/page"), { ssr: false }),
|
|
},
|
|
{
|
|
key: "job-time-estimator",
|
|
label: "Job Time Estimator",
|
|
component: dynamic(() => import("./job-time-estimator/page"), { ssr: false }),
|
|
},
|
|
{
|
|
key: "power-lens-scaler",
|
|
label: "Power / Lens Scaler",
|
|
component: dynamic(() => import("./power-lens-scaler/page"), { ssr: false }),
|
|
},
|
|
{
|
|
key: "pulse-overlap",
|
|
label: "Pulse Overlap",
|
|
component: dynamic(() => import("./pulse-overlap/page"), { ssr: false }),
|
|
},
|
|
];
|