From c8e029989673e5c25e0ef5bff7118c564321f7ab Mon Sep 17 00:00:00 2001 From: danielvici123 Date: Sun, 7 Dec 2025 00:49:51 +0100 Subject: [PATCH] add image-format to route and startpage --- src/app/app.routes.ts | 6 ++++++ src/app/sites/startpage/features.json | 28 ++++++++++++++++++++++----- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index d9e74f9..85ec7fc 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -5,6 +5,7 @@ import { GeneratorPassword } from './sites/generator/password/generator-password import { GeneratorQrcode } from './sites/generator/qrcode/generator-qrcode'; import { Comingsoon } from './sites/navbar/comingsoon/comingsoon'; import { About } from './sites/navbar/about/about'; +import { ImageFormatConverter } from './sites/converters/image-format-converter/image-format-converter'; export const routes: Routes = [ { @@ -33,6 +34,11 @@ export const routes: Routes = [ path: 'generators/qrcode', component: GeneratorQrcode, }, + // CONVERTERS + { + path: 'converters/image-format', + component: ImageFormatConverter, + }, { path: '**', redirectTo: '', diff --git a/src/app/sites/startpage/features.json b/src/app/sites/startpage/features.json index 241e83f..314649c 100644 --- a/src/app/sites/startpage/features.json +++ b/src/app/sites/startpage/features.json @@ -18,18 +18,36 @@ ] }, { - "name": "Tests", + "name": "Converters", "enabled": true, "tools": [ { - "name": "Test 1", - "description": "This is a just test description.", + "name": "Image format converter", + "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", "enabled": true }, { - "name": "Test 2", - "description": "This is a just test description.", + "name": "Template 2", + "description": "This is a just Template description.", "link": "/test", "enabled": false }