diff --git a/src/routes/recipes/[id]/print/+page.svelte b/src/routes/recipes/[id]/print/+page.svelte new file mode 100644 index 0000000..ef7f009 --- /dev/null +++ b/src/routes/recipes/[id]/print/+page.svelte @@ -0,0 +1,140 @@ + + +
+
+

{data.recipe.title}

+

+ {data.servings} {data.recipe.servings_unit ?? 'Portionen'} + {#if data.recipe.prep_time_min}· Vorb. {data.recipe.prep_time_min} min{/if} + {#if data.recipe.cook_time_min}· Kochen {data.recipe.cook_time_min} min{/if} + {#if data.recipe.source_url} + · Quelle: {data.recipe.source_domain} + {/if} +

+
+ + {#if data.recipe.image_path} + + {/if} + +
+

Zutaten

+ +
+ +
+

Zubereitung

+
    + {#each data.recipe.steps as step (step.position)} +
  1. {step.text}
  2. + {/each} +
+
+ + {#if data.recipe.source_url} + + {/if} +
+ +