feat: finish main layout

This commit is contained in:
GyDi
2021-12-08 23:36:34 +08:00
parent efc1669b3e
commit a1e99e5303
13 changed files with 273 additions and 92 deletions

View File

@@ -1,18 +1,10 @@
import { useState } from "react";
import { TextField } from "@material-ui/core";
import { Typography } from "@mui/material";
const HomePage = () => {
const [port, setPort] = useState("7890");
return (
<div>
<TextField
label="Port"
fullWidth
value={port}
onChange={(e) => setPort(e.target.value)}
/>
</div>
<Typography variant="h1" textAlign="center" mt={10}>
Hello Clash!
</Typography>
);
};