diff --git a/src/components/App.svelte b/src/components/App.svelte index e9cd57a..bd23834 100644 --- a/src/components/App.svelte +++ b/src/components/App.svelte @@ -8,32 +8,9 @@ - - {#each $entries as entry} - - - toggleEntry(entry)}> - {#if entry === $currentEntry && !$paused} - ⏸️ - {:else} - ▶️ - {/if} - - + - - {entry.metadata.title} - - {entry.status.account.username} {entry.status.account.acct} - {entry.data.url} - - - - {/each} - - - entries.load(5)}>LOAD 5 MOAR @@ -43,30 +20,9 @@ \ No newline at end of file diff --git a/src/components/Queue.svelte b/src/components/Queue.svelte new file mode 100644 index 0000000..f5106f8 --- /dev/null +++ b/src/components/Queue.svelte @@ -0,0 +1,66 @@ + + {#each $entries as entry} + + + toggleEntry(entry)}> + {#if entry === $currentEntry && !$paused} + ⏸️ + {:else} + ▶️ + {/if} + + + + + {entry.metadata.title} + + + {entry.status.account.username} {entry.status.account.acct} + {entry.data.url} + + + + {/each} + + entries.load(5)}>LOAD 5 MOAR + + + + + \ No newline at end of file