diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 902fe95..9839dee 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,6 +1,7 @@
import { HeaderButton } from "./HeaderButton";
import { useTranslation } from "react-i18next";
import { Link } from "preact-router";
+import { motion } from "framer-motion"
// Header icons
import { HiOutlineCube } from "react-icons/hi";
@@ -13,60 +14,50 @@ export function Header() {
const [isActive, setIsActive] = useState(false);
return (
-
+
-

+
{t("header.title")}
-
-
-
-
setIsActive(false)}
- >
-
-
-
-
+
setIsActive(!isActive)} initial={{ rotate: 0 }} animate={{ rotate: isActive ? 90 : 0 }} transition={{ duration: 0.5 }} >
+
+
+ {window.innerWidth >= 768 &&
+ //standard menu
+
+
+
setIsActive(false)} >
+
+
+
+
+
+
-
-
+ }
+ {window.innerWidth <= 768 &&
+ //animated mobile menu
+
+
+
setIsActive(false)} >
+
+
+
+
+
+
+
+
+ }
);
}
diff --git a/src/components/HeaderButton.tsx b/src/components/HeaderButton.tsx
index 94db292..0ea12d5 100644
--- a/src/components/HeaderButton.tsx
+++ b/src/components/HeaderButton.tsx
@@ -14,11 +14,10 @@ export function HeaderButton(props: HeaderButtonProps) {
return (
-
-
-
+ className="flex h-full w-full bg-navbar-color sm:h-auto">
+
+
+
{t(translationKey)}
diff --git a/src/pages/Settings/Proxy.tsx b/src/pages/Settings/Proxy.tsx
index 6fa2604..bf4391d 100644
--- a/src/pages/Settings/Proxy.tsx
+++ b/src/pages/Settings/Proxy.tsx
@@ -30,7 +30,7 @@ const Proxy = ({ id, active }) => {
>
{t("settings.proxy.title")}