This commit is contained in:
Anthony Stirling 2025-09-22 12:09:16 +01:00
parent aaafa12bc7
commit 5852b27d49
3 changed files with 7 additions and 2 deletions

View File

@ -160,7 +160,7 @@ export function useFlatToolRegistry(): ToolRegistry {
const allTools: ToolRegistry = { const allTools: ToolRegistry = {
// Signing // Signing
certSign: { manageSignatures: {
icon: <LocalIcon icon="workspace-premium-rounded" width="1.5rem" height="1.5rem" />, icon: <LocalIcon icon="workspace-premium-rounded" width="1.5rem" height="1.5rem" />,
name: t("home.certSign.title", "Certificate Sign"), name: t("home.certSign.title", "Certificate Sign"),
component: ManageSignatures, component: ManageSignatures,
@ -399,7 +399,7 @@ export function useFlatToolRegistry(): ToolRegistry {
categoryId: ToolCategoryId.STANDARD_TOOLS, categoryId: ToolCategoryId.STANDARD_TOOLS,
subcategoryId: SubcategoryId.PAGE_FORMATTING, subcategoryId: SubcategoryId.PAGE_FORMATTING,
}, },
"booklet-imposition": { bookletImposition: {
icon: <LocalIcon icon="menu-book-rounded" width="1.5rem" height="1.5rem" />, icon: <LocalIcon icon="menu-book-rounded" width="1.5rem" height="1.5rem" />,
name: t("home.bookletImposition.title", "Booklet Imposition"), name: t("home.bookletImposition.title", "Booklet Imposition"),
component: BookletImposition, component: BookletImposition,

View File

@ -55,6 +55,8 @@ const TOOL_IDS = [
'devFolderScanning', 'devFolderScanning',
'devSsoGuide', 'devSsoGuide',
'devAirgapped', 'devAirgapped',
'bookletImposition',
'manageSignatures',
] as const; ] as const;
// Tool identity - what PDF operation we're performing (type-safe) // Tool identity - what PDF operation we're performing (type-safe)

View File

@ -31,4 +31,7 @@ export const URL_TO_TOOL_MAP: Record<string, ToolId> = {
'/unlock-pdf-forms': 'unlockPDFForms', '/unlock-pdf-forms': 'unlockPDFForms',
'/remove-certificate-sign': 'removeCertSign', '/remove-certificate-sign': 'removeCertSign',
'/remove-cert-sign': 'removeCertSign', '/remove-cert-sign': 'removeCertSign',
'/cert-sign': 'manageSignatures',
'/manage-signatures': 'manageSignatures',
'/booklet-imposition': 'bookletImposition',
}; };