Skip to content

Commit

Permalink
Merge pull request #1554 from memphisdev/RND-371-cli-commands-update
Browse files Browse the repository at this point in the history
RND-371-cli-commands-update
  • Loading branch information
SvetaMemphis committed Dec 25, 2023
2 parents b99886b + ad7407b commit cffa705
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions ui_src/src/components/sideBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,14 @@ function SideBar() {
const MenuItem = ({ icon, activeIcon, name, route, onClick, onMouseEnter, onMouseLeave, badge }) => {
return (
<div className={'item-wrapper ' + (state.route === route ? 'ms-active ' : '') + (hoveredItem === route ? 'item-wrapper-hovered' : '')} onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} onClick={onClick}>
<div className="icon">{state.route === route ? activeIcon : hoveredItem === route ? activeIcon : icon}</div>
<div className="icon ">{state.route === route ? activeIcon : hoveredItem === route ? activeIcon : icon}</div>
<p className={state.route === route ? 'checked' : 'name'}>{name}</p>
{badge && <label className="badge">{badge}</label>}
</div>
);
};

const PopoverActionItem = ({icon, name, onClick, upgrade}) => {
const PopoverActionItem = ({ icon, name, onClick, upgrade }) => {
upgrade && setBannerType('upgrade');
return (
<div
Expand Down Expand Up @@ -598,11 +598,11 @@ function SideBar() {

<div className="item-wrapper ms-appearance-wrapper">
<div className="ms-appearance">
<div className={'ms-appearance-light ' + (!darkMode && 'ms-active')} onClick={() => handleDarkMode(false)}>
<SunIcon/>
<div className={'ms-appearance-light ' + (!darkMode && 'ms-active')} onClick={ () => handleDarkMode(false)}>
<SunIcon />
<span className="ms-appearance-text">Light</span>
</div>
<div className={'ms-appearance-dark ' + (darkMode && 'ms-active')} onClick={() => handleDarkMode(true)}>
<div className={'ms-appearance-dark ' + (darkMode && 'ms-active')} onClick={ () => handleDarkMode(true)}>
<MoonIcon/>
<span className="ms-appearance-text">Dark</span>
</div>
Expand Down
8 changes: 4 additions & 4 deletions ui_src/src/const/globalConst.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ export const githubUrls = {
powershell -c "Expand-Archive memphis-cli_Windows_x86_64.zip -DestinationPath memphis-cli -Force"`,
Mac: `brew tap memphisdev/memphis-cli
brew install memphis-cli`,
'Linux RPM': `wget https://github.com/memphisdev/memphis-cli/releases/download/v0.0.1/memphis-cli_0.0.1_linux_amd64.rpm
sudo rpm -i memphis-cli_0.0.1_linux_amd64.rpm`,
'Linux APK': `wget https://github.com/memphisdev/memphis-cli/releases/download/v0.0.1/memphis-cli_0.0.1_linux_arm64.apk
apk add memphis-cli_0.0.1_linux_arm64.apk --allow-untrusted`,
'Linux RPM': `wget https://github.com/memphisdev/memphis-cli/releases/latest/download/memphis-cli_linux_amd64.rpm
sudo rpm -i memphis-cli_linux_amd64.rpm`,
'Linux APK': `wget https://github.com/memphisdev/memphis-cli/releases/latest/download/memphis-cli_linux_arm64.apk
apk add memphis-cli_linux_arm64.apk --allow-untrusted`,
code: 'mem func init myExampleFunc --lang [nodejs/go/python]'
}
};
Expand Down

0 comments on commit cffa705

Please sign in to comment.