import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { LoginComponent } from './login/login.component';
import { HomeComponent } from './home/home.component';
import { ProfileComponent } from './profile/profile.component';
import { GithubComponent } from './github/github.component';
import { JiraComponent } from './jira/jira.component';
import { ConfluenceComponent } from './confluence/confluence.component';
import { ProjectComponent } from './project/project.component';
const routes: Routes = [
  { path: 'login', component: LoginComponent },
  { path: 'home', component: HomeComponent },
  { path: 'profile', component: ProfileComponent },
  { path: 'github', component: GithubComponent },
  { path: 'jira', component: JiraComponent },
  { path: 'confluence', component: ConfluenceComponent },
  { path: 'project', component: ProjectComponent},
  { path: '', redirectTo: '/login', pathMatch: 'full' }
];

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