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.
Large improvements to order page, with inclusion of list of order ite…
…ms, donut picture, as well as sum over all elemnts of order
- Loading branch information
1 parent
1bfd568
commit d04929c
Showing
6 changed files
with
215 additions
and
203 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 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.