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

Thank you page addition #104

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

Conversation

pratyushtiwary
Copy link
Contributor

Changes

  • Added thank you page,
  • Added custom vite plugin which automatically generates a dependencies list for the thank you page

How does this work?

The vite plugin goes through each file inside src and looks for imports made, then it filters the imports based on package.json. After the list of dependencies is generated the plugin uses NPM Registry to fetch package information.

Screenshots

image

image

@pratyushtiwary
Copy link
Contributor Author

Solves #101

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is how this file is working:

  1. Go through files inside src and look for the import statements made,
  2. Filter out only those dependencies which are in package.json,
  3. Fetch data about each dependency from npm registry,
  4. Create a new file and save the data.

Comment on lines +120 to +123
#large-devices {
position: sticky;
top: 0;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will make the sidebar always appear on the side, even when user scrolls.

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.

1 participant