diff --git a/src/lib/components/entrySummaryView.svelte b/src/lib/components/entrySummaryView.svelte index 2502eac..578878c 100644 --- a/src/lib/components/entrySummaryView.svelte +++ b/src/lib/components/entrySummaryView.svelte @@ -8,14 +8,14 @@ const formattedDate = formatDate(entry.date); -
  • +
  • {formattedDate}

    {@html generateHTML(entry.content, [StarterKit])}
    diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 84a8945..c2cb0f6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -17,23 +17,25 @@ } -
    -
    - -
      - {#each data.all as entry} - await selectEntry(entry.id)} {entry} /> - {/each} -
    -
    +
    + +
    + {#if selectedEntry} + + {:else} + + {/if} +
    + +
    +
      + {#each data.all as entry} + await selectEntry(entry.id)} {entry} /> + {/each} +
    +
    + -
    \ No newline at end of file