|
@@ -1,18 +1,7 @@
|
|
|
-import Card from '@mui/material/Card';
|
|
|
-import CardHeader from '@mui/material/CardHeader';
|
|
|
-import CardMedia from '@mui/material/CardMedia';
|
|
|
-import CardContent from '@mui/material/CardContent';
|
|
|
-import CardActions from '@mui/material/CardActions';
|
|
|
-import Avatar from '@mui/material/Avatar';
|
|
|
-import IconButton from '@mui/material/IconButton';
|
|
|
-import Typography from '@mui/material/Typography';
|
|
|
-import MoreVertIcon from '@mui/icons-material/MoreVert';
|
|
|
-import FavoriteBorderRoundedIcon from '@mui/icons-material/FavoriteBorderRounded';
|
|
|
-import SendIcon from '@mui/icons-material/Send';
|
|
|
-import ChatBubbleOutlineIcon from '@mui/icons-material/ChatBubbleOutline';
|
|
|
-import TurnedInNotIcon from '@mui/icons-material/TurnedInNot';
|
|
|
+import { Card, CardHeader, CardMedia, CardContent, CardActions, Avatar, IconButton, Typography, Box } from '@mui/material'
|
|
|
+import { MoreVert, FavoriteBorderRounded, Send, ChatBubbleOutline, TurnedInNot } from '@mui/icons-material/'
|
|
|
import Grid from '@mui/material/Unstable_Grid2';
|
|
|
-import Box from '@mui/material/Box';
|
|
|
+
|
|
|
import { Link } from 'react-router-dom';
|
|
|
|
|
|
import { MyCarousel } from './carousel';
|
|
@@ -44,7 +33,7 @@ export function RecipeReviewCard({ postData }) {
|
|
|
}
|
|
|
action={ // троеточие в хедере
|
|
|
<IconButton aria-label="settings">
|
|
|
- <MoreVertIcon />
|
|
|
+ <MoreVert />
|
|
|
</IconButton>
|
|
|
}
|
|
|
title={
|
|
@@ -72,23 +61,23 @@ export function RecipeReviewCard({ postData }) {
|
|
|
<Grid container columnSpacing={1} sx={{ order: { xs: 2, sm: 1 } }}>
|
|
|
<Grid>
|
|
|
<IconButton aria-label="add to favorites">
|
|
|
- <FavoriteBorderRoundedIcon />
|
|
|
+ <FavoriteBorderRounded />
|
|
|
</IconButton>
|
|
|
</Grid>
|
|
|
<Grid>
|
|
|
<IconButton>
|
|
|
- <ChatBubbleOutlineIcon />
|
|
|
+ <ChatBubbleOutline />
|
|
|
</IconButton>
|
|
|
</Grid>
|
|
|
<Grid>
|
|
|
<IconButton aria-label="share">
|
|
|
- <SendIcon />
|
|
|
+ <Send />
|
|
|
</IconButton>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
<Grid sx={{ order: { xs: 1, sm: 2 } }}>
|
|
|
<IconButton>
|
|
|
- <TurnedInNotIcon />
|
|
|
+ <TurnedInNot />
|
|
|
</IconButton>
|
|
|
</Grid>
|
|
|
</Grid>
|
|
@@ -112,6 +101,4 @@ export function RecipeReviewCard({ postData }) {
|
|
|
</CardActions>
|
|
|
</Card >
|
|
|
)
|
|
|
-}
|
|
|
-
|
|
|
-// export default RecipeReviewCard
|
|
|
+}
|