mirror of
https://github.com/danielvici/tool-website.git
synced 2026-01-16 19:41: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 { 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: '',
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user