applied the cool new carousel css feature!

This commit is contained in:
Chris Kruining 2025-04-17 00:03:37 +02:00
parent 6a0c1cb377
commit 3142ac6185
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
8 changed files with 233 additions and 75 deletions

View file

@ -1,11 +1,15 @@
import type { Category, Entry } from "./types";
import { query } from "@solidjs/router";
import { entries } from "./data";
import { getContinueWatching } from "./apis/jellyfin";
export const listCategories = query(async (): Promise<Category[]> => {
"use server";
const jellyfinUserId = "a9c51af84bf54578a99ab4dd0ebf0763";
return [
{ label: "Continue", entries: await getContinueWatching(jellyfinUserId) },
{
label: "Popular",
entries: [