Skip to content

Commit

Permalink
Adjust module import order
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamindehli committed Oct 31, 2020
1 parent e456366 commit 41a90ec
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 66 deletions.
7 changes: 2 additions & 5 deletions src/components/partials/EquipmentItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,17 @@ import {connect} from 'react-redux';
import PropTypes from 'prop-types';
import {Helmet} from 'react-helmet';


// Actions
import {getLanguageSlug} from 'actions/LanguageActions';

// Components
import Release from 'components/partials/Portfolio/Release';

// Template
import ExpansionPanel from 'components/template/ExpansionPanel';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import Release from 'components/partials/Portfolio/Release';

// Helpers
import {getInstrumentReleases} from 'helpers/instrumentReleases';
Expand Down
4 changes: 1 addition & 3 deletions src/components/partials/LatestPosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import React, {Component} from 'react';
import {connect} from 'react-redux';

// Components
import Post from 'components/partials/Post';

// Template
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Post from 'components/partials/Post';

// Data
import {latestPosts} from 'data/posts';
Expand Down
4 changes: 1 addition & 3 deletions src/components/partials/LatestProducts.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import React, {Component} from 'react';
import {connect} from 'react-redux';

// Components
import Product from 'components/partials/Product';

// Template
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Product from 'components/partials/Product';

// Helpers
import {convertToUrlFriendlyString} from 'helpers/urlFormatter'
Expand Down
4 changes: 1 addition & 3 deletions src/components/partials/LatestReleases.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ import React, {Component} from 'react';
import {connect} from 'react-redux';

// Components
import Release from 'components/partials/Portfolio/Release';

// Template
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Release from 'components/partials/Portfolio/Release';

// Data
import {latestReleases} from 'data/portfolio';
Expand Down
6 changes: 2 additions & 4 deletions src/components/partials/LatestVideos.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ import React, {Component} from 'react';
import {connect} from 'react-redux';

// Components
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Video from 'components/partials/Video';

// Helpers
import {convertToUrlFriendlyString} from 'helpers/urlFormatter'

// Template
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';

// Data
import {latestVideos} from 'data/videos';

Expand Down
8 changes: 3 additions & 5 deletions src/components/partials/Portfolio/Release.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ import {Helmet} from 'react-helmet';
import PropTypes from 'prop-types';

// Components
import ReleaseLinks from 'components/partials/Portfolio/ReleaseLinks';
import EquipmentItem from 'components/partials/EquipmentItem';

// Template
import ExpansionPanel from 'components/template/ExpansionPanel';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemContentBody from 'components/template/List/ListItem/ListItemContent/ListItemContentBody';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ReleaseLinks from 'components/partials/Portfolio/ReleaseLinks';

// Actions
import {fetchReleasesThumbnail} from 'actions/PortfolioActions';
Expand Down
8 changes: 3 additions & 5 deletions src/components/partials/Post.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ import {convertToUrlFriendlyString} from 'helpers/urlFormatter'

// Components
import Button from 'components/partials/Button';

// Template
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemActionButtons from 'components/template/List/ListItem/ListItemActionButtons';
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemContentBody from 'components/template/List/ListItem/ListItemContent/ListItemContentBody';
import ListItemActionButtons from 'components/template/List/ListItem/ListItemActionButtons';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';


