diff --git a/src/app/components/creator/comment-creator-page/comment-creator-page.component.html b/src/app/components/creator/comment-creator-page/comment-creator-page.component.html index 2eb33ef8b8a1dacff86da183c50cdf7082b26b2b..cb304da36e93923b448b9828927e96afbd907ab6 100644 --- a/src/app/components/creator/comment-creator-page/comment-creator-page.component.html +++ b/src/app/components/creator/comment-creator-page/comment-creator-page.component.html @@ -1,3 +1,3 @@ -<p> - comment-creator-page works! -</p> +<div fxLayout="row" fxLayoutAlign="center"> + <app-comment-list></app-comment-list> +</div> diff --git a/src/app/components/creator/comment-creator-page/comment-creator-page.component.scss b/src/app/components/creator/comment-creator-page/comment-creator-page.component.scss index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..501394eb496b8c96db882589073de268cfcb434a 100644 --- a/src/app/components/creator/comment-creator-page/comment-creator-page.component.scss +++ b/src/app/components/creator/comment-creator-page/comment-creator-page.component.scss @@ -0,0 +1,4 @@ +app-comment-list { + width: 100%; + max-width: 800px; +} diff --git a/src/app/components/creator/creator-routing.module.ts b/src/app/components/creator/creator-routing.module.ts index 8f5d6276a24767d2f2014ce5da03d676aea7db51..37cc87063de37571aba54ebc76be84f41371afa9 100644 --- a/src/app/components/creator/creator-routing.module.ts +++ b/src/app/components/creator/creator-routing.module.ts @@ -6,11 +6,11 @@ import { UserRole } from '../../models/user-roles.enum'; import { RoomCreatorPageComponent } from './room-creator-page/room-creator-page.component'; import { ContentCreatePageComponent } from './content-create-page/content-create-page.component'; import { StatisticsPageComponent } from '../shared/statistics-page/statistics-page.component'; -import { CommentListComponent } from '../shared/comment-list/comment-list.component'; import { FeedbackBarometerPageComponent } from '../shared/feedback-barometer-page/feedback-barometer-page.component'; import { ContentListComponent } from './content-list/content-list.component'; import { StatisticComponent } from '../shared/statistic/statistic.component'; import { ContentPresentationComponent } from './content-presentation/content-presentation.component'; +import { CommentCreatorPageComponent } from './comment-creator-page/comment-creator-page.component'; const routes: Routes = [ { @@ -45,7 +45,7 @@ const routes: Routes = [ }, { path: 'room/:roomId/comments', - component: CommentListComponent, + component: CommentCreatorPageComponent, canActivate: [AuthenticationGuard], data: { roles: [UserRole.CREATOR] } },