mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-21 04:24:02 +01:00
Merge branch 'main' of https://github.com/iib0011/omni-tools into fork/AshAnand34/xml-tools
# Conflicts: # src/tools/defineTool.tsx # src/tools/index.ts
This commit is contained in:
@@ -25,6 +25,7 @@ export type ToolCategory =
|
||||
| 'csv'
|
||||
| 'pdf'
|
||||
| 'image-generic'
|
||||
| 'audio'
|
||||
| 'xml';
|
||||
|
||||
export interface DefinedTool {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { stringTools } from '../pages/tools/string';
|
||||
import { imageTools } from '../pages/tools/image';
|
||||
import { DefinedTool, ToolCategory } from './defineTool';
|
||||
import { capitalizeFirstLetter } from '../utils/string';
|
||||
import { capitalizeFirstLetter } from '@utils/string';
|
||||
import { numberTools } from '../pages/tools/number';
|
||||
import { videoTools } from '../pages/tools/video';
|
||||
import { audioTools } from 'pages/tools/audio';
|
||||
import { listTools } from '../pages/tools/list';
|
||||
import { Entries } from 'type-fest';
|
||||
import { jsonTools } from '../pages/tools/json';
|
||||
@@ -11,21 +12,23 @@ import { csvTools } from '../pages/tools/csv';
|
||||
import { timeTools } from '../pages/tools/time';
|
||||
import { IconifyIcon } from '@iconify/react';
|
||||
import { pdfTools } from '../pages/tools/pdf';
|
||||
import { xmlTools } from 'pages/tools/xml';
|
||||
import { xmlTools } from '../pages/tools/xml';
|
||||
|
||||
const toolCategoriesOrder: ToolCategory[] = [
|
||||
'image-generic',
|
||||
'string',
|
||||
'json',
|
||||
'pdf',
|
||||
'string',
|
||||
'video',
|
||||
'time',
|
||||
'audio',
|
||||
'json',
|
||||
'list',
|
||||
'csv',
|
||||
'number',
|
||||
'png',
|
||||
'time',
|
||||
'gif',
|
||||
'xml'
|
||||
'xml',
|
||||
'gif'
|
||||
];
|
||||
export const tools: DefinedTool[] = [
|
||||
...imageTools,
|
||||
@@ -37,6 +40,7 @@ export const tools: DefinedTool[] = [
|
||||
...videoTools,
|
||||
...numberTools,
|
||||
...timeTools,
|
||||
...audioTools,
|
||||
...xmlTools
|
||||
];
|
||||
const categoriesConfig: {
|
||||
@@ -119,6 +123,12 @@ const categoriesConfig: {
|
||||
value:
|
||||
'Tools for working with pictures – compress, resize, crop, convert to JPG, rotate, remove background and much more.'
|
||||
},
|
||||
{
|
||||
type: 'audio',
|
||||
icon: 'ic:twotone-audiotrack',
|
||||
value:
|
||||
'Tools for working with audio – extract audio from video, adjusting audio speed, merging multiple audio files and much more.'
|
||||
},
|
||||
{
|
||||
type: 'xml',
|
||||
icon: 'mdi-light:xml',
|
||||
|
||||
Reference in New Issue
Block a user