From aaec629189ee0d0385166f3fdc63e7188abef644 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Fri, 16 Jun 2017 17:20:58 -0400 Subject: [PATCH] links component --- src/app/app.module.ts | 4 +++- src/app/links/links.component.css | 0 src/app/links/links.component.html | 3 +++ src/app/links/links.component.spec.ts | 25 +++++++++++++++++++++++++ src/app/links/links.component.ts | 15 +++++++++++++++ 5 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 src/app/links/links.component.css create mode 100644 src/app/links/links.component.html create mode 100644 src/app/links/links.component.spec.ts create mode 100644 src/app/links/links.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 3be1404..f59a25c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -4,12 +4,14 @@ import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { AboutComponent } from './about/about.component'; import { ResumeComponent } from './resume/resume.component'; +import { LinksComponent } from './links/links.component'; @NgModule({ declarations: [ AppComponent, AboutComponent, - ResumeComponent + ResumeComponent, + LinksComponent ], imports: [ BrowserModule diff --git a/src/app/links/links.component.css b/src/app/links/links.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/links/links.component.html b/src/app/links/links.component.html new file mode 100644 index 0000000..893026c --- /dev/null +++ b/src/app/links/links.component.html @@ -0,0 +1,3 @@ +

+ links works! +

diff --git a/src/app/links/links.component.spec.ts b/src/app/links/links.component.spec.ts new file mode 100644 index 0000000..ba85cb5 --- /dev/null +++ b/src/app/links/links.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { LinksComponent } from './links.component'; + +describe('LinksComponent', () => { + let component: LinksComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ LinksComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(LinksComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should be created', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/links/links.component.ts b/src/app/links/links.component.ts new file mode 100644 index 0000000..7637029 --- /dev/null +++ b/src/app/links/links.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-links', + templateUrl: './links.component.html', + styleUrls: ['./links.component.css'] +}) +export class LinksComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}