diff --git a/frontend/src/app/app-routing.module.ts b/frontend/src/app/app-routing.module.ts index b89eadd..d3c44b7 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/discover/search/search.component'; import { TrendingComponent } from './features/discover/trending/trending.component'; import { PopularComponent } from './features/discover/popular/popular.component'; import { LibraryComponent } from './features/library/library.component'; +import { EntryPageComponent } from './features/entry/entry-page/entry-page.component'; const routes: Routes = [ { path: '', redirectTo: '/home', pathMatch: 'full' }, @@ -14,9 +15,13 @@ const routes: Routes = [ { path: 'trending', component: TrendingComponent }, { path: 'library', component: LibraryComponent }, + { path: 'entry', component: EntryPageComponent }, { path: 'user-collections', - loadChildren: () => import('./features/collections/user-collections.module').then(m => m.UserCollectionsModule) + loadChildren: () => + import('./features/collections/user-collections.module').then( + (m) => m.UserCollectionsModule + ), }, ]; diff --git a/frontend/src/app/app.module.ts b/frontend/src/app/app.module.ts index 06da3fe..e0580ab 100644 --- a/frontend/src/app/app.module.ts +++ b/frontend/src/app/app.module.ts @@ -27,6 +27,7 @@ import { DynamicEntryListComponent } from './shared/components/lists/dynamic-ent import { NotificationPopupComponent } from './shared/components/notification-popup/notification-popup.component'; import { MainCardComponent } from './shared/components/cards/main-card/main-card.component'; import { UserCollectionsModalComponent } from './shared/components/modals/list-selection-modal/user-collections-modal.component'; +import { EntryPageComponent } from './features/entry/entry-page/entry-page.component'; @NgModule({ declarations: [ @@ -43,6 +44,7 @@ import { UserCollectionsModalComponent } from './shared/components/modals/list-s DynamicEntryListComponent, NotificationPopupComponent, UserCollectionsModalComponent, + EntryPageComponent, ], imports: [ CoreModule, diff --git a/frontend/src/app/features/entry/entry-page/entry-page.component.css b/frontend/src/app/features/entry/entry-page/entry-page.component.css new file mode 100644 index 0000000..b2bc21b --- /dev/null +++ b/frontend/src/app/features/entry/entry-page/entry-page.component.css @@ -0,0 +1,60 @@ +.background-image { + position: fixed; /* Keep the background fixed */ + top: 0; + left: 0; + width: 100%; /* Cover the full view width */ + height: 100%; /* Cover the full view height */ + z-index: -1; /* Place it behind the content */ +} + +.content-wrapper { + color: #212529; + background-color: rgba( + 255, + 255, + 255, + 0.461 + ); /* Light semi-transparent background */ + backdrop-filter: blur(10px); /* Blur effect */ + padding: 20px; /* Padding for content */ + border-radius: 8px; /* Rounded corners */ + border: 1px solid rgba(255, 255, 255, 0.2); /* Optional: subtle border */ + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */ +} + +.content-wrapper-dark { + color: #a7acb1; + background-color: rgba( + 33, + 37, + 41, + 0.7 + ); /* Dark semi-transparent background */ + backdrop-filter: blur(10px); /* Blur effect */ + padding: 20px; /* Padding for content */ + border-radius: 8px; /* Rounded corners */ + border: 1px solid #212529; /* Subtle light border for contrast */ + box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1); /* Lighter shadow for a glow effect */ +} + +.main-container { + margin-top: 200px !important; +} + +.poster { + padding: 10px 10px 0 10px; +} + +.poster img { + border-radius: 5px; +} +.side-info { + background-color: rgba(255, 255, 255, 0.461) !important; +} + +/* ! DESCRIPTION */ +.title { + color: rgba(0, 0, 0, 0.868); + font-weight: bolder; + font-size: 2.9rem !important; +} diff --git a/frontend/src/app/features/entry/entry-page/entry-page.component.html b/frontend/src/app/features/entry/entry-page/entry-page.component.html new file mode 100644 index 0000000..a23a4f4 --- /dev/null +++ b/frontend/src/app/features/entry/entry-page/entry-page.component.html @@ -0,0 +1,33 @@ +Banner Image + +
+
+
+ +
+ Movie Poster + +
+ +
    +
  • Next Episode: 2023-05-11
  • +
  • Status: Released
  • +
  • Genre: Action, Adventure
  • +
  • Rating: 8.5/10
  • +
  • Rating: 8.5/10
  • +
+
+
+ +

Movie Title

+ +

Release Date: January 1, 2024

+ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque habitant morbi tristique senectus et + netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit + amet, ante.

+
+
+
\ No newline at end of file diff --git a/frontend/src/app/features/entry/entry-page/entry-page.component.spec.ts b/frontend/src/app/features/entry/entry-page/entry-page.component.spec.ts new file mode 100644 index 0000000..618e97f --- /dev/null +++ b/frontend/src/app/features/entry/entry-page/entry-page.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { EntryPageComponent } from './entry-page.component'; + +describe('EntryPageComponent', () => { + let component: EntryPageComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [EntryPageComponent] + }); + fixture = TestBed.createComponent(EntryPageComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/features/entry/entry-page/entry-page.component.ts b/frontend/src/app/features/entry/entry-page/entry-page.component.ts new file mode 100644 index 0000000..405d666 --- /dev/null +++ b/frontend/src/app/features/entry/entry-page/entry-page.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-entry-page', + templateUrl: './entry-page.component.html', + styleUrls: ['./entry-page.component.css'] +}) +export class EntryPageComponent { + +}