diff options
author | Jacob <gatelyjm@clarkson.edu> | 2019-12-07 03:16:32 -0500 |
---|---|---|
committer | Jacob <gatelyjm@clarkson.edu> | 2019-12-07 03:16:32 -0500 |
commit | 0922e7f865d61295adc6807f2776a80ce70fe711 (patch) | |
tree | aab35078100d61494b384e0598ee25dea40c434f /recipeBuddy/src | |
parent | a64074c892b7567ea822454e54aa4d8501a89194 (diff) |
Delete main page component that was no longer needed
Diffstat (limited to 'recipeBuddy/src')
-rw-r--r-- | recipeBuddy/src/app/app.module.ts | 2 | ||||
-rw-r--r-- | recipeBuddy/src/app/main-page/main-page.compomemt.html | 10 | ||||
-rw-r--r-- | recipeBuddy/src/app/main-page/main-page.component.css | 29 | ||||
-rw-r--r-- | recipeBuddy/src/app/main-page/main-page.component.html | 108 | ||||
-rw-r--r-- | recipeBuddy/src/app/main-page/main-page.component.spec.ts | 25 | ||||
-rw-r--r-- | recipeBuddy/src/app/main-page/main-page.component.ts | 20 |
6 files changed, 0 insertions, 194 deletions
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 @@ -<h1> - Recipe Buddy -</h1> -<div id="container"> - <div id="left"><button type="button">Add Recipe</button></div> - <div id="right">Search: <input type = "text"> - <input type = "submit"></div> - <div id="center"><button type="button">Shopping Cart</button> </div> -</div> -<hr>
\ 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 @@ -<h1> - Recipe Buddy -</h1> -<div id="container"> - <div id="left"> - <div id="add"> - <input (click)="addPage()" type="image" src="https://image.flaticon.com/icons/png/512/61/61183.png" - alt="add" width="60" height="60"> - </div> - </div> - <div id="right">Search: <input type = "text"> - <input (click)="submitSearch()" type = "submit"></div> - <div id="center"> - <div id="cart"> - <input (click)="shoppingCart()" type="image" src="https://image.flaticon.com/icons/png/512/126/126083.png" alt="cart" width="60" height ="60"> - </div> - </div> -</div> -<hr> -<!-- -<div id="previous"> - <input (click)="previous()" type="image" src="https://www.pngfind.com/pngs/m/9-95287_double-left-chevron-svg-png-icon-free-download.png" - alt="previous" width="45" height="45"> -</div> - - -<div id="cardContainer"> - <mat-card class="example-card"> - <mat-card-header> - <div id="card-title"> - <mat-card-title (click)="cookPage1()">{{recipeName1}}</mat-card-title> - </div> - <div id="edit"> - <input (click)="edit1()" type="image" src="https://image.freepik.com/free-icon/scissors_318-9061.jpg" - alt="edit" width="24" height="32"> - </div> - <div id="cart"> - <input (click)="shoppingCart1()" type="image" src="https://image.flaticon.com/icons/png/512/126/126083.png" alt="cart" width="24" height ="32"> - </div> - <div id="delete"> - <input (click)="delete1()" type="image" src="https://image.flaticon.com/icons/svg/61/61391.svg" alt="delete" width="24" height="32"> - </div> - </mat-card-header> - <img mat-card-image src={{recipeImage1}} alt="Photo of recipe" width="150" height="220"> - <img src={{likeRatingImg1}} alt="like rating" width="50" height="50"> - <mat-card-content> - </mat-card-content> - <mat-card-actions> - </mat-card-actions> - </mat-card> - <mat-card class="example-card"> - <mat-card-header> - <div id="card-title"> - <mat-card-title (click)="cookPage2()">{{recipeName2}}</mat-card-title> - </div> - <div id="edit"> - <input (click)="edit2()" type="image" src="https://image.freepik.com/free-icon/scissors_318-9061.jpg" - alt="edit" width="24" height="32"> - </div> - <div id="cart"> - <input (click)="shopoingCart2()" type="image" src="https://image.flaticon.com/icons/png/512/126/126083.png" alt="cart" width="24" height ="32"> - </div> - <div id="delete"> - <input (click)="delete2()" type="image" src="https://image.flaticon.com/icons/svg/61/61391.svg" alt="delete" width="24" height="32"> - </div> - </mat-card-header> - <img mat-card-image src={{recipeImage2}} alt="Photo of recipe" width="150" height="220"> - <img src={{likeRatingImg2}} alt="like rating" width="50" height="50"> - <mat-card-content> - </mat-card-content> - <mat-card-actions> - </mat-card-actions> - </mat-card> - <mat-card class="example-card"> - <mat-card-header> - <div id="card-title"> - <mat-card-title (click)="clickPage3()">{{recipeName3}}</mat-card-title> - </div> - <div id="edit"> - <input (click)="edit3()" type="image" src="https://image.freepik.com/free-icon/scissors_318-9061.jpg" - alt="edit" width="24" height="32"> - </div> - <div id="cart"> - <input (click)="shoppingCart3()" type="image" src="https://image.flaticon.com/icons/png/512/126/126083.png" alt="cart" width="24" height ="32"> - </div> - <div id="delete"> - <input (click)="delete3()" type="image" src="https://image.flaticon.com/icons/svg/61/61391.svg" alt="delete" width="24" height="32"> - </div> - </mat-card-header> - <img mat-card-image src={{recipeImage3}} alt="Photo of recipe" width="150" height="220"> - <img src={{likeRatingImg3}} alt="like rating" width="50" height="50"> - <mat-card-content> - </mat-card-content> - <mat-card-actions> - </mat-card-actions> - </mat-card> -</div> -<div id="next"> - <input (click)="next()" type="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAflBMVEX///8AAAD8/Pz5+fnt7e309PTo6Ojj4+Px8fGcnJwNDQ3f39+vr6/Z2dn29vafn596enq5ublAQECDg4PQ0NAVFRVra2uKioonJyfT09NhYWEvLy/BwcFcXFw9PT1ycnJJSUnIyMg0NDSVlZUsLCxUVFSoqKgcHBxfX1+AgICveu50AAAGrUlEQVR4nO2dgVriOhCFDSBVWFhFRVZksSqrvv8LXlZcFmjanNPmcMts/geYb1pC52RmMjk7SyQSiUQikUgkEolE4h/k5Vxk+PFWZJjk2rlcYrjv3KXEMEnm1twrLE/Whhc9hWWOp99P6J7ie3L/afhOsz4IbtwXj5EN538MS9ZHDT+cu4pquDfYGp70o1om/XA7TIYRLS92LV9HNEyycnt8i2b4ct/wRzTDJC/ugGknjuHRoeHnLI5hkttDP5ybjWIYHr8VLcdbHzjdQdEP575HsDz1GV6OI1jmePD54dxDt6nhb37DcdYHwXe/H2sayslhqeEY6wOn8DHY4aWR5ddyww8XkbwH6MwqntCtGoi4qyrDd8fbbiyr/HANRNx1wHCz9YFT8jHY4aae4Sxo+OkoIi7sx9qTWkH6J2A5tsj3MQH8qBWk7yHDNdcHwQfkxzpIsyLuETQsF3G/QEfcnAzSt5Vf6F3U243RHPXkF2d47BVsPpaNpVM1nVC02MKKOHh9zGJuR32E4taWARmkswpNsw+5PmiyJ9QTMifYqVQ1u8hF3E3Yhw0L0hN4fchFHPpxp3PGvWfUsFrEXazCPmxgc4Lw+hBkavcppGpKPSGDNLw+B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P/dk/eya+fOHOerGiZ4hNX8O2PxZbuvn8c3PVDA/F8P6bBPz82nMzxiyPifK/KyvHHXjVOe1WZ+5Z35uovXZl+bnl5qfQWt9jrD5WdDm53lbn8lufq6++bsRrN9vYf6OEvP3zFi/K8j8fU/W7+wyf+8aXpYnZdrpdU+e5v2H5u+wNH8PqfW7ZM3fB2z+Tmfr93Kbv1sd755k872qrj4O/DARW5bHZZq2ezKV5b9g2x9acsgF3+suWTmMhh/5CMAzLO9Vo/0BKziqp8avyQA3WJm2AckUqIfGfhLe0td8z+F3x+Yh6xKKFrXfcyjOqoc3b+lUfvWaHCaqVDRambbPSPaeKzSN+iacfcpzFw3f87DUsPo2o0NKskSsTCtS8hmTXytaoOs9VhDjPXul21Ka7/XjSdHEec9jT45NP8zQRyFJw+Z7yyh8xvQyrYSDNE2893xQKVff0FhOb9eNScwN217rqHpiehX5Xzfitj/0/n7G5DelVrPNRsWWw9t3d5RBlFVs8lGCrOVmI6Uty0Nksvf8exO6UN8ggnBdb7xfmL5+gDjIi2o0z+MRNxKJRCKRSCQSiUQikUj8i/wH5DKNgyDx6ggAAAAASUVORK5CYII=" - alt="next" width="45" height="45"> -</div> - --> -<!-- Copyright 2019 Google LLC. All Rights Reserved. - Use of this source code is governed by an MIT-style license that - can be found in the LICENSE file at http://angular.io/license --> - - -<!--No image found web address: https://www.azfinesthomes.com/assets/images/image-not-available.jpg -->
\ 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<MainPageComponent>; - - 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 - } -} |