diff --git a/frontend/src/components/Recipe/RecipeViewer.vue b/frontend/src/components/Recipe/RecipeViewer.vue deleted file mode 100644 index 3fbc04646..000000000 --- a/frontend/src/components/Recipe/RecipeViewer.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - - {{ name }} - - - - - - - - {{ yields }} - - - - - - - {{ $t("recipe.ingredients") }} - - - - - - - {{ $t("recipe.categories") }} - - {{ category }} - - - - - {{ $t("recipe.tags") }} - - {{ tag }} - - - - {{ $t("recipe.notes") }} - - {{ note.title }} - - {{ note.text }} - - - - - - - {{ $t("recipe.instructions") }} - - - {{ - $t("recipe.step-index", { step: index + 1 }) - }} - - - {{ step.text }} - - - - - - - - - - - {{ $t("recipe.original-url") }} - - - - - - - - - \ No newline at end of file diff --git a/frontend/src/components/Recipe/RecipeViewer/Ingredients.vue b/frontend/src/components/Recipe/RecipeViewer/Ingredients.vue new file mode 100644 index 000000000..ee758b6bc --- /dev/null +++ b/frontend/src/components/Recipe/RecipeViewer/Ingredients.vue @@ -0,0 +1,34 @@ + + + {{ $t("recipe.ingredients") }} + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/components/Recipe/RecipeViewer/Notes.vue b/frontend/src/components/Recipe/RecipeViewer/Notes.vue new file mode 100644 index 000000000..e25701d27 --- /dev/null +++ b/frontend/src/components/Recipe/RecipeViewer/Notes.vue @@ -0,0 +1,36 @@ + + + {{ $t("recipe.notes") }} + + {{ note.title }} + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue b/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue new file mode 100644 index 000000000..cde5d99c3 --- /dev/null +++ b/frontend/src/components/Recipe/RecipeViewer/RecipeChips.vue @@ -0,0 +1,26 @@ + + + {{ title }} + + {{ category }} + + + + + + + \ No newline at end of file diff --git a/frontend/src/components/Recipe/RecipeViewer/Steps.vue b/frontend/src/components/Recipe/RecipeViewer/Steps.vue new file mode 100644 index 000000000..4b674668e --- /dev/null +++ b/frontend/src/components/Recipe/RecipeViewer/Steps.vue @@ -0,0 +1,67 @@ + + + {{ $t("recipe.instructions") }} + + + {{ + $t("recipe.step-index", { step: index + 1 }) + }} + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/components/Recipe/RecipeViewer/index.vue b/frontend/src/components/Recipe/RecipeViewer/index.vue new file mode 100644 index 000000000..845c63c95 --- /dev/null +++ b/frontend/src/components/Recipe/RecipeViewer/index.vue @@ -0,0 +1,130 @@ + + + + {{ name }} + + + + + + + {{ yields }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t("recipe.original-url") }} + + + + + + + + + \ No newline at end of file