Background gradients, migrate from CSS to SCSS, remove !important

This commit is contained in:
Maksim Eltyshev
2020-05-29 19:31:19 +05:00
parent 8534ed292c
commit 5bfff3865f
312 changed files with 4295 additions and 2989 deletions

View File

@@ -1,14 +0,0 @@
import { connect } from 'react-redux';
import { currentModalSelector } from '../selectors';
import App from '../components/App';
const mapStateToProps = (state) => {
const currentModal = currentModalSelector(state);
return {
currentModal,
};
};
export default connect(mapStateToProps)(App);

View File

@@ -1,14 +0,0 @@
import { connect } from 'react-redux';
import { isAppInitializingSelector } from '../selectors';
import AppWrapper from '../components/AppWrapper';
const mapStateToProps = (state) => {
const isAppInitializing = isAppInitializingSelector(state);
return {
isInitializing: isAppInitializing,
};
};
export default connect(mapStateToProps)(AppWrapper);

View File

@@ -0,0 +1,16 @@
import { connect } from 'react-redux';
import { currentModalSelector, currentProjectSelector } from '../selectors';
import Core from '../components/Core';
const mapStateToProps = (state) => {
const currentModal = currentModalSelector(state);
const currentProject = currentProjectSelector(state);
return {
currentModal,
currentProject,
};
};
export default connect(mapStateToProps)(Core);

View File

@@ -0,0 +1,14 @@
import { connect } from 'react-redux';
import { isCoreInitializingSelector } from '../selectors';
import CoreWrapper from '../components/CoreWrapper';
const mapStateToProps = (state) => {
const isCoreInitializing = isCoreInitializingSelector(state);
return {
isInitializing: isCoreInitializing,
};
};
export default connect(mapStateToProps)(CoreWrapper);

View File

@@ -1,7 +1,7 @@
import { connect } from 'react-redux';
import { pathSelector } from '../selectors';
import FixedWrapper from '../components/FixedWrapper';
import Fixed from '../components/Fixed';
const mapStateToProps = (state) => {
const { projectId } = pathSelector(state);
@@ -11,4 +11,4 @@ const mapStateToProps = (state) => {
};
};
export default connect(mapStateToProps)(FixedWrapper);
export default connect(mapStateToProps)(Fixed);

View File

@@ -1,7 +1,7 @@
import { connect } from 'react-redux';
import { pathSelector } from '../selectors';
import StaticWrapper from '../components/StaticWrapper';
import Static from '../components/Static';
const mapStateToProps = (state) => {
const { cardId, boardId, projectId } = pathSelector(state);
@@ -13,4 +13,4 @@ const mapStateToProps = (state) => {
};
};
export default connect(mapStateToProps)(StaticWrapper);
export default connect(mapStateToProps)(Static);