-
-
+
+
+
{data?.title || 'Article'}
+
Article view - To be implemented
-
-
-
{data.title}
-
-
- {#if data.intro}
-
{@html data.intro}
- {/if}
-
-
- {#if data.cover}
-
-

-
- {/if}
-
-
- {#if data.body}
-
{@html data.body}
- {/if}
-
-
- {#if data.related?.length}
-
- Nos recommandations
-
-
- {/if}
-
-
+
diff --git a/src/views/Blog.svelte b/src/views/Blog.svelte
index ae7cc8f..9023ba3 100644
--- a/src/views/Blog.svelte
+++ b/src/views/Blog.svelte
@@ -1,350 +1,24 @@
-
-
-
- {#if articleData}
-
-
- {:else}
-
-
-
- {#if data?.intro}
-
- {/if}
-
- {#if featured}
-
-
-
-
- {#if featured.intro}
-
{featured.intro}
- {/if}
-
- Lire l'article →
-
-
- {#if featured.cover}
-
-
-
-
-
- {/if}
-
-
- {/if}
-
- {#each articles as article, i}
-
-
-
-
-
- Lire l'article →
-
-
- {#if article.cover}
-
-
-
-
-
- {/if}
-
- {#if i < articles.length - 1}
-
- {/if}
- {/each}
-
- {#if articleLoading}
-
Chargement…
- {/if}
-
-
-
-
- {/if}
-
+
+
+
{data?.title || 'Blog'}
+
Blog view - To be implemented
+
+