diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts
index 6f0c1f5..dfc1ad1 100644
--- a/frontend/src/app/app-routing.module.ts
+++ b/frontend/src/app/app-routing.module.ts
@@ -33,7 +33,9 @@ const routes: Routes = [
{
path: 'calendar',
loadChildren: () =>
- import('./features/calendar/calendar.module').then((m) => m.CalendarModule),
+ import('./features/calendar/calendar.module').then(
+ (m) => m.CalendarModule
+ ),
},
{ path: 'favorit', component: FavoritComponent },
{ path: 'watchlist', component: WatchlistComponent },
@@ -49,6 +51,11 @@ const routes: Routes = [
loadChildren: () =>
import('./features/entry/entries.module').then((m) => m.EntriesModule),
},
+ {
+ path: 'people',
+ loadChildren: () =>
+ import('./features/people/people.module').then((m) => m.PeopleModule),
+ },
{
path: 'collections',
loadChildren: () =>
diff --git a/frontend/src/app/core/components/sidebar/sidebar.component.html b/frontend/src/app/core/components/sidebar/sidebar.component.html
index 15a6994..2c1b681 100644
--- a/frontend/src/app/core/components/sidebar/sidebar.component.html
+++ b/frontend/src/app/core/components/sidebar/sidebar.component.html
@@ -105,12 +105,12 @@
-
+
person
-
+
diff --git a/frontend/src/app/features/people/people-routing.module.ts b/frontend/src/app/features/people/people-routing.module.ts
new file mode 100644
index 0000000..e3c9793
--- /dev/null
+++ b/frontend/src/app/features/people/people-routing.module.ts
@@ -0,0 +1,22 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+import { PeoplePageComponent } from './people-page/people-page.component';
+import { PeopleDetailsComponent } from './people-details/people-details.component';
+
+// ! /people
+const routes: Routes = [
+ {
+ path: '',
+ component: PeoplePageComponent,
+ },
+ {
+ path: ':id',
+ component: PeopleDetailsComponent,
+ },
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule],
+})
+export class PeopleRoutingModule {}
diff --git a/frontend/src/app/features/people/people.module.ts b/frontend/src/app/features/people/people.module.ts
new file mode 100644
index 0000000..5af9759
--- /dev/null
+++ b/frontend/src/app/features/people/people.module.ts
@@ -0,0 +1,31 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { SharedModule } from '../../shared/shared.module';
+
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+
+import { PeopleRoutingModule } from './people-routing.module';
+import { PeoplePageComponent } from './people-page/people-page.component';
+import { PeopleDetailsComponent } from './people-details/people-details.component';
+import { PeopleGridComponent } from './people-grid/people-grid.component';
+import { PersonCardComponent } from './person-card/person-card.component';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ SharedModule,
+
+ FormsModule,
+ ReactiveFormsModule,
+
+ PeopleRoutingModule,
+ ],
+ declarations: [
+ PeoplePageComponent,
+ PeopleDetailsComponent,
+ PeopleGridComponent,
+ PersonCardComponent,
+ ],
+ exports: [],
+})
+export class PeopleModule {}