From 14917037b68ac52d82285821cac5219ad5981043 Mon Sep 17 00:00:00 2001 From: Korbs Date: Sat, 22 Jun 2024 16:49:55 -0400 Subject: [PATCH] Move `/public/` to `/src/public/` --- astro.config.mjs | 2 + public/locales/en/translation.json | 42 ------------------ public/locales/jp/translation.json | 42 ------------------ {public => src/public}/cursor-pointer.ico | Bin {public => src/public}/cursor.ico | Bin {public => src/public}/favicon.ico | Bin {public => src/public}/flurry-background.webm | Bin 7 files changed, 2 insertions(+), 84 deletions(-) delete mode 100644 public/locales/en/translation.json delete mode 100644 public/locales/jp/translation.json rename {public => src/public}/cursor-pointer.ico (100%) rename {public => src/public}/cursor.ico (100%) rename {public => src/public}/favicon.ico (100%) rename {public => src/public}/flurry-background.webm (100%) diff --git a/astro.config.mjs b/astro.config.mjs index a90a2a1..62e2d66 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,6 +8,8 @@ import matomo from "astro-matomo"; import astroI18next from "astro-i18next"; export default defineConfig({ + // Project Structure + publicDir: './src/public/', // Use Server-Side Rendering output: "server", adapter: node({ diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json deleted file mode 100644 index 9c51b73..0000000 --- a/public/locales/en/translation.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "header": { - "search": "Search" - }, - "dropdown": { - "Options": "Options", - "Language": "Language", - "Account": "Account", - "Settings": "Settings", - "Instances": "Instances", - "Hub": "Hub", - "Apps": "Apps", - "Games": "Games", - "Openin": "Open in", - "LiteMode": "Lite Mode", - "YouTube": "YouTube", - "Invidious": "Invidious", - "Pipe": "Pipe", - "Other": "Other", - "About": "About", - "Privacy": "Privacy", - "SourceCode": "Source Code", - "GoBack": "Go Back" - }, - "landing": { - "heading": "PRIVACY APP OF YOUR DREAMS", - "description": "Poke is a free software youtube front-end, search engine, translator, map app and even more!!1!! Watch silly videos, search stuff on the internet and do all of that and more anonymously in this all-in-one privacy app!!!1! :3", - "why": "Why Choose Poke?", - "Card1Title": "No Tracking and Ads", - "Card1Description": " Poke Has no Trackers or ads - we dont and we wont see the vids ur watching :3", - "Card2Title": "Very Fast", - "Card2Description": " Poke is really ligthweight (both on server and client :3) so you can still use it on poor connections :3", - "Card3Title": "Downloader", - "Card3Description": "You wouldnt download a car - welp i would :D u can download videos from poke for 0$!", - "Card4Title": "Web Search", - "Card4Description": "u can search the interwebs for anything that u wan!! (ik wha ur gonna search :p) ", - "Card5Title": "DRM Free", - "Card5Description": " Poke comes without digital restrictions management - poke is free software :3", - "Card6Title": "Games Included", - "Card6Description": " U can play funnie games on poke! " - } -} \ No newline at end of file diff --git a/public/locales/jp/translation.json b/public/locales/jp/translation.json deleted file mode 100644 index 8ff2524..0000000 --- a/public/locales/jp/translation.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "header": { - "search": "検索" - }, - "dropdown": { - "Options": "オプション", - "Language": "言語", - "Account": "アカウント", - "Settings": "設定", - "Instances": "インスタンス", - "Hub": "ハブ", - "Apps": "アプリ", - "Games": "ゲーム", - "Openin": "で開く", - "LiteMode": "ライトモード", - "YouTube": "YouTube", - "Invidious": "Invidious", - "Pipe": "Pipe", - "Other": "他の", - "About": "について", - "Privacy": "プライバシー", - "SourceCode": "ソースコード", - "GoBack": "戻る" - }, - "landing": { - "heading": "あなたの夢のプライバシーアプリ", - "description": "Pokeは、無料のソフトウェアyoutubeフロントエンド、検索エンジン、翻訳者、マップアプリなどです!!1!! サイレント動画を見ると、インターネット上のものを検索し、このオールインワンのプライバシーアプリで、そのすべてを匿名で行います!", - "why": "ポケモンを選ぶ理由?", - "Card1Title": "追跡および広告無し", - "Card1Description": " ポークはトラッカーや広告はありません - 私たちは、あなたが見ているビデオを見ることができません", - "Card2Title": "非常に高速", - "Card2Description": " Poke は本当に軽量です (サーバーとクライアントの :3) ので、接続が悪いままに使用できます。 :3", - "Card3Title": "ダウンロード", - "Card3Description": "あなたは車をダウンロードしたい - よく私は:D u は 0$ のポケモンからビデオをダウンロードすることができます!", - "Card4Title": "ウェブ検索", - "Card4Description": "U wan の web を検索できます。!", - "Card5Title": "DRMの 無料", - "Card5Description": " ポケモンはデジタル制限管理なしで来ます - ポケモンはフリーソフトウェアです:3", - "Card6Title": "含まれているゲーム", - "Card6Description": "楽しく遊べます! " - } -} \ No newline at end of file diff --git a/public/cursor-pointer.ico b/src/public/cursor-pointer.ico similarity index 100% rename from public/cursor-pointer.ico rename to src/public/cursor-pointer.ico diff --git a/public/cursor.ico b/src/public/cursor.ico similarity index 100% rename from public/cursor.ico rename to src/public/cursor.ico diff --git a/public/favicon.ico b/src/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to src/public/favicon.ico diff --git a/public/flurry-background.webm b/src/public/flurry-background.webm similarity index 100% rename from public/flurry-background.webm rename to src/public/flurry-background.webm