diff --git a/src/psaggregator/package-lock.json b/src/psaggregator/package-lock.json index 92c243f..e558efb 100644 --- a/src/psaggregator/package-lock.json +++ b/src/psaggregator/package-lock.json @@ -1,12 +1,12 @@ { "name": "psaggregator", - "version": "1.12.0", + "version": "1.14.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "psaggregator", - "version": "1.12.0", + "version": "1.14.0", "dependencies": { "@internationalized/date": "^3.5.5", "bits-ui": "^0.21.13", diff --git a/src/psaggregator/package.json b/src/psaggregator/package.json index 719ac45..06f9747 100644 --- a/src/psaggregator/package.json +++ b/src/psaggregator/package.json @@ -1,6 +1,6 @@ { "name": "psaggregator", - "version": "1.13.0", + "version": "1.14.0", "scripts": { "dev": "vite dev", "build": "vite build", diff --git a/src/psaggregator/src/lib/components/Footer.svelte b/src/psaggregator/src/lib/components/Footer.svelte index 5c52ab8..90b2536 100644 --- a/src/psaggregator/src/lib/components/Footer.svelte +++ b/src/psaggregator/src/lib/components/Footer.svelte @@ -2,7 +2,17 @@ import MediaQuery from "$lib/utils/MediaQuery.svelte"; import { GITHUB_AUTHOR_URL, GITHUB_URL, LEGAL_URL, MAIL_TO_URL } from "../../config/config"; import { version } from "$app/environment"; - import { Api, Favorite, Home, Document, Thumbnail_2, Settings, EventSchedule, Binoculars } from "carbon-icons-svelte"; + import { + Api, + Favorite, + Home, + Document, + Thumbnail_2, + Settings, + EventSchedule, + Binoculars, + IbmWatsonxCodeAssistantForZRefactor + } from "carbon-icons-svelte"; import { page } from "$app/stores"; @@ -10,6 +20,10 @@ :global(.tab-list) { justify-content: unset !important; } + + #iconfooter > a { + @apply flex items-center justify-center p-4 pt-4; + } @@ -38,71 +52,34 @@ Dies ist ein privates Projekt und steht in keiner Verbindung zur PietSmiet UG & Co. KG. {:else} -
- - - - - - - - + {/if} diff --git a/src/psaggregator/src/routes/+layout.svelte b/src/psaggregator/src/routes/+layout.svelte index 8ff5fc6..35dd00a 100644 --- a/src/psaggregator/src/routes/+layout.svelte +++ b/src/psaggregator/src/routes/+layout.svelte @@ -16,9 +16,11 @@ import { browser } from "$app/environment"; import { onMount } from "svelte"; import type { LayoutData } from "./$types"; - import { CloseLarge, WarningAltFilled } from "carbon-icons-svelte"; + import { CloseLarge } from "carbon-icons-svelte"; import { ModeWatcher } from "mode-watcher"; import { Toaster } from "$lib/components/ui/sonner"; + import * as Alert from "$lib/components/ui/alert"; + import { slide } from "svelte/transition"; export let data: LayoutData; @@ -51,22 +53,21 @@
- {#each data.announcements as announcement} - + {#each data.announcements as announcement (announcement.id)} +
+ +
+ {@html announcement.text} +
+ +
+
{/each}
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}
diff --git a/src/psaggregator/src/routes/changelog/+page.svelte b/src/psaggregator/src/routes/changelog/+page.svelte index b344363..f51f041 100644 --- a/src/psaggregator/src/routes/changelog/+page.svelte +++ b/src/psaggregator/src/routes/changelog/+page.svelte @@ -24,9 +24,13 @@

Neue Features

+
+ Anpassung Footer + Die Navigationsleiste auf mobilen Endgeräten wurde angepasst. Sie enthält keine Labels mehr dafür größere Icons. +
Anzeige von neuen Videos! - Auf der Videos-Seite erhältst du nun eine Meldung, sollten neue Videos verfügbar sein. + Auf der Videos-Seite erhältst du nun eine Meldung, sollten neue Videos verfügbar sein.
Verlinkung von YouTube-Videos!