Skip to content

Commit 7f7d5c6

Browse files
committed
Restructure directory
1 parent a24cb08 commit 7f7d5c6

File tree

11 files changed

+25
-150
lines changed

11 files changed

+25
-150
lines changed

pull_request_template.md

Lines changed: 0 additions & 8 deletions
This file was deleted.
File renamed without changes.

src/assets/datasets/backupImages.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import cowbell1 from '../images/more-cowbells/cowbell1.jpeg';
2+
import cowbell2 from '../images/more-cowbells/cowbell2.jpeg';
3+
import cowbell3 from '../images/more-cowbells/cowbell3.jpeg';
4+
import cowbell4 from '../images/more-cowbells/cowbell4.jpeg';
5+
import cowbell5 from '../images/more-cowbells/cowbell5.jpeg';
6+
import cowbell6 from '../images/more-cowbells/cowbell6.jpeg';
7+
import cowbell7 from '../images/more-cowbells/cowbell7.jpeg';
8+
9+
const backupImages = [
10+
cowbell1,
11+
cowbell2,
12+
cowbell3,
13+
cowbell4,
14+
cowbell5,
15+
cowbell6,
16+
cowbell7
17+
];
18+
19+
export default backupImages;
File renamed without changes.

src/components/ArtistInfo/ArtistInfo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useSelector, useDispatch } from 'react-redux';
33
import { info } from '../../actions';
44
import { getArtistInfo} from '../../utilities/apiCalls';
55
import utils from '../../utilities/utils';
6-
import artistImageData from '../../utilities/artistsDataset';
6+
import artistImageData from '../../assets/datasets/artistImages';
77
import concert from '../../assets/images/concert-stock-photo.jpeg';
88

99
const ArtistInfo = ({ id }) => {
@@ -39,7 +39,7 @@ const ArtistInfo = ({ id }) => {
3939
}
4040

4141
return (
42-
!artistInfo.name ?
42+
!artistInfo ?
4343
<section className='message-box'>
4444
<p className='message'>Page Loading</p>
4545
</section>

src/components/NavBar/NavBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useSelector } from 'react-redux';
33
import SearchBar from '../SearchBar/SearchBar'
44
import Dropdown from '../Dropdown/Dropdown'
55
import utils from '../../utilities/utils';
6-
import countries from '../../utilities/countries';
6+
import countries from '../../assets/datasets/countries';
77

88
const NavBar = () => {
99

src/components/TopArtists/TopArtists.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { Link } from 'react-router-dom';
44
import { artists, images, info } from '../../actions';
55
import { getTopArtists } from '../../utilities/apiCalls';
66
import utils from '../../utilities/utils';
7-
import artistImageData from '../../utilities/artistsDataset';
8-
import backupImages from '../../utilities/backupImages';
7+
import artistImageData from '../../assets/datasets/artistImages';
8+
import backupImages from '../../assets/datasets/backupImages';
99

1010
const TopArtists = () => {
1111

src/documents/DTR

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/documents/spikeCode.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/utilities/backupImages.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)