diff --git a/src/assets/egg.svg b/src/assets/egg.svg new file mode 100644 index 0000000..62e2acc --- /dev/null +++ b/src/assets/egg.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/assets/external-link.svg b/src/assets/external-link.svg new file mode 100644 index 0000000..5c2b253 --- /dev/null +++ b/src/assets/external-link.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/components/DatePicker.vue b/src/components/DatePicker.vue new file mode 100644 index 0000000..d9e949c --- /dev/null +++ b/src/components/DatePicker.vue @@ -0,0 +1,113 @@ + + + + + + \ No newline at end of file diff --git a/src/components/EditMealPage.vue b/src/components/EditMealPage.vue index 22e39c5..dcd70cb 100644 --- a/src/components/EditMealPage.vue +++ b/src/components/EditMealPage.vue @@ -1,17 +1,33 @@ + + \ No newline at end of file diff --git a/src/components/IngredientLine.vue b/src/components/IngredientLine.vue index 0c1f2b6..f553af7 100644 --- a/src/components/IngredientLine.vue +++ b/src/components/IngredientLine.vue @@ -7,9 +7,7 @@

-

-

- +

@@ -21,7 +19,12 @@ {{ ingredient?.unit || 'unit' }} of {{ ingredient?.name || 'name' }} - ({{ ingredient?.product?.name || 'product' }}) + + + ( {{ ingredient?.product?.name }} ) + + ( {{ 'product' }} ) + @@ -33,18 +36,21 @@ -
-
-
-

Ingredient: {{ ingredient.name }}

-

Quantity: {{ ingredient.quantity }}

-

Unit: {{ ingredient.unit }}

-

Preparation: {{ ingredient.preparation }}

-
-
-

Product: {{ ingredient.product.name }}

-

-
+
+
+

Ingredient: {{ ingredient.name }}

+

Quantity: {{ ingredient.quantity }}

+

Unit: {{ ingredient.unit }}

+

Preparation: {{ ingredient.preparation }}

+
+
@@ -186,6 +192,12 @@ export default { width: 100%; } +.product-link-input { + padding: 0.5vh; + color: #777; + margin-top: 0.2vh; +} + .ingredient-details { display: flex; flex-direction: row; diff --git a/src/components/RecipeCard.vue b/src/components/RecipeCard.vue new file mode 100644 index 0000000..a31c3d7 --- /dev/null +++ b/src/components/RecipeCard.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/src/components/RecipeSearchBox.vue b/src/components/RecipeSearchBox.vue index df16c23..0a8cac0 100644 --- a/src/components/RecipeSearchBox.vue +++ b/src/components/RecipeSearchBox.vue @@ -1,10 +1,10 @@