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

Additional example using Nextjs and Vanillajs #2

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

parrott-kevin
Copy link

Nextjs

  • User now has the option to try both implicit and auth code flows for login
  • Switch from imported css to styled components
  • Typescript

Vanillajs

  • Implicit flow
  • npm / node is only used to serve the project otherwise this is free of dependencies

@parrott-kevin parrott-kevin marked this pull request as ready for review May 6, 2022 16:53
setInfo(info) {
const cover = document.getElementById('np-cover');
cover.setAttribute('src', info.album.images[0].url);
cover.setAttribute('alt', `cover art for ${info.album.name}`);

Choose a reason for hiding this comment

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

Thanks for the tag @Act0fKindness

Copy link

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

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

Really appreciate being roped in on this project. I have no experience with NextJS, so I didn't review anything there, but from what I saw with the vanilla JS version, the codebase looks clean and functional. I'd love to contribute testing, where necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants