diff --git a/apps/dashboard/src/app/app.module.ts b/apps/dashboard/src/app/app.module.ts index f457f66..8a93025 100644 --- a/apps/dashboard/src/app/app.module.ts +++ b/apps/dashboard/src/app/app.module.ts @@ -6,10 +6,26 @@ import { NxWelcomeComponent } from './nx-welcome.component'; import { HttpClientModule } from '@angular/common/http'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { StoreModule } from '@ngrx/store'; +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'; @NgModule({ - declarations: [AppComponent, NxWelcomeComponent], - imports: [BrowserModule, HttpClientModule, BrowserAnimationsModule, StoreModule.forRoot({}, {})], + declarations: [ + AppComponent, + NxWelcomeComponent, + WidgetsComponent, + WidgetsListComponent, + WidgetDetailsComponent, + ], + imports: [ + BrowserModule, + HttpClientModule, + BrowserAnimationsModule, + StoreModule.forRoot({}, {}), + RoutingModule, + ], providers: [], bootstrap: [AppComponent], }) diff --git a/apps/dashboard/src/app/routing.module.ts b/apps/dashboard/src/app/routing.module.ts new file mode 100644 index 0000000..f1e6e0d --- /dev/null +++ b/apps/dashboard/src/app/routing.module.ts @@ -0,0 +1,12 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; + + + +@NgModule({ + declarations: [], + imports: [ + CommonModule + ] +}) +export class RoutingModule { } diff --git a/apps/dashboard/src/app/widgets/widget-details/widget-details.component.html b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.html new file mode 100644 index 0000000..d04ca60 --- /dev/null +++ b/apps/dashboard/src/app/widgets/widget-details/widget-details.component.html @@ -0,0 +1 @@ +

widget-details works!

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

widgets-list works!

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

widgets works!

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