From 0bfc7a9e7ab6cb3e7f99b626d4350bf6ef7c6447 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 18 Dec 2025 22:40:20 +0000 Subject: [PATCH] Website Update --- package.json | 12 ++++++------ src/lib/pages/about.ts | 20 ++++++++++---------- src/routes/about/+page.server.ts | 26 +++++++++++++------------- src/routes/about/+page.svelte | 1 - 4 files changed, 29 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 7708870..6a81f91 100644 --- a/package.json +++ b/package.json @@ -11,16 +11,16 @@ }, "devDependencies": { "@sveltejs/adapter-node": "^5.4.0", - "@sveltejs/kit": "^2.49.1", + "@sveltejs/kit": "^2.49.2", "@sveltejs/vite-plugin-svelte": "^6.2.1", - "@tailwindcss/forms": "^0.5.10", + "@tailwindcss/forms": "^0.5.11", "@tailwindcss/typography": "^0.5.19", - "@tailwindcss/vite": "^4.1.17", - "svelte": "^5.45.6", + "@tailwindcss/vite": "^4.1.18", + "svelte": "^5.46.0", "svelte-check": "^4.3.4", - "tailwindcss": "^4.1.17", + "tailwindcss": "^4.1.18", "typescript": "^5.9.3", - "vite": "^7.2.6" + "vite": "^7.3.0" }, "dependencies": { "@iconify/svelte": "^5.1.0", diff --git a/src/lib/pages/about.ts b/src/lib/pages/about.ts index c2aa4f1..1d27867 100644 --- a/src/lib/pages/about.ts +++ b/src/lib/pages/about.ts @@ -256,14 +256,14 @@ export const lines: TerminalLine[] = [ }, { type: 'blank', content: '' }, - { - type: 'card', - id: 'music-player', - content: '', - mobile: false, - children: [ - { type: 'info', content: 'Loading playlist...' } - ] - }, - { type: 'blank', content: '' } + // { + // type: 'card', + // id: 'music-player', + // content: '', + // mobile: false, + // children: [ + // { type: 'info', content: 'Loading playlist...' } + // ] + // }, + // { type: 'blank', content: '' } ]; diff --git a/src/routes/about/+page.server.ts b/src/routes/about/+page.server.ts index 1401f34..f10fd93 100644 --- a/src/routes/about/+page.server.ts +++ b/src/routes/about/+page.server.ts @@ -11,23 +11,23 @@ function shuffleArray(array: any[]) { /** @type {import('./$types').PageServerLoad} */ export async function load({ params }) { - const playlistUrl = 'https://music.youtube.com/playlist?list=PLHqPHHvmOjJ6JwiYc3Fg-O5JGbVppI1VR&si=pJnM95siw3kQRlnr'; + // const playlistUrl = 'https://music.youtube.com/playlist?list=PLHqPHHvmOjJ6JwiYc3Fg-O5JGbVppI1VR&si=evK225CpqXKeSq2Q'; - const playlist = await playdl.playlist_info(playlistUrl); + // const playlist = await playdl.playlist_info(playlistUrl); - let songs = (await playlist.all_videos()).map((video: YouTubeVideo) => { - return { - title: video.title, - url: video.url, - author: video.channel?.name, - authorUrl: video.channel?.url, - thumbnail: video.thumbnails[0].url, - duration: video.durationRaw, - } - }) + // let songs = (await playlist.all_videos()).map((video: YouTubeVideo) => { + // return { + // title: video.title, + // url: video.url, + // author: video.channel?.name, + // authorUrl: video.channel?.url, + // thumbnail: video.thumbnails[0].url, + // duration: video.durationRaw, + // } + // }) return { - songs: shuffleArray(songs) + songs: [] }; } \ No newline at end of file diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index d70a422..1000bc5 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -204,7 +204,6 @@ {speed} {autoscroll} bind:terminal - onComplete={handleTerminalComplete} />