diff --git a/frontend/src/app/features/pages/popular/popular.component.css b/frontend/src/app/features/pages/popular/popular.component.css new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/app/features/pages/popular/popular.component.html b/frontend/src/app/features/pages/popular/popular.component.html new file mode 100644 index 0000000..30601ab --- /dev/null +++ b/frontend/src/app/features/pages/popular/popular.component.html @@ -0,0 +1,29 @@ + + + + + + + \ No newline at end of file diff --git a/frontend/src/app/features/pages/popular/popular.component.spec.ts b/frontend/src/app/features/pages/popular/popular.component.spec.ts new file mode 100644 index 0000000..1214925 --- /dev/null +++ b/frontend/src/app/features/pages/popular/popular.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PopularComponent } from './popular.component'; + +describe('PopularComponent', () => { + let component: PopularComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [PopularComponent] + }); + fixture = TestBed.createComponent(PopularComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/features/pages/popular/popular.component.ts b/frontend/src/app/features/pages/popular/popular.component.ts new file mode 100644 index 0000000..0c5f566 --- /dev/null +++ b/frontend/src/app/features/pages/popular/popular.component.ts @@ -0,0 +1,18 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app-popular', + templateUrl: './popular.component.html', + styleUrls: ['./popular.component.css'], +}) +export class PopularComponent { + activeComponent: boolean = true; + + showComponent(activeComponent: boolean) { + this.activeComponent = activeComponent; + } + + getEndPoint(): string { + return ''; + } +}