diff --git a/README.md b/README.md index c7d2895..e672c28 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# Showygit \ No newline at end of file +# ShowY \ No newline at end of file diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index 96d3072..efa6d41 100644 --- a/frontend/src/app/app-routing.module.ts +++ b/frontend/src/app/app-routing.module.ts @@ -5,6 +5,7 @@ import { SearchComponent } from './features/pages/search/search.component'; import { TrendingComponent } from './features/pages/trending/trending.component'; import { PopularComponent } from './features/pages/popular/popular.component'; import { LibraryComponent } from './features/pages/library/library.component'; +import { ListsComponent } from './features/pages/lists/lists.component'; const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, @@ -12,7 +13,9 @@ const routes: Routes = [ { path: 'search', component: SearchComponent }, { path: 'popular', component: PopularComponent }, { path: 'trending', component: TrendingComponent }, + { path: 'library', component: LibraryComponent }, + { path: 'lists', component: ListsComponent }, ]; @NgModule({ diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index d8830ef..a073ecb 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -25,6 +25,10 @@ import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatListModule } from '@angular/material/list'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { ListsComponent } from './features/pages/lists/lists.component'; +import { UserListItemComponent } from './features/cards/user-list-item/user-list-item.component'; +import { UserListItemCardComponent } from './features/cards/user-list-item-card/user-list-item-card.component'; +import { DateFormatPipe } from './core/pipes/date-format/date-format.pipe'; @NgModule({ declarations: [ @@ -40,6 +44,10 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; DynamicEntryListComponent, LibraryComponent, ListSelectionModalComponent, + ListsComponent, + UserListItemComponent, + UserListItemCardComponent, + DateFormatPipe, ], imports: [ BrowserModule, diff --git a/frontend/src/app/core/components/sidebar/sidebar.component.css b/frontend/src/app/core/components/sidebar/sidebar.component.css index 8ca3255..6ef56fb 100644 --- a/frontend/src/app/core/components/sidebar/sidebar.component.css +++ b/frontend/src/app/core/components/sidebar/sidebar.component.css @@ -1,3 +1,7 @@ .mm-active .parent-icon, .mm-active .menu-title { color: #008cff; +} + +a { + cursor: pointer; } \ No newline at end of file diff --git a/frontend/src/app/core/core.module.ts b/frontend/src/app/core/core.module.ts index f220238..e70fff4 100644 --- a/frontend/src/app/core/core.module.ts +++ b/frontend/src/app/core/core.module.ts @@ -8,6 +8,7 @@ import { ListService } from './services/list.service'; import { ToggleService } from './services/toggle.service'; @NgModule({ + declarations: [], imports: [CommonModule], providers: [ TmdbService, diff --git a/frontend/src/app/features/cards/main-card/main-card.component.ts b/frontend/src/app/features/cards/main-card/main-card.component.ts index 7ba96a1..ab0373a 100644 --- a/frontend/src/app/features/cards/main-card/main-card.component.ts +++ b/frontend/src/app/features/cards/main-card/main-card.component.ts @@ -1,6 +1,5 @@ import { Component, Input, OnInit } from '@angular/core'; import { Entry } from '../../../shared/models/entry.model'; -import { EntryService } from '../../../core/services/entry.service'; import { LibraryService } from '../../../core/services/library.service'; import { ListSelectionModalComponent } from '../../../list-selection-modal/list-selection-modal.component'; import { MatDialog } from '@angular/material/dialog'; diff --git a/frontend/src/app/features/pages/library/library.component.html b/frontend/src/app/features/pages/library/library.component.html index 14032d8..8fca907 100644 --- a/frontend/src/app/features/pages/library/library.component.html +++ b/frontend/src/app/features/pages/library/library.component.html @@ -1,6 +1,6 @@