diff --git a/README.md b/README.md index 75cf6a3..4e54851 100755 --- a/README.md +++ b/README.md @@ -16,4 +16,4 @@ ___ ___ -MinPluto is inspired by [Poke](https://poketube.fun/), a project by [Ashley](https://codeberg.org/ashley). \ No newline at end of file +MinPluto is inspired by [Poke](https://poketube.fun/), Poke is a project by [Ashley](https://codeberg.org/ashley). \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index 1f306b5..8042f8e 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 1b7437f..32a4392 100755 --- a/package.json +++ b/package.json @@ -32,16 +32,16 @@ "build": "astro build --config ./source/astro.js" }, "dependencies": { - "@astrojs/mdx": "^3.1.5", + "@astrojs/mdx": "^3.1.6", "@astrojs/node": "^8.3.3", "@astrojs/vue": "^4.5.0", "@iconoir/vue": "^7.9.0", "@minpluto/zorn": "^0.4.5", "@nurodev/astro-bun": "^1.1.5", "@openpanel/sdk": "^1.0.0", - "@supabase/supabase-js": "^2.45.3", + "@supabase/supabase-js": "^2.45.4", "@xexiu/astro-modal": "^0.5.9", - "astro": "^4.15.4", + "astro": "^4.15.6", "astro-analytics": "^2.7.0", "astro-i18next": "^1.0.0-beta.21", "astro-tooltips": "^0.6.2", diff --git a/source/astro.mjs b/source/astro.mjs index 6343e5d..27cc78c 100755 --- a/source/astro.mjs +++ b/source/astro.mjs @@ -4,7 +4,6 @@ import astroI18next from "astro-i18next" import mdx from '@astrojs/mdx' import bun from "@nurodev/astro-bun"; - // https://astro.build/config export default defineConfig({ // Project Structure diff --git a/source/src/components/Search.astro b/source/src/components/Search.astro index 0b710ea..2178c60 100755 --- a/source/src/components/Search.astro +++ b/source/src/components/Search.astro @@ -50,7 +50,7 @@ for the JavaScript code in this page. // Trigger Search function Search() { var SearchQuery = document.querySelector('input[type="search"]').value; - location.href = `/search?q=${SearchQuery}`; + location.href = `/search?query=${SearchQuery}`; } ///// Suggestions ///// @@ -91,56 +91,4 @@ for the JavaScript code in this page. .join("\n"); return `${text}`; } - - - + \ No newline at end of file diff --git a/source/src/pages/begin-search.astro b/source/src/pages/begin-search.astro new file mode 100644 index 0000000..d135920 --- /dev/null +++ b/source/src/pages/begin-search.astro @@ -0,0 +1,57 @@ +--- +import Base from "@layouts/Default.astro"; +import Search from "@components/Search.astro"; +--- + + +
+ + + + diff --git a/source/src/pages/index.astro b/source/src/pages/index.astro index 498d021..c6fccd6 100755 --- a/source/src/pages/index.astro +++ b/source/src/pages/index.astro @@ -1,4 +1,4 @@ ---- +P--- import i18next,{ t, changeLanguage } from "i18next"; import Base from "@layouts/Default.astro";