import {Routes} from '@angular/router';
import {LoginComponent} from './components/login/login.component';
import {RegisterComponent} from './components/register/register.component';
import {LandingComponent} from './components/landing/landing.component';
import {DashboardComponent} from './components/dashboard/dashboard.component';

export const routes: Routes = [

  {
    path: 'login', component: LoginComponent, title: 'Login - Your App Name'
  },

  {
    path: 'register', component: RegisterComponent, title: 'Register - Your App Name'
  },

  {
    path: '', component: LandingComponent, title: 'Home'
  },

  {path: 'dashboard', component: DashboardComponent}

];
