Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shazam top tracks #79

Merged
merged 5 commits into from
Oct 7, 2022
Merged

Shazam top tracks #79

merged 5 commits into from
Oct 7, 2022

Conversation

Aadarsh805
Copy link
Collaborator

No description provided.

@Aadarsh805 Aadarsh805 added this to the finish explore page milestone Oct 7, 2022
@Aadarsh805 Aadarsh805 requested a review from Aman-Mandal October 7, 2022 15:53
@Aadarsh805 Aadarsh805 self-assigned this Oct 7, 2022
@Aadarsh805 Aadarsh805 linked an issue Oct 7, 2022 that may be closed by this pull request
url: 'https://shazam.p.rapidapi.com/charts/track',
params: { pageSize: '5', startFrom: '0' },
headers: {
'X-RapidAPI-Key': '0ac7392c46msha4f3dfc287416ffp189c80jsnd7cf096105d4',
Copy link
Owner

Choose a reason for hiding this comment

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

Hide the API key in a .env file

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

did

@@ -47,8 +47,8 @@ const TopCharts = ({ topCharts }) => {
<Image
src={chart?.images.coverart}
alt={chart?.title}
width={16}
height={16}
width='100%'
Copy link
Owner

Choose a reason for hiding this comment

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

Instead of width & height 100% we can use the layout="fill" and set the parent container "relative"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Instead of width & height 100% we can use the layout="fill" and set the parent container "relative"

you should have changed it while merging, I'll change it in next commit

@Aman-Mandal Aman-Mandal added hacktoberfest Issue or feature for hactoberfest hacktoberfest-accepted hacktober accepted label labels Oct 7, 2022
@Aman-Mandal Aman-Mandal merged commit e9ae416 into Main Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issue or feature for hactoberfest hacktoberfest-accepted hacktober accepted label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement dynamic data fetch from Shazam Api
2 participants