From adc1a70b3486a7d4594e2e85de9e6370ae8b1d7f Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 25 Nov 2024 16:32:37 -0500 Subject: [PATCH] update --- index.ts | 1 + package.json | 5 ++-- src/Dialog.astro | 22 +++++++++++++++ src/MobileNavigation.astro | 55 +++++++++----------------------------- src/Sidebar.astro | 2 -- src/SidebarCreator.astro | 1 - src/VideoItem.astro | 4 +-- src/search/Field.astro | 1 - test/src/pages/index.astro | 32 +++++++--------------- 9 files changed, 50 insertions(+), 73 deletions(-) diff --git a/index.ts b/index.ts index f750954..9dacf00 100644 --- a/index.ts +++ b/index.ts @@ -3,6 +3,7 @@ export { default as Comment } from "./src/Comment.astro" export { default as Dialog } from "./src/Dialog.astro" export { default as MobileNavigation } from "./src/MobileNavigation.astro" export { default as Search } from "./src/search/Field.astro" +export { default as SearchField} from "./src/search/Field.astro" export { default as Sidebar } from "./src/Sidebar.astro" export { default as SidebarCreator } from "./src/SidebarCreator.astro" export { default as VideoItem } from "./src/VideoItem.astro" \ No newline at end of file diff --git a/package.json b/package.json index a2939cf..452a4d5 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,11 @@ { "name": "@minpluto/polestar", - "author": "SudoVanilla ", + "author": "SudoVanilla", "type": "module", - "version": "0.0.55", + "version": "0.0.60", "license": "AGPL-3.0-only", "bugs": { "url": "https://ark.sudovanilla.org/MinPluto/Polestar/issues", - "email": "support@minpluto.org" }, "funding": [ { diff --git a/src/Dialog.astro b/src/Dialog.astro index dbc3ccd..78700cb 100644 --- a/src/Dialog.astro +++ b/src/Dialog.astro @@ -88,6 +88,28 @@ const { \ No newline at end of file + diff --git a/src/Sidebar.astro b/src/Sidebar.astro index 60f5b6f..4e4b59d 100644 --- a/src/Sidebar.astro +++ b/src/Sidebar.astro @@ -136,7 +136,6 @@ import { Image } from "astro:assets"; } &:hover { background: #3c3c3c; - border: 1px #5c5c5c solid; } } } @@ -162,7 +161,6 @@ import { Image } from "astro:assets"; } &:hover { background: #3c3c3c; - border: 1px #5c5c5c solid; } } } diff --git a/src/SidebarCreator.astro b/src/SidebarCreator.astro index e92a09e..4552f81 100644 --- a/src/SidebarCreator.astro +++ b/src/SidebarCreator.astro @@ -9,7 +9,6 @@ const { // Components import { Image } from "astro:assets"; - --- diff --git a/src/VideoItem.astro b/src/VideoItem.astro index c787587..e717e77 100644 --- a/src/VideoItem.astro +++ b/src/VideoItem.astro @@ -17,7 +17,7 @@ import { Image } from 'astro:assets';
- {'Thumbnail'} + {'Thumbnail'}

{Length}

@@ -61,7 +61,7 @@ import { Image } from 'astro:assets'; border-radius: 3rem; } strong { - max-width: 340px; + max-width: 100%; overflow: hidden; white-space: wrap; text-overflow: ellipsis; diff --git a/src/search/Field.astro b/src/search/Field.astro index 611069e..8a20aa4 100644 --- a/src/search/Field.astro +++ b/src/search/Field.astro @@ -37,7 +37,6 @@ import { Search } from "@iconoir/vue"; display: flex; align-items: center; position: relative; - max-width: 360px; input { position: absolute; top: 0px; diff --git a/test/src/pages/index.astro b/test/src/pages/index.astro index 86a41ce..725f163 100644 --- a/test/src/pages/index.astro +++ b/test/src/pages/index.astro @@ -16,25 +16,6 @@ import Category from '../../../src/Category.astro' import SearchField from '../../../src/search/Field.astro' import MobileNavigation from '../../../src/MobileNavigation.astro' -// Data -/// Fetch Categories for YouTube -const TrendingFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending' -const TrendingResponse = await fetch(TrendingFetch) -const TrendingData = await TrendingResponse.json() - -const MoviesFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending?type=movies' -const MoviesResponse = await fetch(MoviesFetch) -const MoviesData = await MoviesResponse.json() - -const MusicFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending?type=music' -const MusicResponse = await fetch(MusicFetch) -const MusicData = await MusicResponse.json() - - -const GamingFetch = 'https://yt.sudovanilla.org' + '/api/v1/trending?type=gaming' -const GamingResponse = await fetch(GamingFetch) -const GamingData = await GamingResponse.json() - // Icons import { InputSearch, @@ -73,11 +54,18 @@ import { - + + +
Home + Feed + Open Dialog + Settings + +
-
+