This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding pricing page * Fixing lint error * Fixing broken test
- Loading branch information
Showing
7 changed files
with
200 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<h1>Pricing</h1> | ||
|
||
<div class="flex-grid"> | ||
<div class="col"> | ||
<mat-card> | ||
<mat-card-title>Trial</mat-card-title> | ||
<mat-card-subtitle>Free</mat-card-subtitle> | ||
<mat-card-content> | ||
<ul> | ||
<li> | ||
<i class="icon-li icon-ok"></i>50 ingredient parses per day</li> | ||
<li>E-mail support</li> | ||
</ul> | ||
</mat-card-content> | ||
<mat-card-actions> | ||
<a href="https://rapidapi.com/zestfuldata/api/Recipe%20and%20Ingredient%20Analysis" mat-flat-button color="primary">Try for Free</a> | ||
</mat-card-actions> | ||
</mat-card> | ||
</div> | ||
<div class="col"> | ||
<mat-card class="preferred-plan"> | ||
<mat-card-title>Professional</mat-card-title> | ||
<mat-card-subtitle>$3 per 1,000 ingredients parsed</mat-card-subtitle> | ||
<mat-card-content> | ||
<ul> | ||
<li>Unlimited ingredient parses</li> | ||
<li>Priority e-mail and phone support</li> | ||
<li>Managed hosting</li> | ||
</ul> | ||
</mat-card-content> | ||
<mat-card-actions> | ||
<a class="preferred-plan" href="https://rapidapi.com/zestfuldata/api/Recipe%20and%20Ingredient%20Analysis" mat-raised-button | ||
color="accent">Sign Up Now</a> | ||
</mat-card-actions> | ||
</mat-card> | ||
</div> | ||
<div class="col"> | ||
<mat-card> | ||
<mat-card-title>Enterprise</mat-card-title> | ||
<mat-card-subtitle>Flat fee</mat-card-subtitle> | ||
<mat-card-content> | ||
<ul> | ||
<li>Self-hosted instance</li> | ||
<li>Unlimited ingredient parses</li> | ||
<li>Priority e-mail and phone support</li> | ||
</ul> | ||
</mat-card-content> | ||
<mat-card-actions> | ||
<a href="mailto:contact@zestfuldata.com" mat-flat-button color="primary">Contact Us</a> | ||
</mat-card-actions> | ||
</mat-card> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
@import '~styles/breakpoints'; | ||
|
||
h2 { | ||
margin-top: 15px; | ||
margin-bottom: 30px; | ||
@include respond-to('small') { | ||
margin-bottom: 10px; | ||
} | ||
} | ||
|
||
.flex-grid { | ||
display: flex; | ||
justify-content: space-between; | ||
@include respond-to('small') { | ||
display: block; | ||
} | ||
} | ||
|
||
.col { | ||
flex: 1; | ||
width: 5%; | ||
margin-bottom: 50px; | ||
@include respond-to('small') { | ||
width: 100%; | ||
margin-bottom: 20px; | ||
padding-top: 30px; | ||
} | ||
} | ||
|
||
mat-card { | ||
width: 325px; | ||
margin-top: 55px; | ||
@include respond-to('small') { | ||
margin-top: 0px; | ||
width: 100%; | ||
} | ||
} | ||
|
||
mat-card.preferred-plan { | ||
width: 400px; | ||
height: 340px; | ||
@include respond-to('small') { | ||
width: 100%; | ||
} | ||
} | ||
|
||
mat-card-title { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.preferred-plan mat-card-title { | ||
font-size: 20pt; | ||
} | ||
|
||
mat-card-subtitle { | ||
font-size: 12pt; | ||
} | ||
|
||
.preferred-plan mat-card-subtitle { | ||
font-size: 13pt; | ||
} | ||
|
||
mat-card-content { | ||
@include respond-to('small') { | ||
padding-left: 15px; | ||
} | ||
} | ||
|
||
mat-card-content li { | ||
margin-left: 4px; | ||
font-size: 12pt; | ||
} | ||
|
||
.preferred-plan mat-card-content li { | ||
margin-left: 4px; | ||
font-size: 14pt; | ||
} | ||
|
||
mat-card-actions { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
mat-card-actions a.preferred-plan { | ||
font-size: 16pt; | ||
margin-top: 20px; | ||
padding: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | ||
import { NO_ERRORS_SCHEMA } from '@angular/core'; | ||
|
||
import { PricingComponent } from './pricing.component'; | ||
|
||
describe('PricingComponent', () => { | ||
let component: PricingComponent; | ||
let fixture: ComponentFixture<PricingComponent>; | ||
|
||
beforeEach(async(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [PricingComponent], | ||
schemas: [NO_ERRORS_SCHEMA], | ||
}) | ||
.compileComponents(); | ||
})); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(PricingComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-pricing', | ||
templateUrl: './pricing.component.html', | ||
styleUrls: ['./pricing.component.scss'], | ||
}) | ||
export class PricingComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |