feat: refactor and adjust ui

This commit is contained in:
GyDi
2022-01-16 03:11:07 +08:00
parent 8dbf870122
commit fb0bb6e7f3
14 changed files with 264 additions and 191 deletions

View File

@@ -1,14 +1,11 @@
import { Box, Paper, Typography } from "@mui/material";
import { Paper } from "@mui/material";
import BasePage from "../components/base-page";
import SettingVerge from "../components/setting-verge";
import SettingClash from "../components/setting-clash";
const SettingPage = () => {
return (
<Box sx={{ width: 0.9, maxWidth: 850, mx: "auto", mb: 2 }}>
<Typography variant="h4" component="h1" sx={{ py: 2 }}>
Setting
</Typography>
<BasePage title="Settings">
<Paper sx={{ borderRadius: 1, boxShadow: 2 }}>
<SettingVerge />
</Paper>
@@ -16,7 +13,7 @@ const SettingPage = () => {
<Paper sx={{ borderRadius: 1, boxShadow: 2, mt: 3 }}>
<SettingClash />
</Paper>
</Box>
</BasePage>
);
};