@@ -61,6 +121,117 @@ section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
+@licend The above is the entire license notice
+for the JavaScript code in this page.
+*/
+
+// Dismiss when the end-user clicks else where
+document.body.addEventListener("click", function (evt) {
+ document.querySelector(".header-dropdown#primary").style.display = "none";
+});
+
+// Toggle Primary Dropdown
+function ToggleHeaderDropdown() {
+ var HeaderDropdown = document.querySelector(".header-dropdown#primary");
+ if (HeaderDropdown.style.display === "flex") {
+ setTimeout(() => {
+ HeaderDropdown.style.display = "none";
+ }, 0o100);
+ } else {
+ setTimeout(() => {
+ HeaderDropdown.style.display = "flex";
+ }, 0o100);
+ }
+}
+
+// Toggle Language Dropdown
+function ToggleHeaderLanguageDropdown() {
+ var HeaderLanguageDropdown = document.querySelector(".header-dropdown#language");
+ if (HeaderLanguageDropdown.style.display === "flex") {
+ HeaderLanguageDropdown.style.display = "none";
+ } else {
+ HeaderLanguageDropdown.style.display = "flex";
+ }
+}
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/watch.astro b/src/pages/watch.astro
index e8a8a0e..bf39404 100644
--- a/src/pages/watch.astro
+++ b/src/pages/watch.astro
@@ -14,15 +14,14 @@ const comments = await fetch('https://' + DEFAULT_INVIDIOUS_INSTANCE + "/api/v1/
---
-
-
-
+
\ No newline at end of file
diff --git a/src/public/locales/en/translation.json b/src/public/locales/en/translation.json
index 40a9117..9d442b1 100644
--- a/src/public/locales/en/translation.json
+++ b/src/public/locales/en/translation.json
@@ -23,7 +23,8 @@
"GoBack": "Go Back"
},
"landing": {
- "heading": "PRIVACY APP OF YOUR DREAMS",
+ "heading1": "PRIVACY APP",
+ "heading2": "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",
diff --git a/src/public/locales/jp/translation.json b/src/public/locales/jp/translation.json
index 8ff2524..4532b94 100644
--- a/src/public/locales/jp/translation.json
+++ b/src/public/locales/jp/translation.json
@@ -23,7 +23,8 @@
"GoBack": "戻る"
},
"landing": {
- "heading": "あなたの夢のプライバシーアプリ",
+ "heading1": "のプライバシーアプリ",
+ "heading2": "君の夢の",
"description": "Pokeは、無料のソフトウェアyoutubeフロントエンド、検索エンジン、翻訳者、マップアプリなどです!!1!! サイレント動画を見ると、インターネット上のものを検索し、このオールインワンのプライバシーアプリで、そのすべてを匿名で行います!",
"why": "ポケモンを選ぶ理由?",
"Card1Title": "追跡および広告無し",