import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { HomeComponent } from './pages/home/home.component';
import { CasaAlemanaComponent } from './pages/casa-alemana/casa-alemana.component';
import { CasaCassandraComponent } from './pages/casa-cassandra/casa-cassandra.component';
import { CasaTerrazaComponent } from './pages/casa-terraza/casa-terraza.component';

const routes: Routes = [
    { path: '', component: HomeComponent },
    { path: 'alemanas', component: CasaAlemanaComponent },
    { path: 'cassandra', component: CasaCassandraComponent },
    { path: 'terraza', component: CasaTerrazaComponent },
  
];

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