Skip to content

Commit 3841adf

Browse files
committed
chore: Comply to Vercel Open Source sponsorship [skip release] (nextauthjs#1087)
* added banner * Changed banner image allignment * changed location of banner again * added to acknowledgement * added to acknowledgement 1 * changed image size * k * l * s * s * . * added link to the banner in readme.md * fixed image redirect * fixed image allignment * made changes in readme and index.js * Changed the source of the banner image * added banner to the footer of the site
1 parent 844c629 commit 3841adf

File tree

4 files changed

+43
-47
lines changed

4 files changed

+43
-47
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,19 @@ export default function Component() {
140140
<a href="https://github.com/nextauthjs/next-auth/graphs/contributors">
141141
<img width="500px" src="https://contrib.rocks/image?repo=nextauthjs/next-auth" />
142142
</a>
143+
<div>
144+
<a href="https://vercel.com?utm_source=next-auth&utm_campaign=oss">
145+
<img width="170px" src="https://raw.githubusercontent.com/nextauthjs/next-auth/canary/www/static/img/powered-by-vercel.svg" alt="Powered By Vercel" />
146+
</a>
147+
</div>
148+
<div>
149+
<p align="left">Thanks to Vercel sponsoring this project by allowing it to be deployed for free for the entire NextAuth.js Team</p>
150+
</div>
143151

144152
## Contributing
145153

146154
We're open to all community contributions! If you'd like to contribute in any way, please first read our [Contributing Guide](https://github.com/nextauthjs/next-auth/blob/canary/CONTRIBUTING.md).
147155

148156
## License
149157

150-
ISC
158+
ISC

package-lock.json

Lines changed: 23 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

www/docusaurus.config.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,17 @@ module.exports = {
9696
{
9797
label: 'Images by unDraw',
9898
to: 'https://undraw.co/'
99-
}
99+
},
100+
{html: `
101+
<a target="_blank" rel="noopener noreferrer" href="https://vercel.com?utm_source=next-auth&utm_campaign=oss">
102+
<img
103+
alt="Powered by Vercel"
104+
style="margin-top: 8px"
105+
height="32"
106+
src="https://raw.githubusercontent.com/nextauthjs/next-auth/canary/www/static/img/powered-by-vercel.svg"
107+
/>
108+
</a>`
109+
}
100110
]
101111
}
102112
],

www/src/pages/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ function Home () {
183183
</section>
184184
<div className='home-subtitle'>
185185
<p>NextAuth.js is an open source community project.</p>
186-
<p>NextAuth.js is not affiliated with Vercel or Next.js</p>
187186
</div>
188187
</main>
189188
</div>

0 commit comments

Comments
 (0)