This commit is contained in:
@@ -2,19 +2,26 @@ 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 { 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 { HomeComponent } from './pages/home/home.component';
|
||||
import { ContactComponent } from './pages/legal/contact/contact.component';
|
||||
import { PrivacyComponent } from './pages/legal/privacy/privacy.component';
|
||||
import { AboutComponent } from './pages/legal/about/about.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
|
||||
{ path: "home", component: HomeComponent },
|
||||
|
||||
{ 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 },
|
||||
|
||||
{ path: "contact", component: ContactComponent },
|
||||
{ path: "privacy", component: PrivacyComponent },
|
||||
{ path: "about", component: AboutComponent },
|
||||
]
|
||||
@@ -6,8 +6,7 @@ import { CommonModule } from '@angular/common';
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet, CommonModule, RouterModule],
|
||||
templateUrl: './app.html',
|
||||
styleUrl: './app.css'
|
||||
templateUrl: './app.html'
|
||||
})
|
||||
export class App {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user