import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { SidebarComponent } from './en/sidebar/sidebar.component';
import { HomeComponent } from './en/home/home.component';
import { ContactComponent } from './en/contact/contact.component';
import { GalleryComponent } from './en/gallery/gallery.component';
import { DonationComponent } from './en/donation/donation.component';
import { LoginComponent } from './en/login/login.component';
import { AdminPanelComponent } from './en/admin-panel/admin-panel.component';
import { HomeLVComponent } from './lv/home-lv/home-lv.component';
import { GalleryLVComponent } from './lv/gallery-lv/gallery-lv.component';
import { ContactLVComponent } from './lv/contact-lv/contact-lv.component';
import { DonationLVComponent } from './lv/donation-lv/donation-lv.component';
import { DonationRuComponent } from './ru/donation-ru/donation-ru.component';
import { HomeRuComponent } from './ru/home-ru/home-ru.component';
import { GalleryRuComponent } from './ru/gallery-ru/gallery-ru.component';
import { ContactRuComponent } from './ru/contact-ru/contact-ru.component';





const routes: Routes = [
  { path: 'sidebar', component: SidebarComponent },
  { path: 'home', component: HomeComponent },
  { path: '', component: HomeComponent },
  { path: 'contact', component: ContactComponent},
  { path: 'gallery', component: GalleryComponent},
  { path: 'donation', component: DonationComponent},
  { path: 'login', component: LoginComponent},
  { path: 'admin-panel', component: AdminPanelComponent},
  { path: 'lv/home', component: HomeLVComponent},
  { path: 'lv/gallery', component: GalleryLVComponent},
  { path: 'lv/contact', component: ContactLVComponent},
  { path: 'lv/donation', component: DonationLVComponent},
  { path: 'ru/sidebar', component: DonationRuComponent},
  { path: 'ru/home', component: HomeRuComponent},
  { path: 'ru/donation', component: DonationRuComponent},
  { path: 'ru/gallery', component: GalleryRuComponent},
  { path: 'ru/contact', component: ContactRuComponent},


];

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



export class AppRoutingModule { }
