import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AccountComponent } from './account/account.component';
import { ContactUsComponent } from './contact-us/contact-us.component';
import { EnglandComponent } from './england/england.component';
import { FranceComponent } from './france/france.component';
import { GreeceComponent } from './greece/greece.component';
import { SpainComponent } from './spain/spain.component';

const routes: Routes = [
	{path:'england', component: EnglandComponent},
	{path:'france', component: FranceComponent}, 
	{path:'spain', component: SpainComponent}, 
	{path:'greece', component: GreeceComponent},
	{path:'account', component: AccountComponent},
	{path:'contactUs', component: ContactUsComponent}
];

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