Skip to content

Commit 370f57a

Browse files
committed
added components
1 parent 7f72111 commit 370f57a

21 files changed

+217
-0
lines changed

src/app/app.module.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ import { NavbarComponent } from './components/shared/navbar/navbar.component';
77
import { UserComponent } from './components/shared/user/user.component';
88
import { SidebarComponent } from './components/shared/sidebar/sidebar.component';
99
import { ClockComponent } from './components/shared/clock/clock.component';
10+
import { OptionsSidebarComponent } from './components/options-sidebar/options-sidebar.component';
11+
import { GettingStartedComponent } from './components/optionsSidebar/getting-started/getting-started.component';
12+
import { TimeClockComponent } from './components/optionsSidebar/time-clock/time-clock.component';
13+
import { TimeEntriesComponent } from './components/optionsSidebar/time-entries/time-entries.component';
14+
import { TimeOffComponent } from './components/optionsSidebar/time-off/time-off.component';
15+
import { ReportsComponent } from './components/optionsSidebar/reports/reports.component';
1016

1117
@NgModule({
1218
declarations: [
@@ -15,6 +21,12 @@ import { ClockComponent } from './components/shared/clock/clock.component';
1521
UserComponent,
1622
SidebarComponent,
1723
ClockComponent,
24+
OptionsSidebarComponent,
25+
GettingStartedComponent,
26+
TimeClockComponent,
27+
TimeEntriesComponent,
28+
TimeOffComponent,
29+
ReportsComponent,
1830
],
1931
imports: [
2032
BrowserModule,

src/app/components/optionsSidebar/getting-started/getting-started.component.css

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p>getting-started works!</p>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { GettingStartedComponent } from './getting-started.component';
4+
5+
describe('GettingStartedComponent', () => {
6+
let component: GettingStartedComponent;
7+
let fixture: ComponentFixture<GettingStartedComponent>;
8+
9+
beforeEach(async(() => {
10+
TestBed.configureTestingModule({
11+
declarations: [ GettingStartedComponent ]
12+
})
13+
.compileComponents();
14+
}));
15+
16+
beforeEach(() => {
17+
fixture = TestBed.createComponent(GettingStartedComponent);
18+
component = fixture.componentInstance;
19+
fixture.detectChanges();
20+
});
21+
22+
it('should create', () => {
23+
expect(component).toBeTruthy();
24+
});
25+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-getting-started',
5+
templateUrl: './getting-started.component.html',
6+
styleUrls: ['./getting-started.component.css']
7+
})
8+
export class GettingStartedComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit(): void {
13+
}
14+
15+
}

src/app/components/optionsSidebar/reports/reports.component.css

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p>reports works!</p>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { ReportsComponent } from './reports.component';
4+
5+
describe('ReportsComponent', () => {
6+
let component: ReportsComponent;
7+
let fixture: ComponentFixture<ReportsComponent>;
8+
9+
beforeEach(async(() => {
10+
TestBed.configureTestingModule({
11+
declarations: [ ReportsComponent ]
12+
})
13+
.compileComponents();
14+
}));
15+
16+
beforeEach(() => {
17+
fixture = TestBed.createComponent(ReportsComponent);
18+
component = fixture.componentInstance;
19+
fixture.detectChanges();
20+
});
21+
22+
it('should create', () => {
23+
expect(component).toBeTruthy();
24+
});
25+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-reports',
5+
templateUrl: './reports.component.html',
6+
styleUrls: ['./reports.component.css']
7+
})
8+
export class ReportsComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit(): void {
13+
}
14+
15+
}

src/app/components/optionsSidebar/time-clock/time-clock.component.css

Whitespace-only changes.

0 commit comments

Comments
 (0)