class Post extends Component {
Expand Down
8 changes: 3 additions & 5 deletions src/components/partials/Product.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ import {convertToUrlFriendlyString} from 'helpers/urlFormatter'

// Components
import Button from 'components/partials/Button';

// Template
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemActionButtons from 'components/template/List/ListItem/ListItemActionButtons';
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemContentBody from 'components/template/List/ListItem/ListItemContent/ListItemContentBody';
import ListItemActionButtons from 'components/template/List/ListItem/ListItemActionButtons';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';


class Product extends Component {
Expand Down
6 changes: 3 additions & 3 deletions src/components/partials/SearchResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {getLanguageSlug} from 'actions/LanguageActions';
import {updateSearchResults} from 'actions/SearchResultsActions';

// Template
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
// Components
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemContentBody from 'components/template/List/ListItem/ListItemContent/ListItemContentBody';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';

// Stylesheets
import style from 'components/partials/SearchResult.module.scss';
Expand Down
8 changes: 4 additions & 4 deletions src/components/partials/Video.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import {getPrettyDate} from 'helpers/dateFormatter';
import {convertToUrlFriendlyString} from 'helpers/urlFormatter'
import {convertStringToExcerpt} from 'helpers/search';

// Template
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemVideo from 'components/template/List/ListItem/ListItemVideo';
// Components
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemContentBody from 'components/template/List/ListItem/ListItemContent/ListItemContentBody';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemVideo from 'components/template/List/ListItem/ListItemVideo';


class Video extends Component {
Expand Down
6 changes: 2 additions & 4 deletions src/components/routes/Equipment.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ import {Helmet} from 'react-helmet';
import { Redirect} from 'react-router-dom';

// Components
import EquipmentItem from 'components/partials/EquipmentItem';
import Breadcrumbs from 'components/partials/Breadcrumbs';

// Template
import Container from 'components/template/Container';
import EquipmentItem from 'components/partials/EquipmentItem';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import ListItemContent from 'components/template/List/ListItem/ListItemContent';
import ListItemContentHeader from 'components/template/List/ListItem/ListItemContent/ListItemContentHeader';
import ListItemThumbnail from 'components/template/List/ListItem/ListItemThumbnail';
import Modal from 'components/template/Modal';

// Actions
Expand Down
10 changes: 4 additions & 6 deletions src/components/routes/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ import {Link} from 'react-router-dom';
import {getLanguageSlug, updateMultilingualRoutes, updateSelectedLanguageKey} from 'actions/LanguageActions';

// Components
import IntroContent from 'components/partials/IntroContent';
import Button from 'components/partials/Button';
import SocialMediaLinks from 'components/partials/SocialMediaLinks';
import Container from 'components/template/Container';
import IntroContent from 'components/partials/IntroContent';
import LatestPosts from 'components/partials/LatestPosts';
import LatestVideos from 'components/partials/LatestVideos';
import LatestProducts from 'components/partials/LatestProducts';
import LatestReleases from 'components/partials/LatestReleases';

// Template
import Container from 'components/template/Container';
import LatestVideos from 'components/partials/LatestVideos';
import SocialMediaLinks from 'components/partials/SocialMediaLinks';

// Assets
import DehliMusikkLogo from 'assets/svg/DehliMusikkLogoInverse.svg'
Expand Down
4 changes: 1 addition & 3 deletions src/components/routes/Portfolio.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import {Helmet} from 'react-helmet';
import {Redirect} from 'react-router-dom';

// Components
import Release from 'components/partials/Portfolio/Release';
import Breadcrumbs from 'components/partials/Breadcrumbs';

// Template
import Container from 'components/template/Container';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Modal from 'components/template/Modal';
import Release from 'components/partials/Portfolio/Release';

// Actions
import { getLanguageSlug, updateMultilingualRoutes, updateSelectedLanguageKey } from 'actions/LanguageActions';
Expand Down
4 changes: 1 addition & 3 deletions src/components/routes/Posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import {Helmet} from 'react-helmet';
import {Redirect} from 'react-router-dom';

// Components
import Post from 'components/partials/Post';
import Breadcrumbs from 'components/partials/Breadcrumbs';

// Template
import Container from 'components/template/Container';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Modal from 'components/template/Modal';
import Post from 'components/partials/Post';

// Actions
import {getLanguageSlug, updateMultilingualRoutes, updateSelectedLanguageKey} from 'actions/LanguageActions';
Expand Down
4 changes: 1 addition & 3 deletions src/components/routes/Products.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import {Helmet} from 'react-helmet';
import {Redirect} from 'react-router-dom';

// Components
import Product from 'components/partials/Product';
import Breadcrumbs from 'components/partials/Breadcrumbs';

// Template
import Container from 'components/template/Container';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Modal from 'components/template/Modal';
import Product from 'components/partials/Product';

// Actions
import {getLanguageSlug, updateMultilingualRoutes, updateSelectedLanguageKey} from 'actions/LanguageActions';
Expand Down
5 changes: 1 addition & 4 deletions src/components/routes/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ import {Helmet} from 'react-helmet';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
import {Redirect} from 'react-router-dom';


// Components
import Breadcrumbs from 'components/partials/Breadcrumbs';
import SearchResult from 'components/partials/SearchResult';

// Template
import Container from 'components/template/Container';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import SearchResult from 'components/partials/SearchResult';

// Actions
import {getLanguageSlug, updateMultilingualRoutes, updateSelectedLanguageKey} from 'actions/LanguageActions';
Expand Down
4 changes: 1 addition & 3 deletions src/components/routes/Videos.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ import {Helmet} from 'react-helmet';
import {Redirect} from 'react-router-dom';

// Components
import Video from 'components/partials/Video';
import Breadcrumbs from 'components/partials/Breadcrumbs';

// Template
import Container from 'components/template/Container';
import List from 'components/template/List';
import ListItem from 'components/template/List/ListItem';
import Modal from 'components/template/Modal';
import Video from 'components/partials/Video';

// Actions
import {getLanguageSlug, updateMultilingualRoutes, updateSelectedLanguageKey} from 'actions/LanguageActions';
Expand Down

0 comments on commit 41a90ec

Please sign in to comment.