From 4db5923857ad6dd057cba3eb92349d5d3cd4bcf4 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 6 Sep 2016 13:44:13 +0200 Subject: [PATCH] Add empty front page with just a header Signed-off-by: Gergely Polonkai --- .gitignore | 2 ++ app/app.component.html | 1 + app/app.component.ts | 7 +++++++ app/app.module.ts | 11 +++++++++++ app/main.ts | 6 ++++++ index.html | 27 +++++++++++++++++++++++++++ styles.css | 0 7 files changed, 54 insertions(+) create mode 100644 app/app.component.html create mode 100644 app/app.component.ts create mode 100644 app/app.module.ts create mode 100644 app/main.ts create mode 100644 index.html create mode 100644 styles.css diff --git a/.gitignore b/.gitignore index 51e8a33..16b4863 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /typings/ /node_modules/ /npm-debug.log +/app/*.js +/app/*.js.map diff --git a/app/app.component.html b/app/app.component.html new file mode 100644 index 0000000..f69bb09 --- /dev/null +++ b/app/app.component.html @@ -0,0 +1 @@ +

Hello!

diff --git a/app/app.component.ts b/app/app.component.ts new file mode 100644 index 0000000..c530bc2 --- /dev/null +++ b/app/app.component.ts @@ -0,0 +1,7 @@ +import { Component } from "@angular/core"; + +@Component({ + selector: "duckbook-front", + templateUrl: "/app/app.component.html" +}) +export class AppComponent {} diff --git a/app/app.module.ts b/app/app.module.ts new file mode 100644 index 0000000..e9e04cc --- /dev/null +++ b/app/app.module.ts @@ -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 {} diff --git a/app/main.ts b/app/main.ts new file mode 100644 index 0000000..0280bc7 --- /dev/null +++ b/app/main.ts @@ -0,0 +1,6 @@ +import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; + +import { AppModule } from "./app.module"; + +const platform = platformBrowserDynamic(); +platform.bootstrapModule(AppModule); diff --git a/index.html b/index.html new file mode 100644 index 0000000..b6ba345 --- /dev/null +++ b/index.html @@ -0,0 +1,27 @@ + + + + Angular 2 QuickStart + + + + + + + + + + + + + + + + + + + Loading… + + diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..e69de29