Create new tool

This commit is contained in:
Habib
2024-06-28 11:29:40 +02:00
parent ac63c0e357
commit 47ae5c7202
5 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import { expect, describe, it } from 'vitest';
// import { } from './service';
//
// describe('convert-jgp-to-png', () => {
//
// })

View File

@@ -0,0 +1,11 @@
import { Box } from '@mui/material';
import React from 'react';
import * as Yup from 'yup';
const initialValues = {};
const validationSchema = Yup.object({
// splitSeparator: Yup.string().required('The separator is required')
});
export default function ConvertJgpToPng() {
return <Box>Lorem ipsum</Box>;
}

View File

@@ -0,0 +1,14 @@
import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
// import image from '@assets/text.png';
export const tool = defineTool('png', {
name: 'Convert jgp to png',
path: 'convert-jgp-to-png',
// image,
description:
'Quickly your JPG images to PNG. Just import your PNG image in the editor on the left',
shortDescription: '',
keywords: ['convert', 'jgp', 'to', 'png'],
component: lazy(() => import('./index'))
});

View File

@@ -1,3 +1,4 @@
import { tool as pngConvertJgpToPng } from './convert-jgp-to-png/meta';
import { tool as pngCreateTransparent } from './create-transparent/meta';
import { tool as changeColorsInPng } from './change-colors-in-png/meta';