diff --git a/src/pages/index.js b/src/pages/index.js index 114555bb..dbfa68a4 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,7 +1,6 @@ import React from "react" - const ExamplePage = () => { - return ( + return (<>
{ Start editing the 'pages/index.js' file to import and show component
+ ) } diff --git a/themes/customer-service/customer-service-theme/src/components/complain/index.js b/themes/customer-service/customer-service-theme/src/components/complain/index.js index 6281d91a..da2132a8 100644 --- a/themes/customer-service/customer-service-theme/src/components/complain/index.js +++ b/themes/customer-service/customer-service-theme/src/components/complain/index.js @@ -16,16 +16,24 @@ const Complain = () => { setInputDetails({ issue: "", message: "", name: "" }) } return ( - - + + Submit a complaint + { direction="column" alignItems="center" classes={{ root: classes.space }} - > - - What is about? + style={{ + margin:"auto" + }}> + + What is about? - + { Username related to the complaint(optional) - + { - - diff --git a/themes/customer-service/customer-service-theme/src/components/complain/styles.js b/themes/customer-service/customer-service-theme/src/components/complain/styles.js index 1b3adcbb..e01990de 100644 --- a/themes/customer-service/customer-service-theme/src/components/complain/styles.js +++ b/themes/customer-service/customer-service-theme/src/components/complain/styles.js @@ -42,7 +42,7 @@ const Styles = makeStyles(theme => ({ borderRadius: 10, backgroundColor: theme.palette.primary.light, textTransform: "none", - "&:hover": { backgroundColor: theme.palette.primary.light }, + "&:hover": { backgroundColor: theme.palette.primary.main }, }, "@global": { ".MuiInput-underline:before, .MuiInput-underline:hover:not(.Mui-disabled):before": { diff --git a/themes/learning-management-system/learning-management-theme/src/component/userDetail/index.js b/themes/learning-management-system/learning-management-theme/src/component/userDetail/index.js index 1ca57fa2..b309776d 100644 --- a/themes/learning-management-system/learning-management-theme/src/component/userDetail/index.js +++ b/themes/learning-management-system/learning-management-theme/src/component/userDetail/index.js @@ -9,6 +9,17 @@ import Styles from "./styles" import { useMediaQuery } from "@material-ui/core" const UserDetail = () => { + + const [isHovering, setIsHovering] = useState(false); + + const handleMouseEnter = () => { + setIsHovering(true); + }; + + const handleMouseLeave = () => { + setIsHovering(false); + }; + const classes = Styles() const matchesMD = useMediaQuery(theme => theme.breakpoints.down("sm")) const [inputValues, setInputValues] = useState({ @@ -97,7 +108,13 @@ const UserDetail = () => { -