From ab4e15c5698a2afea6de121fe25b61323b1bac69 Mon Sep 17 00:00:00 2001 From: Derek Holloway Date: Thu, 17 Jul 2025 18:08:52 -0700 Subject: [PATCH] Cleanup routes --- src/Client/src/app/app.routes.ts | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/Client/src/app/app.routes.ts b/src/Client/src/app/app.routes.ts index 0bfac0d..41fdf03 100644 --- a/src/Client/src/app/app.routes.ts +++ b/src/Client/src/app/app.routes.ts @@ -2,19 +2,18 @@ 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'; import { HomeComponent } from './pages/home/home.component'; export const routes: Routes = [ + // Home + { path: "", component: HomeComponent }, + // Account stuff { path: "account/forgotpassword", component: ForgotPasswordComponent }, { path: "account/resetpassword", component: ResetPasswordComponent }, @@ -24,18 +23,6 @@ export const routes: Routes = [ { path: "account/register", component: RegisterComponent }, { path: "account/settings", component: SettingsComponent }, - { path: "", component: HomeComponent }, - - // 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 }, ] \ No newline at end of file