diff --git a/package.json b/package.json index d09721e..a2939cf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@minpluto/polestar", "author": "SudoVanilla ", "type": "module", - "version": "0.0.54", + "version": "0.0.55", "license": "AGPL-3.0-only", "bugs": { "url": "https://ark.sudovanilla.org/MinPluto/Polestar/issues", diff --git a/src/VideoItem.astro b/src/VideoItem.astro index e0bcde1..c787587 100644 --- a/src/VideoItem.astro +++ b/src/VideoItem.astro @@ -22,7 +22,7 @@ import { Image } from 'astro:assets';

{Length}

- {'Creator + {'Creator

{Title}

{Date} - {Views} diff --git a/test/src/pages/index.astro b/test/src/pages/index.astro index 62c52af..86a41ce 100644 --- a/test/src/pages/index.astro +++ b/test/src/pages/index.astro @@ -21,24 +21,19 @@ import MobileNavigation from '../../../src/MobileNavigation.astro' const TrendingFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending' const TrendingResponse = await fetch(TrendingFetch) const TrendingData = await TrendingResponse.json() -const TrendingSplit = TrendingData.slice(0, 1) const MoviesFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending?type=movies' const MoviesResponse = await fetch(MoviesFetch) const MoviesData = await MoviesResponse.json() -const MoviesSplit = MoviesData.slice(0, 1) - const MusicFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending?type=music' const MusicResponse = await fetch(MusicFetch) const MusicData = await MusicResponse.json() -const MusicSplit = MusicData.slice(0, 1) const GamingFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending?type=gaming' const GamingResponse = await fetch(GamingFetch) const GamingData = await GamingResponse.json() -const GamingSplit = GamingData.slice(0, 1) // Icons import { @@ -107,7 +102,7 @@ import { Open Dialog

Creators

- {TrendingSplit.map((category) => - - )} - {MoviesSplit.map((category) => - - )} - {MusicSplit.map((category) => - - )} - {GamingSplit.map((category) => - - )}

@@ -181,7 +144,7 @@ import { VideoId="PuGeR075MkE" CreatorId="UC5UAwBUum7CPN5buc-_N1Fw" Title="Immutable Linux, without the hassle? Vanilla OS 2 Orchid" - Thumbnail="https://ipx.sudovanilla.org/https://yt.sudovanilla.org/vi/PuGeR075MkE/mqdefault.jpg" + Thumbnail="https://image.proxy.sudovanilla.org/https://yt.sudovanilla.org/vi/PuGeR075MkE/mqdefault.jpg" Date="2 weeks ago" Views="71K" Length="16:10" @@ -197,7 +160,7 @@ import { VideoId="urC7PKlM3Qo" CreatorId="UC5UAwBUum7CPN5buc-_N1Fw" Title="Nvidia pilfers Youtube for AI, GNOME HDR, Immutable Manjaro: Linux & Open Source News" - Thumbnail="https://ipx.sudovanilla.org/https://yt.sudovanilla.org/vi/urC7PKlM3Qo/mqdefault.jpg" + Thumbnail="https://image.proxy.sudovanilla.org/https://yt.sudovanilla.org/vi/urC7PKlM3Qo/mqdefault.jpg" Date="1 weeks ago" Views="43K" Length="19:57" @@ -209,15 +172,16 @@ import {
+