diff --git a/src/components/layouts/PosterLayout.svelte b/src/components/layouts/PosterLayout.svelte new file mode 100644 index 0000000..10bdda3 --- /dev/null +++ b/src/components/layouts/PosterLayout.svelte @@ -0,0 +1,116 @@ + + +
+

+ {product.location.name} +

+ + + + {#if product.photos_preview.length} +
+ {#each product.photos_preview.slice(0, product.photos_preview.length - 1) as { directus_files_id}, index} + {directus_files_id.title} + {/each} +
+ {/if} + +
+
+ {#if product.description} +

{product.description}

+ {/if} + {#if product.details} +

{product.details}

+ {/if} +
+
+ + {#if lastPreviewPhoto} + {lastPreviewPhoto.title} + {/if} +
\ No newline at end of file diff --git a/src/components/molecules/Poster.svelte b/src/components/molecules/Poster.svelte index 796781a..242d399 100644 --- a/src/components/molecules/Poster.svelte +++ b/src/components/molecules/Poster.svelte @@ -10,7 +10,7 @@