Skip to content

Commit

Permalink
Added rhyme component to website
Browse files Browse the repository at this point in the history
  • Loading branch information
PooperPig committed Jul 6, 2018
1 parent b02a5bd commit e45c4fa
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/website/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { RhymeComponent } from './rhyme/rhyme.component';

@NgModule({
declarations: [
AppComponent
AppComponent,
RhymeComponent
],
imports: [
BrowserModule
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions projects/website/src/app/rhyme/rhyme.component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
rhyme works!
</p>
25 changes: 25 additions & 0 deletions projects/website/src/app/rhyme/rhyme.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 { RhymeComponent } from './rhyme.component';

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

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

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

it('should create', () => {
expect(component).toBeTruthy();
});
});
15 changes: 15 additions & 0 deletions projects/website/src/app/rhyme/rhyme.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-rhyme',
templateUrl: './rhyme.component.html',
styleUrls: ['./rhyme.component.css']
})
export class RhymeComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}

0 comments on commit e45c4fa

Please sign in to comment.