From ff172e11d74cc70168e25052da62b55c1c6caf0f Mon Sep 17 00:00:00 2001 From: Andrew Kemp Date: Tue, 12 May 2020 16:57:34 -0400 Subject: [PATCH] Updated layout, added toolbar --- src/app/app.component.html | 10 +++------- src/app/app.component.ts | 1 - src/app/app.module.ts | 7 ++++++- src/index.html | 7 +++++-- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 777a057..bc5157a 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,7 +1,3 @@ - -
-

- Welcome to {{title}}! -

-
- + + Rock Paper Scissors + \ No newline at end of file diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6065ef2..68478a8 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -6,5 +6,4 @@ import { Component } from '@angular/core'; styleUrls: ['./app.component.css'] }) export class AppComponent { - title = 'Rock Paper Scissors'; } diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d4d7c20..efa8b97 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -2,7 +2,10 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; +import { MatButtonModule } from '@angular/material/button'; +import { MatToolbarModule } from '@angular/material/toolbar'; import { StoreModule } from '@ngrx/store'; + import { AppComponent } from './app.component'; @NgModule({ @@ -12,7 +15,9 @@ import { AppComponent } from './app.component'; imports: [ BrowserModule, BrowserAnimationsModule, - StoreModule.forRoot({}, {}) + MatButtonModule, + MatToolbarModule, + StoreModule.forRoot({}, {}), ], providers: [], bootstrap: [AppComponent] diff --git a/src/index.html b/src/index.html index 96d785f..6e515ce 100644 --- a/src/index.html +++ b/src/index.html @@ -1,8 +1,9 @@ + - RockPaperScissors + Rock Paper Scissors @@ -10,7 +11,9 @@ + - + + \ No newline at end of file