feat: add Bates numbering tool with PDF processing capabilities
- Implemented bates-numbering-page.ts for handling Bates numbering logic. - Created a new HTML page for Bates numbering functionality. - Added style presets and file handling for multiple PDF uploads. - Integrated user interface elements for file selection, style customization, and preview. - Enhanced main.ts to support collapsible categories and compact mode for tool grid. - Updated types for Bates numbering in bates-numbering-type.ts. - Registered the new tool in tools.html and updated routing in vite.config.ts.
This commit is contained in:
@@ -508,6 +508,12 @@
|
||||
category: 'editor',
|
||||
icon: 'list-numbers',
|
||||
},
|
||||
{
|
||||
name: 'bates-numbering',
|
||||
title: 'Bates Numbering',
|
||||
category: 'editor',
|
||||
icon: 'hash',
|
||||
},
|
||||
{
|
||||
name: 'background-color',
|
||||
title: 'Background Color',
|
||||
@@ -821,7 +827,7 @@
|
||||
grid.innerHTML = filtered
|
||||
.map(
|
||||
(tool) => `
|
||||
<a href="/src/pages/${tool.name}.html" class="tool-card">
|
||||
<a href="/${tool.name}.html" class="tool-card">
|
||||
<i class="ph ph-${tool.icon} text-4xl text-indigo-400 mb-2"></i>
|
||||
<h3 class="font-semibold text-white text-sm">${tool.title}</h3>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user