add entry page info

This commit is contained in:
X4Lo committed 2024-04-06 15:20:13 +00:00
1 parent b48b395574
commit 3f28660a4d
6 files changed
+132 -1

No files matched your search

+6 -1
View File
@@ -5,6 +5,7 @@ import { SearchComponent } from './features/discover/search/search.component';
import { TrendingComponent } from './features/discover/trending/trending.component'; import { TrendingComponent } from './features/discover/trending/trending.component';
import { PopularComponent } from './features/discover/popular/popular.component'; import { PopularComponent } from './features/discover/popular/popular.component';
import { LibraryComponent } from './features/library/library.component'; import { LibraryComponent } from './features/library/library.component';
import { EntryPageComponent } from './features/entry/entry-page/entry-page.component';
const routes: Routes = [ const routes: Routes = [
{ path: '', redirectTo: '/home', pathMatch: 'full' }, { path: '', redirectTo: '/home', pathMatch: 'full' },
@@ -14,9 +15,13 @@ const routes: Routes = [
{ path: 'trending', component: TrendingComponent }, { path: 'trending', component: TrendingComponent },
{ path: 'library', component: LibraryComponent }, { path: 'library', component: LibraryComponent },
{ path: 'entry', component: EntryPageComponent },
{ {
path: 'user-collections', 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
),
}, },
]; ];
+2
View File
@@ -27,6 +27,7 @@ import { DynamicEntryListComponent } from './shared/components/lists/dynamic-ent
import { NotificationPopupComponent } from './shared/components/notification-popup/notification-popup.component'; import { NotificationPopupComponent } from './shared/components/notification-popup/notification-popup.component';
import { MainCardComponent } from './shared/components/cards/main-card/main-card.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 { UserCollectionsModalComponent } from './shared/components/modals/list-selection-modal/user-collections-modal.component';
import { EntryPageComponent } from './features/entry/entry-page/entry-page.component';
@NgModule({ @NgModule({
declarations: [ declarations: [
@@ -43,6 +44,7 @@ import { UserCollectionsModalComponent } from './shared/components/modals/list-s
DynamicEntryListComponent, DynamicEntryListComponent,
NotificationPopupComponent, NotificationPopupComponent,
UserCollectionsModalComponent, UserCollectionsModalComponent,
EntryPageComponent,
], ],
imports: [ imports: [
CoreModule, CoreModule,
@@ -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;
}
@@ -0,0 +1,33 @@
<img src="https://image.tmdb.org/t/p/original/4LZuFMhLivOSO7zuWAQ3RffMnnr.jpg" alt="Banner Image"
class="background-image">
<div class="container mt-5 content-wrapper main-container">
<div class="row">
<div class="col-md-4">
<!-- Movie Poster -->
<div class="poster">
<img src="https://www.themoviedb.org/t/p/w600_and_h900_bestv2/l3Bn2jgYndSFvcPpddqMxQXiiCe.jpg"
alt="Movie Poster" class="img-fluid mb-3">
</div>
<!-- Movie Info -->
<ul class="list-group side-info">
<li class="list-group-item"><strong>Next Episode:</strong> 2023-05-11</li>
<li class="list-group-item"><strong>Status:</strong> Released</li>
<li class="list-group-item"><strong>Genre:</strong> Action, Adventure</li>
<li class="list-group-item"><strong>Rating:</strong> 8.5/10</li>
<li class="list-group-item"><strong>Rating:</strong> 8.5/10</li>
</ul>
</div>
<div class="col-md-8">
<!-- Movie Title -->
<h2 class="title">Movie Title</h2>
<!-- Movie Release Date -->
<p><strong>Release Date:</strong> January 1, 2024</p>
<!-- Movie Overview -->
<p>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.</p>
</div>
</div>
</div>
@@ -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<EntryPageComponent>;
beforeEach(() => {
TestBed.configureTestingModule({
declarations: [EntryPageComponent]
});
fixture = TestBed.createComponent(EntryPageComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
@@ -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 {
}