Added user type filters and applied them to all tools

This commit is contained in:
AshAnand34
2025-07-12 11:02:15 -07:00
parent 18ba3f70d8
commit 4a7e6299d9
76 changed files with 296 additions and 158 deletions

View File

@@ -24,5 +24,6 @@ export const tool = defineTool('pdf', {
],
longDescription:
'Compress PDF files securely in your browser using Ghostscript. Your files never leave your device, ensuring complete privacy while reducing file sizes for email sharing, uploading to websites, or saving storage space. Powered by WebAssembly technology.',
userTypes: ['General Users', 'Students', 'Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -24,5 +24,6 @@ export const tool = defineTool('pdf', {
'annotation',
'markup'
],
userTypes: ['General Users', 'Students', 'Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -8,5 +8,6 @@ export const meta = defineTool('pdf', {
icon: 'material-symbols-light:merge',
component: lazy(() => import('./index')),
keywords: ['pdf', 'merge', 'extract', 'pages', 'combine', 'document'],
path: 'merge-pdf'
path: 'merge-pdf',
userTypes: ['General Users', 'Students', 'Developers']
});

View File

@@ -9,5 +9,6 @@ export const meta = defineTool('pdf', {
icon: 'material-symbols:import-contacts',
component: lazy(() => import('./index')),
keywords: ['pdf', 'epub', 'convert', 'ebook'],
path: 'pdf-to-epub'
path: 'pdf-to-epub',
userTypes: ['General Users', 'Students', 'Developers']
});

View File

@@ -10,5 +10,6 @@ export const tool = defineTool('pdf', {
keywords: ['pdf', 'png', 'convert', 'image', 'extract', 'pages'],
longDescription:
'Upload a PDF and convert each page into a high-quality PNG image directly in your browser. This tool is ideal for extracting visual content or sharing individual pages. No data is uploaded — everything runs locally.',
userTypes: ['General Users', 'Students', 'Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -23,5 +23,6 @@ export const tool = defineTool('pdf', {
],
longDescription:
'Add password protection to your PDF files securely in your browser. Your files never leave your device, ensuring complete privacy while securing your documents with password encryption. Perfect for protecting sensitive information, confidential documents, or personal data.',
userTypes: ['General Users', 'Students', 'Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -10,5 +10,6 @@ export const tool = defineTool('pdf', {
keywords: ['pdf', 'rotate', 'rotation', 'document', 'pages', 'orientation'],
longDescription:
'Change the orientation of PDF pages by rotating them 90, 180, or 270 degrees. Useful for fixing incorrectly scanned documents or preparing PDFs for printing.',
userTypes: ['General Users', 'Students', 'Developers'],
component: lazy(() => import('./index'))
});

View File

@@ -9,5 +9,6 @@ export const meta = defineTool('pdf', {
icon: 'material-symbols-light:call-split-rounded',
component: lazy(() => import('./index')),
keywords: ['pdf', 'split', 'extract', 'pages', 'range', 'document'],
path: 'split-pdf'
path: 'split-pdf',
userTypes: ['General Users', 'Students', 'Developers']
});