cleanup
This commit is contained in:
parent
28d8f17e68
commit
c2e079d0cc
1 changed files with 9 additions and 11 deletions
|
|
@ -20,20 +20,18 @@
|
||||||
notes: EndNote[];
|
notes: EndNote[];
|
||||||
}
|
}
|
||||||
|
|
||||||
let { notes = [] }: Props = $props();
|
let { notes }: Props = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Block class="notes fmt-6 fmb-8">
|
<Block class="notes fmt-6 fmb-8">
|
||||||
{#if notes}
|
{#each notes as note}
|
||||||
{#each notes as note}
|
<div class="note-title">
|
||||||
<div class="note-title">
|
<Markdown source={note.title} />
|
||||||
<Markdown source={note.title} />
|
</div>
|
||||||
</div>
|
<div class="note-content">
|
||||||
<div class="note-content">
|
<Markdown source={note.text} />
|
||||||
<Markdown source={note.text} />
|
</div>
|
||||||
</div>
|
{/each}
|
||||||
{/each}
|
|
||||||
{/if}
|
|
||||||
</Block>
|
</Block>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue