// about-routing.module.ts

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AboutComponent } from './about.component';
import { ChangeLogComponent } from './change-log/changelog.component';
import { PrivacystatementComponent } from './privacy-statement/privacy-statement.component';
import { LegalNoticeComponent } from './legal-notice/legal-notice.component';
import { HelpSupportComponent } from './help-support/help-support.component';
import { OpensourceLicencesComponent } from './opensource-licences/opensource-licences.component';

const routes: Routes = [
  { 
    path: '', 
    component: AboutComponent
  },
  { 
    path: 'change-log', 
    component: ChangeLogComponent
  },
  { 
    path: 'privacy-statement', 
    component: PrivacystatementComponent
  },
  { 
    path: 'legal-notice', 
    component: LegalNoticeComponent
  },
  { 
    path: 'help-support', 
    component: HelpSupportComponent
  },
    { 
    path: 'opensource-licences', 
    component: OpensourceLicencesComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AboutRoutingModule {}
