Add empty front page with just a header

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
2016-09-06 13:44:13 +02:00
parent 7c1fd5de39
commit 4db5923857
7 changed files with 54 additions and 0 deletions

1
app/app.component.html Normal file
View File

@@ -0,0 +1 @@
<h1>Hello!</h1>

7
app/app.component.ts Normal file
View File

@@ -0,0 +1,7 @@
import { Component } from "@angular/core";
@Component({
selector: "duckbook-front",
templateUrl: "/app/app.component.html"
})
export class AppComponent {}

11
app/app.module.ts Normal file
View File

@@ -0,0 +1,11 @@
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { AppComponent } from "./app.component";
@NgModule({
imports: [ BrowserModule ],
declarations: [ AppComponent ],
bootstrap: [ AppComponent ]
})
export class AppModule {}

6
app/main.ts Normal file
View File

@@ -0,0 +1,6 @@
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import { AppModule } from "./app.module";
const platform = platformBrowserDynamic();
platform.bootstrapModule(AppModule);