Skip to content

Commit

Permalink
Merge pull request #30 from someCatInTheWorld/develop
Browse files Browse the repository at this point in the history
Add Snail IDE logo.
  • Loading branch information
nmsderp authored Mar 10, 2024
2 parents 9df96e8 + a1c567a commit 12230d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 30 deletions.
34 changes: 7 additions & 27 deletions src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ import languageIcon from '../language-selector/language-icon.svg';
import aboutIcon from './icon--about.svg';
import errorIcon from './tw-error.svg';
import themeIcon from './tw-moon.svg';
import homeS from './navicon.png';
// cool icons ye
import addonsIcon from './addons.svg';
import settingsIcon from './settings.svg';
Expand Down Expand Up @@ -444,22 +443,19 @@ class MenuBar extends React.Component {
>
<div className={styles.mainMenu}>
<div className={styles.fileGroup}>
{this.props.onClickLogo ? (
<div className={classNames(styles.menuBarItem)}>
<div className={classNames(styles.menuBarItem)}>
<a href="https://www.snail-ide.com" target="_blank">
<img
alt="Snail IDE"
className={classNames(styles.scratchLogo, {
[styles.clickable]: typeof this.props.onClickLogo !== 'undefined'
})}
style={{ cursor: "pointer" }}
draggable={false}
src={homeS}
onClick={() => {
window.open('https://snail-ide.com', '_blank');
this.props.onClickLogo();
}}
src={scratchLogo}
/>
</div>
) : null}
</a>
</div>
{(this.props.canChangeLanguage) && (<div
className={classNames(styles.menuBarItem, styles.hoverable, styles.languageMenu)}
>
Expand Down Expand Up @@ -494,7 +490,7 @@ class MenuBar extends React.Component {
</div>
)}




{/* tw: display compile errors */}
Expand Down Expand Up @@ -895,22 +891,6 @@ class MenuBar extends React.Component {
/>)
: (null)}
</div>
<div className={styles.menuBarItem}>
<a
className={styles.feedbackLink}
href="https://snail-ide.com"
rel="noopener noreferrer"
target="_blank"
>
<Button className={styles.feedbackButton}>
<FormattedMessage
defaultMessage="Back to Home"
description="Button to go back to the home page"
id="pm.backToHomeButton"
/>
</Button>
</a>
</div>
</div>

<div className={styles.accountInfoGroup}>
Expand Down
Binary file removed src/components/menu-bar/navicon.png
Binary file not shown.
4 changes: 1 addition & 3 deletions src/components/menu-bar/scratch-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 12230d2

Please sign in to comment.