Skip to content

Commit

Permalink
look at the lil guy go
Browse files Browse the repository at this point in the history
  • Loading branch information
dumorando committed Mar 10, 2024
1 parent 1fa0587 commit 9480ead
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 204 deletions.
17 changes: 0 additions & 17 deletions src/components/loader/bottom-block.svg

This file was deleted.

150 changes: 31 additions & 119 deletions src/components/loader/loader.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,131 +36,43 @@
.block-animation img {
display: block;
position: relative;
height: 30%;
margin-top: -4px;
animation-name: bouncing;
animation-fill-mode: forwards;
animation-iteration-count: infinite;
animation-duration: 1s;
animation-delay: 0s;
}

.top-block {
animation: top-slide-in 1.5s ease infinite;
}

.middle-block {
animation: middle-slide-in 1.5s ease infinite;
}

.bottom-block {
animation: bottom-slide-in 1.5s ease infinite;
}

[dir="rtl"] .top-block {
animation: top-slide-in-rtl 1.5s ease infinite;
}

[dir="rtl"] .middle-block {
animation: middle-slide-in-rtl 1.5s ease infinite;
}

[dir="rtl"] .bottom-block {
animation: bottom-slide-in-rtl 1.5s ease infinite;
}

@keyframes top-slide-in {
0% {
transform: translateY(50px);
opacity: 0;
}

33% {
transform: translateY(0px);
opacity: 1;
}
}

@keyframes middle-slide-in {
0% {
transform: translateY(50px);
opacity: 0;
}

33% {
transform: translateY(50px);
opacity: 0;
}

66% {
transform: translateY(0px);
opacity: 1;
}
}

@keyframes bottom-slide-in {
0% {
transform: translateY(50px);
opacity: 0;
}

66% {
transform: translateY(50px);
opacity: 0;
}

100% {
transform: translateY(0px);
opacity: 1;
}
}

@keyframes top-slide-in-rtl {
0% {
transform: translateY(50px) scaleX(-1);
opacity: 0;
}

33% {
transform: translateY(0px) scaleX(-1);
opacity: 1;
}
100% {
transform: translateY(0px) scaleX(-1);
opacity: 1;
}
}

@keyframes middle-slide-in-rtl {
0% {
transform: translateY(50px) scaleX(-1);
opacity: 0;
}

33% {
transform: translateY(50px) scaleX(-1);
opacity: 0;
}

66% {
transform: translateY(0px) scaleX(-1);
opacity: 1;
}
100% {
transform: translateY(0px) scaleX(-1);
opacity: 1;
}
}

@keyframes bottom-slide-in-rtl {
@keyframes bouncing {
0% {
transform: translateY(50px) scaleX(-1);
opacity: 0;
left: 0;
top: 0;
transform: rotate(0deg);
animation-timing-function: ease-out;
}
25% {
left: 10px;
top: -50px;
transform: rotate(10deg);
animation-timing-function: ease-in;
}
50% {
left: 0;
top: 0;
transform: rotate(0deg);
animation-timing-function: ease-out;
}
75% {
left: -10px;
top: -50px;
transform: rotate(-10deg);
animation-timing-function: ease-in;
}

66% {
transform: translateY(50px) scaleX(-1);
opacity: 0;
}

100% {
transform: translateY(0px) scaleX(-1);
opacity: 1;
left: 0;
top: 0;
transform: rotate(0deg);
}
}

Expand Down
17 changes: 2 additions & 15 deletions src/components/loader/loader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import styles from './loader.css';
import PropTypes from 'prop-types';
import bindAll from 'lodash.bindall';
import { tip } from '../../lib/randomUnhelpfulTip';
import topBlock from './top-block.svg';
import middleBlock from './middle-block.svg';
import bottomBlock from './bottom-block.svg';
import snail from './snail.svg'

import * as progressMonitor from './tw-progress-monitor';

Expand Down Expand Up @@ -136,18 +134,7 @@ class LoaderComponent extends React.Component {
>
<div className={styles.container}>
<div className={styles.blockAnimation}>
<img
className={styles.topBlock}
src={topBlock}
/>
<img
className={styles.middleBlock}
src={middleBlock}
/>
<img
className={styles.bottomBlock}
src={bottomBlock}
/>
<img src={snail} />
</div>
<div className={styles.title}>
{mainMessages[this.props.messageId]}
Expand Down
17 changes: 0 additions & 17 deletions src/components/loader/middle-block.svg

This file was deleted.

1 change: 1 addition & 0 deletions src/components/loader/snail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions src/components/loader/top-block.svg

This file was deleted.

38 changes: 19 additions & 19 deletions src/lib/randomUnhelpfulTip.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
export const tip = [
'Snail IDE is cool',
'@carters3421 on Scratch made the Purple Square Guy Sprite, its basically his mascot!',
'Also check out LibreKitten!',
'Snail IDE is based off the source code of PenguinMod, which is based off TurboWarp, which is based off Scratch. M O D C E P T I O N.',
'Crazy? I was crazy once. They locked me in a room, a rubber room. A rubber room with rats. And rats make me crazy.',
"Snail IDE.",
"I LOVE PENGUINMOD!!!",
"In 2089, literally nothing will happen.",
"Did you know? You can post your projects outside of the Snail IDE community.",
"number 15 burger king foot lettuce",
"thepython555 the goat",
"Snails",
"penguinmod:menguinpod, snail-ide:ide-snail",
"If the creator of Snail IDE (Mr_rudy) enjoys your project, he will give you the COOL badge.",
"The first project to be uploaded that still exists is SnailGPT by Mr_rudy, keep in mind this lasted through over 3 server changes",
"Snail IDE Noticed ScratchDaPony :)",
"@redspacecat is remaking Geometry Dash in Snail IDE, with level sharing!"
];
export const tip = [
'Snail IDE is cool',
'@carters3421 on Scratch made the Purple Square Guy Sprite, its basically his mascot!',
'Also check out LibreKitten!',
'Snail IDE is based off the source code of PenguinMod, which is based off TurboWarp, which is based off Scratch. M O D C E P T I O N.',
'Crazy? I was crazy once. They locked me in a room, a rubber room. A rubber room with rats. And rats make me crazy.',
"Snail IDE.",
"I LOVE PENGUINMOD!!!",
"In 2089, literally nothing will happen.",
"Did you know? You can post your projects outside of the Snail IDE community.",
"number 15 burger king foot lettuce",
"thepython555 the goat",
"Snails",
"penguinmod:menguinpod, snail-ide:ide-snail",
"If the creator of Snail IDE (Mr_rudy) enjoys your project, he will give you the COOL badge.",
"The first project to be uploaded that still exists is SnailGPT by Mr_rudy, keep in mind this lasted through over 3 server changes",
"Snail IDE Noticed ScratchDaPony :)",
"@redspacecat is remaking Geometry Dash in Snail IDE, with level sharing!"
];

1 comment on commit 9480ead

@nmsderp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

He dancing

Please sign in to comment.