feat: redesign settings page

This commit is contained in:
butterfly
2024-04-24 15:44:24 +08:00
parent f7074bba8c
commit c99086447e
55 changed files with 2603 additions and 1446 deletions

View File

@@ -1,14 +1,16 @@
import Locale from "@/app/locales";
import useMobileScreen from "@/app/hooks/useMobileScreen";
import MenuLayout from "@/app/components/MenuLayout";
import Panel from "./SettingPanel";
import GotoIcon from "@/app/icons/goto.svg";
import { useAppConfig } from "@/app/store";
export default MenuLayout(function SettingList(props) {
const { setShowPanel } = props;
const isMobileScreen = useMobileScreen();
const config = useAppConfig();
const { isMobileScreen } = config;
let layoutClassName = "pt-7 px-4";
let titleClassName = "pb-5";