Skip to content

Commit

Permalink
adjust the help control
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Oct 23, 2023
1 parent 27e913f commit a858dde
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions src/Components/HelpControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import Typography from '@mui/material/Typography'
import useTheme from '@mui/styles/useTheme'
import Dialog from './Dialog'
import {TooltipIconButton} from './Buttons'
import TreeIcon from '../assets/icons/Tree.svg'
import ShareIcon from '../assets/icons/Share.svg'
import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
import AutoFixHighIcon from '@mui/icons-material/AutoFixHigh'
import CropOutlinedIcon from '@mui/icons-material/CropOutlined'
import ChatOutlinedIcon from '@mui/icons-material/ChatOutlined'
import AutoFixHighIcon from '@mui/icons-material/AutoFixHigh'
import HelpOutlineIcon from '@mui/icons-material/HelpOutline'
import HistoryIcon from '@mui/icons-material/History'
import TreeIcon from '../assets/icons/Tree.svg'
import ShareIcon from '../assets/icons/Share.svg'


/**
Expand Down Expand Up @@ -63,11 +64,12 @@ const HelpComponent = ({icon, description}) => {
>
{icon}
</Box>
<Typography variant='body1'
<Typography variant='overline'
sx={{
marginLeft: '30px',
width: '180px',
textAlign: 'left',
lineHeight: '1.2em',
}}
>
{description}
Expand All @@ -84,23 +86,27 @@ const HelpList = () => {
}}
>
<HelpComponent
icon={<ShareIcon className='icon-share'/>}
icon={<ShareIcon className='icon-share' color='secondary'/>}
description={'Share sectioned portions of the project'}
/>
<HelpComponent
icon={<ChatOutlinedIcon/>}
icon={<ChatOutlinedIcon className='icon-share' color='secondary'/>}
description={'Attach notes to 3D elements'}
/>
<HelpComponent
icon={<CropOutlinedIcon/>}
icon={<CropOutlinedIcon className='icon-share' color='secondary'/>}
description={'Study the project using standard sections'}
/>
<HelpComponent
icon={<TreeIcon className='icon-share'/>}
icon={<TreeIcon className='icon-share' color='secondary'/>}
description={'Navigate the project using element hierarchies'}
/>
<HelpComponent
icon={<AutoFixHighIcon/>}
icon={<HistoryIcon className='icon-share' color='secondary'/>}
description={'Access project version history'}
/>
<HelpComponent
icon={<AutoFixHighIcon className='icon-share' color='secondary'/>}
description={'Generate renderings of the project using text prompts'}
/>
</Box>
Expand Down

0 comments on commit a858dde

Please sign in to comment.