diff options
author | eug-vs <eug-vs@keemail.me> | 2020-08-14 16:52:38 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-08-14 16:52:38 +0300 |
commit | d309f375af53dbb3415e2f892dc85e495ea0cf4c (patch) | |
tree | d4a96f03365fac6f36b3826e2c18c24ee3db0974 /src/containers/Home/Home.tsx | |
parent | e8519bdddd31a33ace25ffbcb73273c1573e9c33 (diff) | |
download | which-ui-d309f375af53dbb3415e2f892dc85e495ea0cf4c.tar.gz |
feat: use Image on landing page
Diffstat (limited to 'src/containers/Home/Home.tsx')
-rw-r--r-- | src/containers/Home/Home.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/containers/Home/Home.tsx b/src/containers/Home/Home.tsx index c0ca00e..072e2fa 100644 --- a/src/containers/Home/Home.tsx +++ b/src/containers/Home/Home.tsx @@ -13,10 +13,11 @@ import TrendingUpIcon from '@material-ui/icons/TrendingUp'; import { Rating } from '@material-ui/lab'; import { Feedback } from 'which-types'; -import { useAuth } from '../../hooks/useAuth'; -import { useFeedback } from '../../hooks/APIClient'; import ReviewCard from '../../components/ReviewCard/ReviewCard'; +import Image from '../../components/Image/Image'; import ReviewForm from './ReviewForm'; +import { useAuth } from '../../hooks/useAuth'; +import { useFeedback } from '../../hooks/APIClient'; const useStyles = makeStyles(theme => ({ root: { @@ -109,7 +110,7 @@ const Home: React.FC = () => { <Grid item xs={12} md={4}> <Grid container direction="column" spacing={1} alignItems="center"> <Grid item> - <img src={`${process.env.PUBLIC_URL}/which-logo-512.png`} alt="logo" className={classes.logo} /> + <Image src={`${process.env.PUBLIC_URL}/which-logo-512.png`} alt="logo" className={classes.logo} /> </Grid> <Grid item> {rating !== 0 && <Rating value={rating} readOnly size="large" />} |