Rework of major pages

This commit is contained in:
2024-04-24 14:31:32 +02:00
parent 9e03620be7
commit 4230867608
17 changed files with 995 additions and 837 deletions

View File

@@ -36,6 +36,8 @@ export const routes: Routes = [
path: 'home',
component: HomeComponent,
},
// #########
// Listings Details
{
path: 'details-business-listing/:id',
component: DetailsBusinessListingComponent,
@@ -44,15 +46,21 @@ export const routes: Routes = [
path: 'details-commercial-property-listing/:id',
component: DetailsCommercialPropertyListingComponent,
},
// #########
// User Details
{
path: 'details-user/:id',
component: DetailsUserComponent,
},
// #########
// User edit
{
path: 'account',
component: AccountComponent,
canActivate: [authGuard],
},
// #########
// Create, Update Listings
{
path: 'editBusinessListing/:id',
component: EditBusinessListingComponent,
@@ -73,26 +81,36 @@ export const routes: Routes = [
component: EditCommercialPropertyListingComponent,
canActivate: [authGuard],
},
// #########
// My Listings
{
path: 'myListings',
component: MyListingComponent,
canActivate: [authGuard],
},
// #########
// My Favorites
{
path: 'myFavorites',
component: FavoritesComponent,
canActivate: [authGuard],
},
// #########
// EMAil Us
{
path: 'emailUs',
component: EmailUsComponent,
canActivate: [authGuard],
},
// #########
// Logout
{
path: 'logout',
component: LogoutComponent,
canActivate: [authGuard],
},
// #########
// Pricing
{
path: 'pricing',
component: PricingComponent,