Removed history component animations
This commit is contained in:
6800
package-lock.json
generated
6800
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,6 @@
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"animate.css": "^3.7.0",
|
||||
"react": "^16.8.6",
|
||||
"react-dom": "^16.8.6",
|
||||
"react-scripts": "2.1.8"
|
||||
|
||||
@@ -81,14 +81,10 @@ class History extends Component {
|
||||
defaultClasses += ' timeline-right';
|
||||
}
|
||||
|
||||
if (this.state.wasTimelineConatinerInView[i]) {
|
||||
defaultClasses += ` ${isLeft ? 'slideInLeft' : 'slideInRight'} animated faster`;
|
||||
}
|
||||
|
||||
if (i === (this.timelineContainers.length - 1)) {
|
||||
defaultClasses += 'mb-3';
|
||||
defaultClasses += ' mb-3';
|
||||
} else {
|
||||
defaultClasses += 'mb-5';
|
||||
defaultClasses += ' mb-5';
|
||||
}
|
||||
|
||||
return defaultClasses;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import './css/bootstrap.cosmo.min.css';
|
||||
import 'animate.css/animate.min.css';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './components/App';
|
||||
|
||||
Reference in New Issue
Block a user