From a1c567a0d296777b86963ba4755f9848c63a7cdc Mon Sep 17 00:00:00 2001 From: someCatInTheWorld <162684669+someCatInTheWorld@users.noreply.github.com> Date: Mon, 11 Mar 2024 08:43:06 +1100 Subject: [PATCH] Add Snail IDE logo. We also remove the Back to Home button because the logo does the same thing. --- src/components/menu-bar/menu-bar.jsx | 34 +++++------------------ src/components/menu-bar/navicon.png | Bin 1829 -> 0 bytes src/components/menu-bar/scratch-logo.svg | 4 +-- 3 files changed, 8 insertions(+), 30 deletions(-) delete mode 100644 src/components/menu-bar/navicon.png diff --git a/src/components/menu-bar/menu-bar.jsx b/src/components/menu-bar/menu-bar.jsx index 09c3945c57b..84267763a9a 100644 --- a/src/components/menu-bar/menu-bar.jsx +++ b/src/components/menu-bar/menu-bar.jsx @@ -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'; @@ -444,22 +443,19 @@ class MenuBar extends React.Component { >
- {this.props.onClickLogo ? ( -
+
+ Snail IDE { - window.open('https://snail-ide.com', '_blank'); - this.props.onClickLogo(); - }} + src={scratchLogo} /> -
- ) : null} + +
{(this.props.canChangeLanguage) && (
@@ -494,7 +490,7 @@ class MenuBar extends React.Component {
)} - + {/* tw: display compile errors */} @@ -895,22 +891,6 @@ class MenuBar extends React.Component { />) : (null)}
-
- - - -
diff --git a/src/components/menu-bar/navicon.png b/src/components/menu-bar/navicon.png deleted file mode 100644 index ecb0b2f04bbeed484828b07d5a15d30ed1a555eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1829 zcmV+=2io|FP)C0001BP)t-sM{rE5 zLhP$T?5jfTt3vFnLhP$T?5jfTt3vFnLhP$T?5jfTt3vFnLhS$l|EfRi!gccb@c!=E z{IgWQeDZZuuhqeHSRb9FhTm3YA z{MQ5MC98D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&%c z?(pQCm-JipSL?Ta{sEqJaJ>NIsp0kD!x9o8J+{0Zcv|ET%%`5wF5RKy`H_qI$n(3` zRbdzs@Ac;Lj{m|m`YP64_kPyn)-N7-Iqv05+1wjB*UP!`Sbt$d&eq>2gEa(!dpTbo zp1IQAE`K3+_(`+l|J~d2s~76(-OC@!?HV{U42~E5srui8hywD8NkRhTeA~-EZQ$QK Tl?{jg00000NkvXXu0mjfS(akx diff --git a/src/components/menu-bar/scratch-logo.svg b/src/components/menu-bar/scratch-logo.svg index 56e80fb3813..adb7a0baca2 100644 --- a/src/components/menu-bar/scratch-logo.svg +++ b/src/components/menu-bar/scratch-logo.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file