mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
Added user type filters and applied them to all tools
This commit is contained in:
@@ -4,11 +4,11 @@ import { lazy } from 'react';
|
||||
export const tool = defineTool('image-generic', {
|
||||
name: 'Compress Image',
|
||||
path: 'compress',
|
||||
component: lazy(() => import('./index')),
|
||||
icon: 'material-symbols-light:compress-rounded',
|
||||
description:
|
||||
'Compress images to reduce file size while maintaining reasonable quality.',
|
||||
shortDescription:
|
||||
'Compress images to reduce file size while maintaining reasonable quality.',
|
||||
keywords: ['image', 'compress', 'reduce', 'quality']
|
||||
'Reduce image file size while maintaining quality. Compress images for easier sharing, uploading, or storage.',
|
||||
shortDescription: 'Compress images to reduce file size',
|
||||
keywords: ['compress', 'image', 'reduce', 'size', 'optimize'],
|
||||
userTypes: ['General Users', 'Students', 'Developers'],
|
||||
component: lazy(() => import('./index'))
|
||||
});
|
||||
|
||||
@@ -4,19 +4,11 @@ import { lazy } from 'react';
|
||||
export const tool = defineTool('image-generic', {
|
||||
name: 'Resize Image',
|
||||
path: 'resize',
|
||||
icon: 'mdi:resize', // Iconify icon as a string
|
||||
icon: 'mdi:resize',
|
||||
description:
|
||||
'Resize JPG, PNG, SVG or GIF images by pixels or percentage while maintaining aspect ratio or not.',
|
||||
shortDescription: 'Resize images easily.',
|
||||
keywords: [
|
||||
'resize',
|
||||
'image',
|
||||
'scale',
|
||||
'jpg',
|
||||
'png',
|
||||
'svg',
|
||||
'gif',
|
||||
'dimensions'
|
||||
],
|
||||
'Resize images to different dimensions while maintaining aspect ratio or custom sizes.',
|
||||
shortDescription: 'Resize images to different dimensions',
|
||||
keywords: ['resize', 'image', 'dimensions', 'scale', 'aspect ratio'],
|
||||
userTypes: ['General Users', 'Students', 'Developers'],
|
||||
component: lazy(() => import('./index'))
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user