diff --git a/src/app/pages/account/account.module.ts b/src/app/pages/account/account.module.ts new file mode 100644 index 00000000..d01caa18 --- /dev/null +++ b/src/app/pages/account/account.module.ts @@ -0,0 +1,33 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { RouterModule } from '@angular/router'; +import { ReactiveFormsModule } from '@angular/forms'; +import { NbCardModule, NbInputModule, NbButtonModule, NbIconModule } from '@nebular/theme'; +import { ProfileComponent } from './profile/profile.component'; +import { SettingsComponent } from './settings/settings.component'; + +@NgModule({ + imports: [ + CommonModule, + ReactiveFormsModule, + NbCardModule, + NbInputModule, + NbButtonModule, + NbIconModule, + RouterModule.forChild([ + { + path: 'profile', + component: ProfileComponent, + }, + { + path: 'settings', + component: SettingsComponent, + }, + ]), + ], + declarations: [ + ProfileComponent, + SettingsComponent, + ], +}) +export class AccountModule { } \ No newline at end of file diff --git a/src/app/pages/account/profile/profile.component.html b/src/app/pages/account/profile/profile.component.html new file mode 100644 index 00000000..cb52c98e --- /dev/null +++ b/src/app/pages/account/profile/profile.component.html @@ -0,0 +1,74 @@ +
+
+ + +
Your Profile
+
+ +
+
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/app/pages/account/profile/profile.component.scss b/src/app/pages/account/profile/profile.component.scss new file mode 100644 index 00000000..b263560e --- /dev/null +++ b/src/app/pages/account/profile/profile.component.scss @@ -0,0 +1,9 @@ +.form-group { + margin-bottom: 20px; +} + +.label { + display: block; + margin-bottom: 8px; + font-weight: 500; +} \ No newline at end of file diff --git a/src/app/pages/account/profile/profile.component.ts b/src/app/pages/account/profile/profile.component.ts new file mode 100644 index 00000000..ba07135f --- /dev/null +++ b/src/app/pages/account/profile/profile.component.ts @@ -0,0 +1,32 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; + +@Component({ + selector: 'ngx-profile', + templateUrl: './profile.component.html', + styleUrls: ['./profile.component.scss'] +}) +export class ProfileComponent implements OnInit { + profileForm: FormGroup; + + constructor(private fb: FormBuilder) { } + + ngOnInit(): void { + this.profileForm = this.fb.group({ + firstName: ['John', Validators.required], + lastName: ['Doe', Validators.required], + email: ['john.doe@example.com', [Validators.required, Validators.email]], + company: ['Acme Corp', Validators.required], + position: ['Product Manager', Validators.required], + phone: ['+1 (555) 123-4567', Validators.required], + address: ['123 Main St, New York, NY 10001', Validators.required], + }); + } + + onSubmit() { + if (this.profileForm.valid) { + // Handle profile update logic + console.log('Profile updated:', this.profileForm.value); + } + } +} \ No newline at end of file diff --git a/src/app/pages/account/settings/settings.component.html b/src/app/pages/account/settings/settings.component.html new file mode 100644 index 00000000..6a3e8b49 --- /dev/null +++ b/src/app/pages/account/settings/settings.component.html @@ -0,0 +1,101 @@ +
+
+ + +
Account Settings
+
+ +
+
Notifications
+
+
+
+
+
+ + +
+ Receive verification results and updates via email +
+
+
+
+
+ + +
+ Receive verification results and updates via SMS +
+
+
+
+ +
Security
+
+
+
+
+
+ + +
+ Enable 2FA for additional security +
+
+
+
+ + + How long to keep your verification results +
+
+
+
+ +
Appearance
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/app/pages/account/settings/settings.component.scss b/src/app/pages/account/settings/settings.component.scss new file mode 100644 index 00000000..ab6d6d66 --- /dev/null +++ b/src/app/pages/account/settings/settings.component.scss @@ -0,0 +1,19 @@ +.section-title { + margin-top: 20px; + margin-bottom: 10px; + font-weight: 600; + border-bottom: 1px solid #edf1f7; + padding-bottom: 8px; +} + +.settings-section { + margin-bottom: 25px; +} + +.form-group { + margin-bottom: 15px; +} + +.custom-control-label { + cursor: pointer; +} \ No newline at end of file diff --git a/src/app/pages/account/settings/settings.component.ts b/src/app/pages/account/settings/settings.component.ts new file mode 100644 index 00000000..874aaaf5 --- /dev/null +++ b/src/app/pages/account/settings/settings.component.ts @@ -0,0 +1,31 @@ +import { Component, OnInit } from '@angular/core'; +import { FormBuilder, FormGroup } from '@angular/forms'; + +@Component({ + selector: 'ngx-settings', + templateUrl: './settings.component.html', + styleUrls: ['./settings.component.scss'] +}) +export class SettingsComponent implements OnInit { + settingsForm: FormGroup; + + constructor(private fb: FormBuilder) { } + + ngOnInit(): void { + this.settingsForm = this.fb.group({ + emailNotifications: [true], + smsNotifications: [false], + twoFactorAuth: [true], + dataRetention: ['30days'], + theme: ['default'], + language: ['en'], + }); + } + + onSubmit() { + if (this.settingsForm.valid) { + // Handle settings update logic + console.log('Settings updated:', this.settingsForm.value); + } + } +} \ No newline at end of file diff --git a/src/app/pages/countries/countries.component.html b/src/app/pages/countries/countries.component.html new file mode 100644 index 00000000..a62e0de6 --- /dev/null +++ b/src/app/pages/countries/countries.component.html @@ -0,0 +1,57 @@ +
+
+ + +
Available Countries
+
+ +

+ Select from our available countries below to perform identity verification. Each country has different + data sources, update frequencies, and record counts. +

+ +
+
+ + +
+ {{ country.icon }} + {{ country.name }} + + + + +
+
+ +
+
+ Records: {{ country.records }} +
+
+ Updates: {{ country.updateFrequency }} +
+
+ Status: {{ country.availability ? 'Available' : 'Coming Soon' }} +
+
+
+ + + + + + +
+
+
+
+
+
+
\ No newline at end of file diff --git a/src/app/pages/countries/countries.component.scss b/src/app/pages/countries/countries.component.scss new file mode 100644 index 00000000..d9eb3645 --- /dev/null +++ b/src/app/pages/countries/countries.component.scss @@ -0,0 +1,12 @@ +.country-icon { + font-size: 1.5rem; + margin-right: 10px; +} + +.country-info { + margin-bottom: 15px; +} + +.info-item { + margin-bottom: 5px; +} \ No newline at end of file diff --git a/src/app/pages/countries/countries.component.ts b/src/app/pages/countries/countries.component.ts new file mode 100644 index 00000000..f0298b8d --- /dev/null +++ b/src/app/pages/countries/countries.component.ts @@ -0,0 +1,65 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'ngx-countries', + templateUrl: './countries.component.html', + styleUrls: ['./countries.component.scss'] +}) +export class CountriesComponent implements OnInit { + + countries = [ + { + name: 'Australia', + code: 'aus', + records: '15M+', + updateFrequency: 'Weekly', + availability: true, + icon: '🇦🇺' + }, + { + name: 'Indonesia', + code: 'indo', + records: '120M+', + updateFrequency: 'Monthly', + availability: true, + icon: '🇮🇩' + }, + { + name: 'Japan', + code: 'japan', + records: '85M+', + updateFrequency: 'Bi-weekly', + availability: true, + icon: '🇯🇵' + }, + { + name: 'Malaysia', + code: 'malay', + records: '20M+', + updateFrequency: 'Weekly', + availability: true, + icon: '🇲🇾' + }, + { + name: 'Singapore', + code: 'sg', + records: '5M+', + updateFrequency: 'Weekly', + availability: true, + icon: '🇸🇬' + }, + { + name: 'Thailand', + code: 'thai', + records: '45M+', + updateFrequency: 'Monthly', + availability: false, + icon: '🇹🇭' + }, + ]; + + constructor() { } + + ngOnInit(): void { + } +} \ No newline at end of file diff --git a/src/app/pages/countries/countries.module.ts b/src/app/pages/countries/countries.module.ts new file mode 100644 index 00000000..47db2592 --- /dev/null +++ b/src/app/pages/countries/countries.module.ts @@ -0,0 +1,24 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { RouterModule } from '@angular/router'; +import { NbCardModule, NbIconModule, NbListModule } from '@nebular/theme'; +import { CountriesComponent } from './countries.component'; + +@NgModule({ + imports: [ + CommonModule, + NbCardModule, + NbIconModule, + NbListModule, + RouterModule.forChild([ + { + path: '', + component: CountriesComponent, + }, + ]), + ], + declarations: [ + CountriesComponent, + ], +}) +export class CountriesModule { } \ No newline at end of file diff --git a/src/app/pages/identity/identity.module.ts b/src/app/pages/identity/identity.module.ts new file mode 100644 index 00000000..ae6ad750 --- /dev/null +++ b/src/app/pages/identity/identity.module.ts @@ -0,0 +1,44 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { RouterModule } from '@angular/router'; +import { ReactiveFormsModule } from '@angular/forms'; +import { + NbCardModule, + NbButtonModule, + NbInputModule, + NbSelectModule, + NbSpinnerModule, + NbProgressBarModule, + NbIconModule +} from '@nebular/theme'; +import { ManualLookupComponent } from './manual-lookup/manual-lookup.component'; +import { ResultsHistoryComponent } from './results-history/results-history.component'; + +@NgModule({ + imports: [ + CommonModule, + ReactiveFormsModule, + RouterModule.forChild([ + { + path: 'manual-lookup', + component: ManualLookupComponent, + }, + { + path: 'results-history', + component: ResultsHistoryComponent, + }, + ]), + NbCardModule, + NbButtonModule, + NbInputModule, + NbSelectModule, + NbSpinnerModule, + NbProgressBarModule, + NbIconModule + ], + declarations: [ + ManualLookupComponent, + ResultsHistoryComponent, + ], +}) +export class IdentityModule { } \ No newline at end of file diff --git a/src/app/pages/identity/manual-lookup/manual-lookup.component.html b/src/app/pages/identity/manual-lookup/manual-lookup.component.html new file mode 100644 index 00000000..ada2805c --- /dev/null +++ b/src/app/pages/identity/manual-lookup/manual-lookup.component.html @@ -0,0 +1,131 @@ +
+
+ + +
Identity Verification - Manual Lookup
+
+ +
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ + Australia + Indonesia + Japan + Malaysia + +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+
+
+
+
+ +
+ + +
Verification Results
+
+ +
+
Overall Match Confidence
+ +
+ +
+
Field-level Match Breakdown
+ +
+
+ Name + {{ result.fieldMatches.name }}% +
+ +
+ +
+
+ Date of Birth + {{ result.fieldMatches.dateOfBirth }}% +
+ +
+ +
+
+ Address + {{ result.fieldMatches.address }}% +
+ +
+ +
+
+ Identification + {{ result.fieldMatches.identification }}% +
+ +
+
+
+
+
+
\ No newline at end of file diff --git a/src/app/pages/identity/manual-lookup/manual-lookup.component.scss b/src/app/pages/identity/manual-lookup/manual-lookup.component.scss new file mode 100644 index 00000000..2fb72625 --- /dev/null +++ b/src/app/pages/identity/manual-lookup/manual-lookup.component.scss @@ -0,0 +1,7 @@ +.field-match-item { + margin-bottom: 15px; +} + +.match-result { + margin-bottom: 20px; +} \ No newline at end of file diff --git a/src/app/pages/identity/manual-lookup/manual-lookup.component.ts b/src/app/pages/identity/manual-lookup/manual-lookup.component.ts new file mode 100644 index 00000000..d0e8fa54 --- /dev/null +++ b/src/app/pages/identity/manual-lookup/manual-lookup.component.ts @@ -0,0 +1,45 @@ +import { Component } from '@angular/core'; +import { FormBuilder, FormGroup, Validators } from '@angular/forms'; + +@Component({ + selector: 'ngx-manual-lookup', + templateUrl: './manual-lookup.component.html', + styleUrls: ['./manual-lookup.component.scss'] +}) +export class ManualLookupComponent { + identityForm: FormGroup; + isSubmitting = false; + result = null; + + constructor(private fb: FormBuilder) { + this.identityForm = this.fb.group({ + firstName: ['', Validators.required], + lastName: ['', Validators.required], + dateOfBirth: ['', Validators.required], + country: ['', Validators.required], + identificationNumber: [''], + email: ['', Validators.email], + phone: [''], + address: [''], + }); + } + + onSubmit() { + if (this.identityForm.valid) { + this.isSubmitting = true; + // Here you would call your identity verification service + setTimeout(() => { + this.isSubmitting = false; + this.result = { + overallMatch: 85, + fieldMatches: { + name: 90, + dateOfBirth: 100, + address: 70, + identification: 80 + } + }; + }, 2000); + } + } +} \ No newline at end of file diff --git a/src/app/pages/identity/results-history/results-history.component.html b/src/app/pages/identity/results-history/results-history.component.html new file mode 100644 index 00000000..9fc2ec46 --- /dev/null +++ b/src/app/pages/identity/results-history/results-history.component.html @@ -0,0 +1,40 @@ + + +
Verification Results History
+
+ +
+ + + + + + + + + + + + + + + + + + + +
Date/TimeCountryMatch ScoreStatusActions
{{ lookup.date }}{{ lookup.country }} + + + {{ lookup.status }} + + + +
+
+
+
\ No newline at end of file diff --git a/src/app/pages/identity/results-history/results-history.component.scss b/src/app/pages/identity/results-history/results-history.component.scss new file mode 100644 index 00000000..73fe3a9c --- /dev/null +++ b/src/app/pages/identity/results-history/results-history.component.scss @@ -0,0 +1,23 @@ +button { + margin-right: 5px; +} + +.badge { + padding: 0.4rem 0.6rem; +} + +.badge-success { + background-color: #00d68f; +} + +.badge-warning { + background-color: #ffaa00; +} + +.badge-danger { + background-color: #ff3d71; +} + +.badge-info { + background-color: #0095ff; +} \ No newline at end of file diff --git a/src/app/pages/identity/results-history/results-history.component.ts b/src/app/pages/identity/results-history/results-history.component.ts new file mode 100644 index 00000000..6833ddd1 --- /dev/null +++ b/src/app/pages/identity/results-history/results-history.component.ts @@ -0,0 +1,37 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'ngx-results-history', + templateUrl: './results-history.component.html', + styleUrls: ['./results-history.component.scss'] +}) +export class ResultsHistoryComponent implements OnInit { + + // Sample data for demonstration + recentLookups = [ + { date: '2025-05-19 10:30', country: 'Australia', score: 95, status: 'Verified' }, + { date: '2025-05-19 09:15', country: 'Indonesia', score: 82, status: 'Verified' }, + { date: '2025-05-18 16:45', country: 'Malaysia', score: 60, status: 'Partial Match' }, + { date: '2025-05-18 14:20', country: 'Japan', score: 42, status: 'No Match' }, + { date: '2025-05-17 11:30', country: 'Australia', score: 88, status: 'Verified' }, + { date: '2025-05-17 09:45', country: 'Indonesia', score: 76, status: 'Verified' }, + ]; + + constructor() { } + + ngOnInit(): void { + } + + getStatusClass(status: string): string { + switch (status) { + case 'Verified': + return 'success'; + case 'Partial Match': + return 'warning'; + case 'No Match': + return 'danger'; + default: + return 'info'; + } + } +} \ No newline at end of file diff --git a/src/app/pages/miscellaneous/miscellaneous-routing.module.ts b/src/app/pages/miscellaneous/miscellaneous-routing.module.ts index 7fdd415f..74097d7a 100644 --- a/src/app/pages/miscellaneous/miscellaneous-routing.module.ts +++ b/src/app/pages/miscellaneous/miscellaneous-routing.module.ts @@ -21,5 +21,4 @@ const routes: Routes = [ imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) -export class MiscellaneousRoutingModule { -} +export class MiscellaneousRoutingModule { } \ No newline at end of file diff --git a/src/app/pages/miscellaneous/miscellaneous.component.ts b/src/app/pages/miscellaneous/miscellaneous.component.ts index d8024354..6a9ffac5 100644 --- a/src/app/pages/miscellaneous/miscellaneous.component.ts +++ b/src/app/pages/miscellaneous/miscellaneous.component.ts @@ -2,9 +2,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'ngx-miscellaneous', - template: ` - - `, + template: ``, }) export class MiscellaneousComponent { -} +} \ No newline at end of file diff --git a/src/app/pages/miscellaneous/miscellaneous.module.ts b/src/app/pages/miscellaneous/miscellaneous.module.ts index baae2a14..29b63851 100644 --- a/src/app/pages/miscellaneous/miscellaneous.module.ts +++ b/src/app/pages/miscellaneous/miscellaneous.module.ts @@ -1,16 +1,19 @@ import { NgModule } from '@angular/core'; -import { NbButtonModule, NbCardModule } from '@nebular/theme'; - +import { CommonModule } from '@angular/common'; import { ThemeModule } from '../../@theme/theme.module'; +import { NbCardModule, NbButtonModule, NbIconModule } from '@nebular/theme'; + import { MiscellaneousRoutingModule } from './miscellaneous-routing.module'; import { MiscellaneousComponent } from './miscellaneous.component'; import { NotFoundComponent } from './not-found/not-found.component'; @NgModule({ imports: [ + CommonModule, ThemeModule, NbCardModule, NbButtonModule, + NbIconModule, MiscellaneousRoutingModule, ], declarations: [ @@ -18,4 +21,4 @@ import { NotFoundComponent } from './not-found/not-found.component'; NotFoundComponent, ], }) -export class MiscellaneousModule { } +export class MiscellaneousModule { } \ No newline at end of file diff --git a/src/app/pages/pages-menu.ts b/src/app/pages/pages-menu.ts index 6134b318..be3153ca 100644 --- a/src/app/pages/pages-menu.ts +++ b/src/app/pages/pages-menu.ts @@ -2,246 +2,42 @@ import { NbMenuItem } from '@nebular/theme'; export const MENU_ITEMS: NbMenuItem[] = [ { - title: 'E-commerce', - icon: 'shopping-cart-outline', + title: 'Dashboard', + icon: 'home-outline', link: '/pages/dashboard', home: true, }, { - title: 'IoT Dashboard', - icon: 'home-outline', - link: '/pages/iot-dashboard', - }, - { - title: 'FEATURES', - group: true, - }, - { - title: 'Layout', - icon: 'layout-outline', + title: 'Identity Verification', + icon: 'person-outline', children: [ { - title: 'Stepper', - link: '/pages/layout/stepper', + title: 'Manual Lookup', + link: '/pages/identity/manual-lookup', }, { - title: 'List', - link: '/pages/layout/list', - }, - { - title: 'Infinite List', - link: '/pages/layout/infinite-list', - }, - { - title: 'Accordion', - link: '/pages/layout/accordion', - }, - { - title: 'Tabs', - pathMatch: 'prefix', - link: '/pages/layout/tabs', + title: 'Results History', + link: '/pages/identity/results-history', }, ], }, { - title: 'Forms', - icon: 'edit-2-outline', - children: [ - { - title: 'Form Inputs', - link: '/pages/forms/inputs', - }, - { - title: 'Form Layouts', - link: '/pages/forms/layouts', - }, - { - title: 'Buttons', - link: '/pages/forms/buttons', - }, - { - title: 'Datepicker', - link: '/pages/forms/datepicker', - }, - ], + title: 'Countries', + icon: 'globe-outline', + link: '/pages/countries', }, { - title: 'UI Features', - icon: 'keypad-outline', - link: '/pages/ui-features', + title: 'Account', + icon: 'settings-outline', children: [ { - title: 'Grid', - link: '/pages/ui-features/grid', + title: 'Profile', + link: '/pages/account/profile', }, { - title: 'Icons', - link: '/pages/ui-features/icons', - }, - { - title: 'Typography', - link: '/pages/ui-features/typography', - }, - { - title: 'Animated Searches', - link: '/pages/ui-features/search-fields', + title: 'Settings', + link: '/pages/account/settings', }, ], }, - { - title: 'Modal & Overlays', - icon: 'browser-outline', - children: [ - { - title: 'Dialog', - link: '/pages/modal-overlays/dialog', - }, - { - title: 'Window', - link: '/pages/modal-overlays/window', - }, - { - title: 'Popover', - link: '/pages/modal-overlays/popover', - }, - { - title: 'Toastr', - link: '/pages/modal-overlays/toastr', - }, - { - title: 'Tooltip', - link: '/pages/modal-overlays/tooltip', - }, - ], - }, - { - title: 'Extra Components', - icon: 'message-circle-outline', - children: [ - { - title: 'Calendar', - link: '/pages/extra-components/calendar', - }, - { - title: 'Progress Bar', - link: '/pages/extra-components/progress-bar', - }, - { - title: 'Spinner', - link: '/pages/extra-components/spinner', - }, - { - title: 'Alert', - link: '/pages/extra-components/alert', - }, - { - title: 'Calendar Kit', - link: '/pages/extra-components/calendar-kit', - }, - { - title: 'Chat', - link: '/pages/extra-components/chat', - }, - ], - }, - { - title: 'Maps', - icon: 'map-outline', - children: [ - { - title: 'Google Maps', - link: '/pages/maps/gmaps', - }, - { - title: 'Leaflet Maps', - link: '/pages/maps/leaflet', - }, - { - title: 'Bubble Maps', - link: '/pages/maps/bubble', - }, - { - title: 'Search Maps', - link: '/pages/maps/searchmap', - }, - ], - }, - { - title: 'Charts', - icon: 'pie-chart-outline', - children: [ - { - title: 'Echarts', - link: '/pages/charts/echarts', - }, - { - title: 'Charts.js', - link: '/pages/charts/chartjs', - }, - { - title: 'D3', - link: '/pages/charts/d3', - }, - ], - }, - { - title: 'Editors', - icon: 'text-outline', - children: [ - { - title: 'TinyMCE', - link: '/pages/editors/tinymce', - }, - { - title: 'CKEditor', - link: '/pages/editors/ckeditor', - }, - ], - }, - { - title: 'Tables & Data', - icon: 'grid-outline', - children: [ - { - title: 'Smart Table', - link: '/pages/tables/smart-table', - }, - { - title: 'Tree Grid', - link: '/pages/tables/tree-grid', - }, - ], - }, - { - title: 'Miscellaneous', - icon: 'shuffle-2-outline', - children: [ - { - title: '404', - link: '/pages/miscellaneous/404', - }, - ], - }, - { - title: 'Auth', - icon: 'lock-outline', - children: [ - { - title: 'Login', - link: '/auth/login', - }, - { - title: 'Register', - link: '/auth/register', - }, - { - title: 'Request Password', - link: '/auth/request-password', - }, - { - title: 'Reset Password', - link: '/auth/reset-password', - }, - ], - }, -]; +]; \ No newline at end of file diff --git a/src/app/pages/pages-routing.module.ts b/src/app/pages/pages-routing.module.ts index 376cc4fa..5f5c6a7e 100644 --- a/src/app/pages/pages-routing.module.ts +++ b/src/app/pages/pages-routing.module.ts @@ -3,7 +3,6 @@ import { NgModule } from '@angular/core'; import { PagesComponent } from './pages.component'; import { DashboardComponent } from './dashboard/dashboard.component'; -import { ECommerceComponent } from './e-commerce/e-commerce.component'; import { NotFoundComponent } from './miscellaneous/not-found/not-found.component'; const routes: Routes = [{ @@ -12,61 +11,22 @@ const routes: Routes = [{ children: [ { path: 'dashboard', - component: ECommerceComponent, - }, - { - path: 'iot-dashboard', component: DashboardComponent, }, { - path: 'layout', - loadChildren: () => import('./layout/layout.module') - .then(m => m.LayoutModule), + path: 'identity', + loadChildren: () => import('./identity/identity.module') + .then(m => m.IdentityModule), }, { - path: 'forms', - loadChildren: () => import('./forms/forms.module') - .then(m => m.FormsModule), + path: 'countries', + loadChildren: () => import('./countries/countries.module') + .then(m => m.CountriesModule), }, { - path: 'ui-features', - loadChildren: () => import('./ui-features/ui-features.module') - .then(m => m.UiFeaturesModule), - }, - { - path: 'modal-overlays', - loadChildren: () => import('./modal-overlays/modal-overlays.module') - .then(m => m.ModalOverlaysModule), - }, - { - path: 'extra-components', - loadChildren: () => import('./extra-components/extra-components.module') - .then(m => m.ExtraComponentsModule), - }, - { - path: 'maps', - loadChildren: () => import('./maps/maps.module') - .then(m => m.MapsModule), - }, - { - path: 'charts', - loadChildren: () => import('./charts/charts.module') - .then(m => m.ChartsModule), - }, - { - path: 'editors', - loadChildren: () => import('./editors/editors.module') - .then(m => m.EditorsModule), - }, - { - path: 'tables', - loadChildren: () => import('./tables/tables.module') - .then(m => m.TablesModule), - }, - { - path: 'miscellaneous', - loadChildren: () => import('./miscellaneous/miscellaneous.module') - .then(m => m.MiscellaneousModule), + path: 'account', + loadChildren: () => import('./account/account.module') + .then(m => m.AccountModule), }, { path: '', @@ -85,4 +45,4 @@ const routes: Routes = [{ exports: [RouterModule], }) export class PagesRoutingModule { -} +} \ No newline at end of file diff --git a/src/app/pages/pages.module.ts b/src/app/pages/pages.module.ts index c1de7ffd..4ec20d22 100644 --- a/src/app/pages/pages.module.ts +++ b/src/app/pages/pages.module.ts @@ -4,9 +4,8 @@ import { NbMenuModule } from '@nebular/theme'; import { ThemeModule } from '../@theme/theme.module'; import { PagesComponent } from './pages.component'; import { DashboardModule } from './dashboard/dashboard.module'; -import { ECommerceModule } from './e-commerce/e-commerce.module'; -import { PagesRoutingModule } from './pages-routing.module'; import { MiscellaneousModule } from './miscellaneous/miscellaneous.module'; +import { PagesRoutingModule } from './pages-routing.module'; @NgModule({ imports: [ @@ -14,7 +13,6 @@ import { MiscellaneousModule } from './miscellaneous/miscellaneous.module'; ThemeModule, NbMenuModule, DashboardModule, - ECommerceModule, MiscellaneousModule, ], declarations: [ @@ -22,4 +20,4 @@ import { MiscellaneousModule } from './miscellaneous/miscellaneous.module'; ], }) export class PagesModule { -} +} \ No newline at end of file