mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
import { ComponentsModule } from './../components.module';
|
|
import { CardStackAnimationComponent } from './card-stack-animation/card-stack-animation.component';
|
|
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { SharedModule } from 'src/app/shared/shared.module';
|
|
import { CommonModule } from '@angular/common';
|
|
import { NewsletterDebugComponent } from './newsletter-debug/newsletter-debug.component';
|
|
import { NewsletterSignupModule } from '../newsletter-signup/newsletter-signup.module';
|
|
import { RecommendationDebugComponent } from './recommendations-animation/recommendations-animation.component';
|
|
import { LoadingAnimationComponent } from './loading-animation/loading-animation.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: 'card-stack',
|
|
component: CardStackAnimationComponent
|
|
},
|
|
{
|
|
path: 'newsletter',
|
|
component: NewsletterDebugComponent
|
|
},
|
|
{
|
|
path: 'recom',
|
|
component: RecommendationDebugComponent
|
|
},
|
|
{
|
|
path: 'loading',
|
|
component: LoadingAnimationComponent
|
|
},
|
|
{ path: '**', redirectTo: 'card-stack' }
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
SharedModule,
|
|
RouterModule.forChild(routes),
|
|
NewsletterSignupModule
|
|
],
|
|
exports: [],
|
|
declarations: [
|
|
RecommendationDebugComponent,
|
|
CardStackAnimationComponent,
|
|
LoadingAnimationComponent,
|
|
NewsletterDebugComponent
|
|
]
|
|
})
|
|
export class DebugModule {}
|