Zain Fathoni
|
77a2eeb194
|
Fix an error in Kontent CMS example caused by a file name typo (#20863)
![image](https://user-images.githubusercontent.com/6315466/103914132-57f17500-5144-11eb-9a21-ff27bea14f29.png)
|
2021-01-07 16:18:01 +00: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 |
|
Ondřej Chrastina
|
0f5db2a583
|
Fix link to developer plan in Kontent example (#19265)
|
2020-11-18 12:07:56 +01:00 |
|
Fran Zekan
|
0f41062db0
|
Examples blogs: fix spelling (#17049)
Throughout some of the blog examples word `formatter` is spelled as `formater`, this PR changes all of them to `formatter`
|
2020-09-13 13:06: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 |
|
Ondřej Chrastina
|
a856097402
|
Add Kontent example (#16034)
Hello everyone!
I would like to add the example using [Kentico Kontent](https://kontent.ai) as a data source for your example.
I have tried to be consistent with the other examples and showcase the preview as well.
I have tried to keep up with [Contribution guidelines](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples).
Thank you.
|
2020-08-24 22:58:53 +00:00 |
|