Luis Alvarez D
|
e28fd50441
|
Include utm_source on example links to vercel.com (#21305)
|
2021-01-19 07:28:54 +00:00 |
|
Luc Leray
|
b442acbe1c
|
Replace zeit/next.js with vercel/next.js (#20849)
|
2021-01-07 08:41:04 -05:00 |
|
Luc Leray
|
8eaabe2fb0
|
Fix deploy buttons URLs (#20834)
Fix all deploy button URLs in the Next.js repo to follow the following format:
```
https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/<EXAMPLE_NAME>&project-name=<EXAMPLE_NAME>&repository-name=<EXAMPLE_NAME>
```
The detailed docs for the Deploy Button can be found here: https://vercel.com/docs/more/deploy-button.
Also updates legacy Vercel import flow URLs (starting with vercel.com/import or with vercel.com/new/project), to use the new vercel.com/new URLs.
---
For example, for the `hello-world` example:
The URL is https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world
And the deploy button looks like this:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world)
---
For reference, I used the following regexes to search for the incorrect URLs
```
\(https://vercel.com/import/git\?s=https://github.com/vercel/next.js/tree/canary/examples/(.*)\)
\(https://vercel.com/import/git\?c=1&s=https://github.com/vercel/next.js/tree/canary/examples/([^&]*)(.*)\)
\(https://vercel.com/import/project\?template=https://github.com/vercel/next.js/tree/canary/examples/(.*)\)
https://vercel.com/import/git
https://vercel.com/import/select-scope
https://vercel.com/import
https://vercel.com/new/project
```
|
2021-01-07 01:40:29 +00:00 |
|
Joe Haddad
|
f17d435166
|
Ensure all examples are MIT licensed (#16691)
|
2020-08-29 22:32:35 -04:00 |
|
NorbertLuszkiewicz
|
c03d4931de
|
Simplify example usage instructions (#16678)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
|
2020-08-29 22:22:02 -04:00 |
|
Tanmay Laud
|
f00ad581a1
|
Added .gitignore to examples that are deployed to vercel (#15127)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
|
2020-07-16 10:52:23 -04:00 |
|
Alexej Dyschelmann
|
6163f30ad8
|
[with-recoil example] use functional form of state updaters for simplicity (#14014)
This is probably a pretty subjective change, but one might argue it less complex and may have minimally less overhead.
|
2020-06-13 09:04:34 +00:00 |
|
Wilbert Abreu
|
d3f0aee0ee
|
Adding Example: with-recoil (#13380)
Co-authored-by: Wilbert Abreu <wilbert.a.abreu@aexp.com>
Co-authored-by: Luis Alvarez <luis@vercel.com>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
|
2020-06-08 21:33:08 -04:00 |
|