diff --git a/src/psaggregator/src/routes/+page.server.ts b/src/psaggregator/src/routes/+page.server.ts index a0aaa21..cffb03c 100644 --- a/src/psaggregator/src/routes/+page.server.ts +++ b/src/psaggregator/src/routes/+page.server.ts @@ -124,7 +124,7 @@ export async function load() { orderBy: { date: "desc" }, - take: 3 + take: 7 }) ]); diff --git a/src/psaggregator/src/routes/+page.svelte b/src/psaggregator/src/routes/+page.svelte index eb50f6f..f125917 100644 --- a/src/psaggregator/src/routes/+page.svelte +++ b/src/psaggregator/src/routes/+page.svelte @@ -58,9 +58,7 @@ {#each data.today as content} {:else} -
- Bisher konnte heute kein Uploadplan importiert werden. -
+
Bisher konnte heute kein Uploadplan importiert werden.
{/each} @@ -108,29 +106,27 @@ {/each} -
+
- twitch - Anstehende Streams + reddit + Reddit
- {#each data.upcomingStreams as stream} - - {:else} -
- Momentan sind keine geplanten Streams bekannt. -
+ {#each data.redditPosts.slice(0, matches ? 10 : 5) as reddit} + {/each}
-
+
- reddit - Reddit + twitch + Anstehende Streams
- {#each data.redditPosts.slice(0, matches ? 10 : 5) as reddit} - + {#each data.upcomingStreams as stream} + + {:else} +
Momentan sind keine geplanten Streams bekannt.
{/each}