Skip to content

Commit

Permalink
added authentication, frontpage, and generator search component
Browse files Browse the repository at this point in the history
  • Loading branch information
ema14006 committed Feb 1, 2019
1 parent 5054c63 commit 6345206
Show file tree
Hide file tree
Showing 13 changed files with 136 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ import { HeaderComponent } from './header/header.component';
import { StatisticsComponent } from './statistics/statistics.component';
import { HistoryComponent } from './history/history.component';
import { WarningsComponent } from './warnings/warnings.component';
import { AuthenticationComponent } from './authentication/authentication.component';
import { FrontpageComponent } from './frontpage/frontpage.component';
import { GeneratorSearchComponent } from './generator-search/generator-search.component';

@NgModule({
declarations: [
AppComponent,
HeaderComponent,
StatisticsComponent,
HistoryComponent,
WarningsComponent
WarningsComponent,
AuthenticationComponent,
FrontpageComponent,
GeneratorSearchComponent
],
imports: [
BrowserModule,
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions src/app/authentication/authentication.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
authentication works!
</p>
25 changes: 25 additions & 0 deletions src/app/authentication/authentication.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { AuthenticationComponent } from './authentication.component';

describe('AuthenticationComponent', () => {
let component: AuthenticationComponent;
let fixture: ComponentFixture<AuthenticationComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ AuthenticationComponent ]
})
.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(AuthenticationComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
15 changes: 15 additions & 0 deletions src/app/authentication/authentication.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-authentication',
templateUrl: './authentication.component.html',
styleUrls: ['./authentication.component.css']
})
export class AuthenticationComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Empty file.
3 changes: 3 additions & 0 deletions src/app/frontpage/frontpage.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
frontpage works!
</p>
25 changes: 25 additions & 0 deletions src/app/frontpage/frontpage.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { FrontpageComponent } from './frontpage.component';

describe('FrontpageComponent', () => {
let component: FrontpageComponent;
let fixture: ComponentFixture<FrontpageComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ FrontpageComponent ]
})
.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(FrontpageComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
15 changes: 15 additions & 0 deletions src/app/frontpage/frontpage.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-frontpage',
templateUrl: './frontpage.component.html',
styleUrls: ['./frontpage.component.css']
})
export class FrontpageComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Empty file.
3 changes: 3 additions & 0 deletions src/app/generator-search/generator-search.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
generator-search works!
</p>
25 changes: 25 additions & 0 deletions src/app/generator-search/generator-search.component.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { GeneratorSearchComponent } from './generator-search.component';

describe('GeneratorSearchComponent', () => {
let component: GeneratorSearchComponent;
let fixture: ComponentFixture<GeneratorSearchComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ GeneratorSearchComponent ]
})
.compileComponents();
}));

beforeEach(() => {
fixture = TestBed.createComponent(GeneratorSearchComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});

it('should create', () => {
expect(component).toBeTruthy();
});
});
15 changes: 15 additions & 0 deletions src/app/generator-search/generator-search.component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';

@Component({
selector: 'app-generator-search',
templateUrl: './generator-search.component.html',
styleUrls: ['./generator-search.component.css']
})
export class GeneratorSearchComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}

0 comments on commit 6345206

Please sign in to comment.