add image-format to route and startpage

This commit is contained in:
danielvici123
2025-12-07 00:49:51 +01:00
parent c0e849aab9
commit c8e0299896
2 changed files with 29 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ import { GeneratorPassword } from './sites/generator/password/generator-password
import { GeneratorQrcode } from './sites/generator/qrcode/generator-qrcode'; import { GeneratorQrcode } from './sites/generator/qrcode/generator-qrcode';
import { Comingsoon } from './sites/navbar/comingsoon/comingsoon'; import { Comingsoon } from './sites/navbar/comingsoon/comingsoon';
import { About } from './sites/navbar/about/about'; import { About } from './sites/navbar/about/about';
import { ImageFormatConverter } from './sites/converters/image-format-converter/image-format-converter';
export const routes: Routes = [ export const routes: Routes = [
{ {
@@ -33,6 +34,11 @@ export const routes: Routes = [
path: 'generators/qrcode', path: 'generators/qrcode',
component: GeneratorQrcode, component: GeneratorQrcode,
}, },
// CONVERTERS
{
path: 'converters/image-format',
component: ImageFormatConverter,
},
{ {
path: '**', path: '**',
redirectTo: '', redirectTo: '',

View File

@@ -18,18 +18,36 @@
] ]
}, },
{ {
"name": "Tests", "name": "Converters",
"enabled": true, "enabled": true,
"tools": [ "tools": [
{ {
"name": "Test 1", "name": "Image format converter",
"description": "This is a just test description.", "description": "Convert images to different formats",
"link": "/converters/image-format",
"enabled": true
},
{
"name": "Template 2",
"description": "This is a just Template description.",
"link": "/test",
"enabled": false
}
]
},
{
"name": "Template",
"enabled": false,
"tools": [
{
"name": "Template 1",
"description": "This is a just Template description.",
"link": "/test", "link": "/test",
"enabled": true "enabled": true
}, },
{ {
"name": "Test 2", "name": "Template 2",
"description": "This is a just test description.", "description": "This is a just Template description.",
"link": "/test", "link": "/test",
"enabled": false "enabled": false
} }