Cleanup routes

This commit is contained in:
2025-07-17 18:08:52 -07:00
parent 20a2e45020
commit ab4e15c569
+3 -16
View File
@@ -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 },
]