From 46e9c4eb7709430ad8aaf89deb6b1043df587549 Mon Sep 17 00:00:00 2001 From: Lorenz Detterbeck <lorenz.detterbeck@gmail.com> Date: Wed, 7 Mar 2018 10:33:03 +0100 Subject: [PATCH] Add content creation component --- .../content-creation.component.html | 3 +++ .../content-creation.component.scss | 0 .../content-creation.component.spec.ts | 25 +++++++++++++++++++ .../content-creation.component.ts | 15 +++++++++++ 4 files changed, 43 insertions(+) create mode 100644 src/app/content-creation/content-creation.component.html create mode 100644 src/app/content-creation/content-creation.component.scss create mode 100644 src/app/content-creation/content-creation.component.spec.ts create mode 100644 src/app/content-creation/content-creation.component.ts diff --git a/src/app/content-creation/content-creation.component.html b/src/app/content-creation/content-creation.component.html new file mode 100644 index 000000000..601e936cf --- /dev/null +++ b/src/app/content-creation/content-creation.component.html @@ -0,0 +1,3 @@ +<p> + content-creation works! +</p> diff --git a/src/app/content-creation/content-creation.component.scss b/src/app/content-creation/content-creation.component.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/app/content-creation/content-creation.component.spec.ts b/src/app/content-creation/content-creation.component.spec.ts new file mode 100644 index 000000000..7e3fe7640 --- /dev/null +++ b/src/app/content-creation/content-creation.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { ContentCreationComponent } from './content-creation.component'; + +describe('ContentCreationComponent', () => { + let component: ContentCreationComponent; + let fixture: ComponentFixture<ContentCreationComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ ContentCreationComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(ContentCreationComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/content-creation/content-creation.component.ts b/src/app/content-creation/content-creation.component.ts new file mode 100644 index 000000000..e80156f5e --- /dev/null +++ b/src/app/content-creation/content-creation.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-content-creation', + templateUrl: './content-creation.component.html', + styleUrls: ['./content-creation.component.scss'] +}) +export class ContentCreationComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} -- GitLab