mirror of
https://github.com/danielvici/tool-website.git
synced 2026-01-16 21:51:26 +00:00
add image-format to route and startpage
This commit is contained in:
@@ -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: '',
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user