Skip to content

Comply to Vercel Open Source sponsorship #1035

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

Closed
balazsorban44 opened this issue Jan 3, 2021 · 10 comments · Fixed by #1087
Closed

Comply to Vercel Open Source sponsorship #1035

balazsorban44 opened this issue Jan 3, 2021 · 10 comments · Fixed by #1087
Assignees
Labels
docs Relates to documentation good first issue Good issue to take for first time contributors

Comments

@balazsorban44
Copy link
Member

balazsorban44 commented Jan 3, 2021

Summary of proposed feature

  • A Vercel banner in the footer of each site page.
  • A Vercel banner in the source repository's README.md file.
  • All links back to Vercel should use a UTM tag with the format: ?utm_source=[team-name]&utm_campaign=oss

See the full list of criteria:
https://vercel.com/knowledge/can-vercel-sponsor-my-open-source-project

Purpose of proposed feature

We could make sure that everyone in our core team has access to the Vercel dashboard.

Additional context
You can find the banner here.

@balazsorban44 balazsorban44 added docs Relates to documentation good first issue Good issue to take for first time contributors labels Jan 3, 2021
@suraj10k
Copy link
Contributor

suraj10k commented Jan 4, 2021

Hey can I get assigned this issue?

@balazsorban44
Copy link
Member Author

Yes, it's yours! 😊

@suraj10k
Copy link
Contributor

suraj10k commented Jan 5, 2021

where exactly in the readme.md file do you want the Vercel banner?

@balazsorban44
Copy link
Member Author

balazsorban44 commented Jan 5, 2021

I guess we could add it to the Acknowledgements section, with some text:

"Thanks to Vercel sponsoring this project by allowing it to be deployed for free for the entire NextAuth.js Team."

Or something similar. Not sure about the wording

@balazsorban44
Copy link
Member Author

@suraj10k Do you have any information on your progress? 🙂 Do you need further assistance?

@suraj10k
Copy link
Contributor

suraj10k commented Jan 11, 2021

hey sorry i was a little busy due to exams. i have added the banner to the readme file . with the provided text, would you like the Vercel banner to lead to any specific website?, also i would really appreciate it if you could help me locate the files for the site pages ,where i need to add the banner to the footer

@balazsorban44
Copy link
Member Author

balazsorban44 commented Jan 11, 2021

@suraj10k understandable! Thanks for getting back to this.

All links back to Vercel should use a UTM tag with the format: ?utm_source=[team-name]&utm_campaign=oss

I guess we could link the user to https://vercel.com?utm_source=next-auth&utm_campaign=oss

Could you open a PR on this already? It doesn't have to be finished, it would just make it easier to track your progess, and move this conversation directly to the PR itself. 🙂

Regarding on how to add the banner to the footer, have a look this documentation: https://v2.docusaurus.io/docs/api/themes/configuration/#footer-links

Here is a possible way to add this to the footer:

<a target="_blank" rel="noopener noreferrer" href="https://vercel.com?utm_source=next-auth&utm_campaign=oss">
  <img
    alt="Powered by Vercel"
    style="margin-top: 8px"
    height="32"
    src="https://raw.githubusercontent.com/nextauthjs/next-auth/canary/www/static/img/powered-by-vercel.svg"
  />
</a>

And it would look like this:
image

@suraj10k
Copy link
Contributor

ok i opened a PR

@github-actions
Copy link

🎉 This issue has been resolved in version 3.2.0-canary.24 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Feb 1, 2021

🎉 This issue has been resolved in version 3.3.0-canary.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Relates to documentation good first issue Good issue to take for first time contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants