From 0922e7f865d61295adc6807f2776a80ce70fe711 Mon Sep 17 00:00:00 2001 From: Jacob Date: Sat, 7 Dec 2019 03:16:32 -0500 Subject: Delete main page component that was no longer needed --- recipeBuddy/src/app/app.module.ts | 2 - .../src/app/main-page/main-page.compomemt.html | 10 -- .../src/app/main-page/main-page.component.css | 29 ------ .../src/app/main-page/main-page.component.html | 108 --------------------- .../src/app/main-page/main-page.component.spec.ts | 25 ----- .../src/app/main-page/main-page.component.ts | 20 ---- 6 files changed, 194 deletions(-) delete mode 100644 recipeBuddy/src/app/main-page/main-page.compomemt.html delete mode 100644 recipeBuddy/src/app/main-page/main-page.component.css delete mode 100644 recipeBuddy/src/app/main-page/main-page.component.html delete mode 100644 recipeBuddy/src/app/main-page/main-page.component.spec.ts delete mode 100644 recipeBuddy/src/app/main-page/main-page.component.ts (limited to 'recipeBuddy/src/app') diff --git a/recipeBuddy/src/app/app.module.ts b/recipeBuddy/src/app/app.module.ts index 3dd0f53..b327d6e 100644 --- a/recipeBuddy/src/app/app.module.ts +++ b/recipeBuddy/src/app/app.module.ts @@ -4,7 +4,6 @@ import { FormsModule } from '@angular/forms'; import { MatCardModule } from '@angular/material'; import { AppComponent } from './app.component'; -import { MainPageComponent } from './main-page/main-page.component'; import { RecipeCardComponent } from './recipe-card/recipe-card.component'; import { CookPageComponent} from './cook-page/cook-page.component'; import { StepCardComponent } from './cook-page/step-card/step-card.component'; @@ -14,7 +13,6 @@ import { AppRoutingModule } from './app-routing.module'; @NgModule({ declarations: [ AppComponent, - MainPageComponent, RecipeCardComponent, CookPageComponent, StepCardComponent diff --git a/recipeBuddy/src/app/main-page/main-page.compomemt.html b/recipeBuddy/src/app/main-page/main-page.compomemt.html deleted file mode 100644 index 7a25409..0000000 --- a/recipeBuddy/src/app/main-page/main-page.compomemt.html +++ /dev/null @@ -1,10 +0,0 @@ -

- Recipe Buddy -

-
-
- -
-
-
\ No newline at end of file diff --git a/recipeBuddy/src/app/main-page/main-page.component.css b/recipeBuddy/src/app/main-page/main-page.component.css deleted file mode 100644 index 4dffa18..0000000 --- a/recipeBuddy/src/app/main-page/main-page.component.css +++ /dev/null @@ -1,29 +0,0 @@ -p { - font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; -} - -h1 { - text-align: center; - font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; -} -h2 { -font-family:'Times New Roman', Times, serif; -} -button{ - background-color: #D87620; - color: white; - padding : 15px 25px; - cursor: pointer; -} -#container{ - width:100%; - } -#left{ - float:left;width:100px; - } -#right{ - float:right;width:175px; - } -#center{ - margin:0 auto;width:100px; - } \ No newline at end of file diff --git a/recipeBuddy/src/app/main-page/main-page.component.html b/recipeBuddy/src/app/main-page/main-page.component.html deleted file mode 100644 index 9f2b69a..0000000 --- a/recipeBuddy/src/app/main-page/main-page.component.html +++ /dev/null @@ -1,108 +0,0 @@ -

- Recipe Buddy -

-
-
-
- -
-
- -
-
- -
-
-
-
- - - - - \ No newline at end of file diff --git a/recipeBuddy/src/app/main-page/main-page.component.spec.ts b/recipeBuddy/src/app/main-page/main-page.component.spec.ts deleted file mode 100644 index 39261a3..0000000 --- a/recipeBuddy/src/app/main-page/main-page.component.spec.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; - -import { MainPageComponent } from './main-page.component'; - -describe('MainPageComponent', () => { - let component: MainPageComponent; - let fixture: ComponentFixture; - - beforeEach(async(() => { - TestBed.configureTestingModule({ - declarations: [ MainPageComponent ] - }) - .compileComponents(); - })); - - beforeEach(() => { - fixture = TestBed.createComponent(MainPageComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/recipeBuddy/src/app/main-page/main-page.component.ts b/recipeBuddy/src/app/main-page/main-page.component.ts deleted file mode 100644 index 60e3acc..0000000 --- a/recipeBuddy/src/app/main-page/main-page.component.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Component } from '@angular/core'; - -@Component({ - selector: 'my-app', - templateUrl: './app.component.html', - styleUrls: [ './app.component.css' ] -}) -export class AppComponent { - name = 'Angular'; - - addPage() { - //Code here to move to add page - } - submitSearch() { - //Code here to submit search - } - shoppingCart() { - //Code here to move to shopping cart - } -} -- cgit v1.1