diff --git a/apps/dashboard/src/app/app.module.ts b/apps/dashboard/src/app/app.module.ts index 8a93025..18ec0fa 100644 --- a/apps/dashboard/src/app/app.module.ts +++ b/apps/dashboard/src/app/app.module.ts @@ -10,6 +10,7 @@ import { RoutingModule } from './routing.module'; import { WidgetsComponent } from './widgets/widgets.component'; import { WidgetsListComponent } from './widgets/widgets-list/widgets-list.component'; import { WidgetDetailsComponent } from './widgets/widget-details/widget-details.component'; +import { HomeComponent } from './home/home.component'; @NgModule({ declarations: [ @@ -18,6 +19,7 @@ import { WidgetDetailsComponent } from './widgets/widget-details/widget-details. WidgetsComponent, WidgetsListComponent, WidgetDetailsComponent, + HomeComponent, ], imports: [ BrowserModule, diff --git a/apps/dashboard/src/app/home/home.component.html b/apps/dashboard/src/app/home/home.component.html new file mode 100644 index 0000000..5f2c53f --- /dev/null +++ b/apps/dashboard/src/app/home/home.component.html @@ -0,0 +1 @@ +

home works!

diff --git a/apps/dashboard/src/app/home/home.component.scss b/apps/dashboard/src/app/home/home.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/apps/dashboard/src/app/home/home.component.spec.ts b/apps/dashboard/src/app/home/home.component.spec.ts new file mode 100644 index 0000000..7d04862 --- /dev/null +++ b/apps/dashboard/src/app/home/home.component.spec.ts @@ -0,0 +1,22 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HomeComponent } from './home.component'; + +describe('HomeComponent', () => { + let component: HomeComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [HomeComponent], + }).compileComponents(); + + fixture = TestBed.createComponent(HomeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/apps/dashboard/src/app/home/home.component.ts b/apps/dashboard/src/app/home/home.component.ts new file mode 100644 index 0000000..2c3ea5b --- /dev/null +++ b/apps/dashboard/src/app/home/home.component.ts @@ -0,0 +1,12 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'hr-webdev-home', + templateUrl: './home.component.html', + styleUrls: ['./home.component.scss'], +}) +export class HomeComponent implements OnInit { + constructor() {} + + ngOnInit(): void {} +}