diff --git a/project-manager-reactive/src/app/app.routing.ts b/project-manager-reactive/src/app/app.routing.ts index 29e5481..4066e7f 100644 --- a/project-manager-reactive/src/app/app.routing.ts +++ b/project-manager-reactive/src/app/app.routing.ts @@ -6,9 +6,10 @@ import {AboutComponent} from './about/about.component'; import {LoginComponent} from './login/index'; import {BlogComponent} from './blog/blog.component'; import {NotFoundComponent} from './not-found/not-found.component'; -import {tasksRoutes, tasksRoutingComponents, tasksRoutingProviders, blogComponents} from './tasks/tasks.routing'; +import {tasksRoutes, tasksRoutingComponents, tasksRoutingProviders} from './tasks/tasks.routing'; import {RxDemoComponent} from './rxdemo/rxdemo.component'; import {LoginGuard} from './login/login.guard'; +import {blogRoutingComponents} from "./blog/blog.routing"; export const appRoutes: Routes = [ {path: 'dashboard', component: DashboardComponent, data: {title: 'Startseite'}}, @@ -33,7 +34,7 @@ export const appRoutes: Routes = [ export const appRouting = RouterModule.forRoot(appRoutes); export const routingComponents = [DashboardComponent, SettingsComponent, AboutComponent, LoginComponent, NotFoundComponent, - RxDemoComponent, ...blogComponents, ...tasksRoutingComponents]; + RxDemoComponent, ...blogRoutingComponents, ...tasksRoutingComponents]; export const routingProviders = [LoginGuard, ...tasksRoutingProviders]; diff --git a/project-manager-reactive/src/app/blog/blog-entry.component.html b/project-manager-reactive/src/app/blog/blog-entry/blog-entry.component.html similarity index 100% rename from project-manager-reactive/src/app/blog/blog-entry.component.html rename to project-manager-reactive/src/app/blog/blog-entry/blog-entry.component.html diff --git a/project-manager-reactive/src/app/blog/blog-entry.component.ts b/project-manager-reactive/src/app/blog/blog-entry/blog-entry.component.ts similarity index 88% rename from project-manager-reactive/src/app/blog/blog-entry.component.ts rename to project-manager-reactive/src/app/blog/blog-entry/blog-entry.component.ts index 5bd3ee6..3f65d49 100644 --- a/project-manager-reactive/src/app/blog/blog-entry.component.ts +++ b/project-manager-reactive/src/app/blog/blog-entry/blog-entry.component.ts @@ -1,6 +1,6 @@ import {Component, Input } from '@angular/core'; import {BlogEntry} from './blog-entry'; -import {BlogComponent} from "./blog.component"; +import {BlogComponent} from "../blog.component"; @Component({ selector: 'blog-entry', diff --git a/project-manager-reactive/src/app/blog/blog-entry.ts b/project-manager-reactive/src/app/blog/blog-entry/blog-entry.ts similarity index 100% rename from project-manager-reactive/src/app/blog/blog-entry.ts rename to project-manager-reactive/src/app/blog/blog-entry/blog-entry.ts diff --git a/project-manager-reactive/src/app/blog/blog.component.html b/project-manager-reactive/src/app/blog/blog.component.html index 622fd07..88f701e 100644 --- a/project-manager-reactive/src/app/blog/blog.component.html +++ b/project-manager-reactive/src/app/blog/blog.component.html @@ -1,4 +1,4 @@ -