diff --git a/apps/taiga-lumbermill/src/components/app/app.component.html b/apps/taiga-lumbermill/src/app/app.component.html similarity index 100% rename from apps/taiga-lumbermill/src/components/app/app.component.html rename to apps/taiga-lumbermill/src/app/app.component.html diff --git a/apps/taiga-lumbermill/src/components/app/app.component.ts b/apps/taiga-lumbermill/src/app/app.component.ts similarity index 85% rename from apps/taiga-lumbermill/src/components/app/app.component.ts rename to apps/taiga-lumbermill/src/app/app.component.ts index cedef18ce..6187f9b7d 100644 --- a/apps/taiga-lumbermill/src/components/app/app.component.ts +++ b/apps/taiga-lumbermill/src/app/app.component.ts @@ -2,7 +2,7 @@ import {ChangeDetectionStrategy, Component, inject} from '@angular/core'; import {RouterModule} from '@angular/router'; import {TUI_DARK_MODE, TuiRoot} from '@taiga-ui/core'; -import {NavigationComponent} from '../navigation/navigation.component'; +import {NavigationComponent} from '../components/navigation/navigation.component'; @Component({ standalone: true, diff --git a/apps/taiga-lumbermill/src/components/app/app.config.server.ts b/apps/taiga-lumbermill/src/app/app.config.server.ts similarity index 100% rename from apps/taiga-lumbermill/src/components/app/app.config.server.ts rename to apps/taiga-lumbermill/src/app/app.config.server.ts diff --git a/apps/taiga-lumbermill/src/components/app/app.config.ts b/apps/taiga-lumbermill/src/app/app.config.ts similarity index 100% rename from apps/taiga-lumbermill/src/components/app/app.config.ts rename to apps/taiga-lumbermill/src/app/app.config.ts diff --git a/apps/taiga-lumbermill/src/components/app/app.routes.ts b/apps/taiga-lumbermill/src/app/app.routes.ts similarity index 61% rename from apps/taiga-lumbermill/src/components/app/app.routes.ts rename to apps/taiga-lumbermill/src/app/app.routes.ts index e28a3502f..f53584380 100644 --- a/apps/taiga-lumbermill/src/components/app/app.routes.ts +++ b/apps/taiga-lumbermill/src/app/app.routes.ts @@ -4,18 +4,18 @@ export const appRoutes: Route[] = [ { path: 'dashboards', loadComponent: async () => - import('../list/list.component').then((mod) => mod.ListComponent), + import('../components/list/list.component').then((mod) => mod.ListComponent), }, { path: 'dashboards/iot', loadComponent: async () => - import('../../dashboards/iot/iot.component').then((mod) => mod.IotComponent), + import('../dashboards/iot/iot.component').then((mod) => mod.IotComponent), data: {title: 'Iot'}, }, { path: 'dashboards/crypto', loadComponent: async () => - import('../../dashboards/crypto/crypto.component').then( + import('../dashboards/crypto/crypto.component').then( (mod) => mod.CryptoComponent, ), data: {title: 'Crypto'}, @@ -23,33 +23,31 @@ export const appRoutes: Route[] = [ { path: 'pages', loadComponent: async () => - import('../list/list.component').then((mod) => mod.ListComponent), + import('../components/list/list.component').then((mod) => mod.ListComponent), }, { path: 'pages/login', loadComponent: async () => - import('../../features/login/login.component').then( - (mod) => mod.LoginComponent, - ), + import('../features/login/login.component').then((mod) => mod.LoginComponent), }, { path: 'pages/sign-up', loadComponent: async () => - import('../../features/sign-up/sign-up.component').then( + import('../features/sign-up/sign-up.component').then( (mod) => mod.SignUpComponent, ), }, { path: 'color-generator', loadComponent: async () => - import('../../features/theme-generator/theme-generator.component').then( + import('../features/theme-generator/theme-generator.component').then( (mod) => mod.ThemeGeneratorComponent, ), }, { path: '', loadComponent: async () => - import('../../components/common-page/common-page.component').then( + import('../components/common-page/common-page.component').then( (mod) => mod.CommonPageComponent, ), }, diff --git a/apps/taiga-lumbermill/src/components/common-page/common-page.component.less b/apps/taiga-lumbermill/src/components/common-page/common-page.component.less index 05569cba6..2e5f59a7e 100644 --- a/apps/taiga-lumbermill/src/components/common-page/common-page.component.less +++ b/apps/taiga-lumbermill/src/components/common-page/common-page.component.less @@ -14,7 +14,7 @@ } .action-button { - margin: 0 auto; + margin: 1rem auto; } .cards { diff --git a/apps/taiga-lumbermill/src/components/list/list.component.html b/apps/taiga-lumbermill/src/components/list/list.component.html index aa6e4f18d..dc28a3fac 100644 --- a/apps/taiga-lumbermill/src/components/list/list.component.html +++ b/apps/taiga-lumbermill/src/components/list/list.component.html @@ -18,6 +18,7 @@ tuiCardLarge tuiHeader tuiSurface="elevated" + class="lmb-list-card" [routerLink]="card.link" >