From 38a4e86effb3ce5ea99dd32ef730706b97c09390 Mon Sep 17 00:00:00 2001 From: MotorTruck1221 Date: Wed, 27 Dec 2023 03:17:17 -0700 Subject: [PATCH] Mobile nav update --- src/components/Header.tsx | 81 +++++++++++++++------------------ src/components/HeaderButton.tsx | 9 ++-- src/pages/Settings/Proxy.tsx | 2 +- 3 files changed, 41 insertions(+), 51 deletions(-) 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 ( -