various changes

This commit is contained in:
Taehee Choi
2022-02-28 21:37:40 -08:00
parent 2dccfc758b
commit 0ef11f7f74
5 changed files with 40 additions and 25 deletions
+30 -23
View File
@@ -1,10 +1,21 @@
import React from "react";
import { Box, Button } from "@mui/material";
import { Box } from "@mui/material";
import IconButton, { IconButtonProps } from "@mui/material/IconButton";
import { styled } from "@mui/material/styles";
import GroupsIcon from "@mui/icons-material/Groups";
import AddIcon from "@mui/icons-material/Add";
import CallIcon from "@mui/icons-material/Call";
import FiberManualRecordIcon from "@mui/icons-material/FiberManualRecord";
const StyledIconButton = styled(IconButton)<IconButtonProps>(({ theme }) => ({
borderColor: theme.palette.secondary.main,
borderRadius: 10,
borderStyle: "solid",
borderWidth: 3,
width: 150,
height: 150,
}));
const Home: React.FC = () => {
return (
<Box
@@ -14,43 +25,39 @@ const Home: React.FC = () => {
height: "75%",
}}
>
<Box sx={{ flexGrow: 1 }}>hi</Box>
<Box sx={{ width: "50%" }}>hi</Box>
<Box
sx={{
display: "flex",
flexDirection: "row",
flexGrow: 1,
width: "50%",
alignItems: "center",
justifyContent: "space-evenly",
flexWrap: "wrap",
}}
>
<Box>
<Button
color="secondary"
variant="outlined"
startIcon={<GroupsIcon />}
></Button>
<StyledIconButton>
<GroupsIcon sx={{ transform: "scale(3)" }} color="secondary" />
</StyledIconButton>
</Box>
<Box>
<Button
color="secondary"
variant="outlined"
startIcon={<GroupsIcon />}
></Button>
<StyledIconButton>
<AddIcon sx={{ transform: "scale(3)" }} color="secondary" />
</StyledIconButton>
</Box>
<Box>
<Button
color="secondary"
variant="outlined"
startIcon={<GroupsIcon />}
></Button>
<StyledIconButton>
<CallIcon sx={{ transform: "scale(3)" }} color="secondary" />
</StyledIconButton>
</Box>
<Box>
<Button
color="secondary"
variant="outlined"
startIcon={<GroupsIcon />}
></Button>
<StyledIconButton>
<FiberManualRecordIcon
sx={{ transform: "scale(3)" }}
color="secondary"
/>
</StyledIconButton>
</Box>
</Box>
</Box>