generated from CMU-17-356/dronut-starter
-
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.
Merge pull request #72 from CMU-17-356/orders
Large improvements to order UI, as well as dynamic content from backend api
- Loading branch information
Showing
7 changed files
with
223 additions
and
206 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export default interface DroneInterface { | ||
_id: string; | ||
battery_life: number; | ||
critcal: false; | ||
} |
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,5 @@ | ||
export default interface DonutInterface { | ||
_id: string; | ||
flavor: string; | ||
price: number; | ||
} |
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,20 @@ | ||
export var donutImages = { | ||
'Apple Krumb': require('../../assets/apple_krumb.jpeg'), | ||
'Bavarian Kreme': require('../../assets/bavarian_kreme.jpeg'), | ||
Blueberry: require('../../assets/blueberry.jpeg'), | ||
'Boston Kreme': require('../../assets/boston_kreme.jpeg'), | ||
'Chocolate Frosted': require('../../assets/chocolate_frosted.jpeg'), | ||
'Chocolate Glaze': require('../../assets/chocolate_glaze.jpeg'), | ||
'Cinnamon Sugar': require('../../assets/cinnamon_sugar.jpeg'), | ||
'Marble Frosted': require('../../assets/marble_frosted.jpeg'), | ||
'Old Fashioned': require('../../assets/old_fashioned.jpeg'), | ||
'Original Glaze': require('../../assets/original_glaze.jpeg'), | ||
'Powdered Sugar': require('../../assets/powdered_sugar.jpeg'), | ||
'Sour Cream': require('../../assets/sour_cream.jpeg'), | ||
'Strawberry Frosted': require('../../assets/strawberry_frosted.jpeg'), | ||
'Vanilla Frosted': require('../../assets/vanilla_frosted.jpeg'), | ||
Coconut: require('../../assets/coconut.jpeg'), | ||
Cruller: require('../../assets/cruller.jpeg'), | ||
Jelly: require('../../assets/jelly.jpeg'), | ||
'Chocolate Kreme': require('../../assets/chocolate_kreme.jpeg') | ||
}; |
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
Oops, something went wrong.