import { Routes } from '@angular/router';
import { ForgotPasswordComponent } from './pages/account/forgotpassword/forgotpassword.component';
import { LoginComponent } from './pages/account/login/login.component';
import { RegisterComponent } from './pages/account/register/register.component';
import { MistComponent } from './pages/project/mist/mist.component';
import { CatalogComponent } from './pages/store/catalog/catalog.component';
import { AboutComponent } from './pages/legal/about/about.component';
import { SettingsComponent } from './pages/account/settings/settings.component';
import { LogoutComponent } from './pages/account/logout/logout.component';
import { ResetPasswordComponent } from './pages/account/resetpassword/resetpassword.component';
import { VerifyEmailComponent } from './pages/account/verifyemail/verifyemail.component';
import { NewItemComponent } from './pages/store/admin/newitem/new.component';
import { EditItemComponent } from './pages/store/admin/edititem/edit.component';

export const routes: Routes = [

    // Account stuff
    { path: "account/forgotpassword", component: ForgotPasswordComponent },
    { path: "account/resetpassword", component: ResetPasswordComponent },
    { path: "account/verifyemail", component: VerifyEmailComponent },
    { path: "account/login", component: LoginComponent },
    { path: "account/logout", component: LogoutComponent },
    { path: "account/register", component: RegisterComponent },
    { path: "account/settings", component: SettingsComponent },

    // Projects
    { path: "project/mist", component: MistComponent },

    // Store
    { path: "store/catalog", component: CatalogComponent },

    // AdminPages
    { path: "store/admin/new", component: NewItemComponent },
    { path: "store/admin/edit", component: EditItemComponent },

    // Legal
    { path: "about", component: AboutComponent },
]