Skip to content

Commit

Permalink
Add demo URL for the DatoCMS example (#10901)
Browse files Browse the repository at this point in the history
  • Loading branch information
chibicode authored Mar 9, 2020
1 parent fd3256f commit 745494a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/advanced-features/preview-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ https://<your-site>/api/preview?secret=<token>&slug=<path>

Take a look at the following examples to learn more:

- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms)
- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) ([Demo](https://next-blog-datocms.now.sh/))

## More Details

Expand Down
2 changes: 1 addition & 1 deletion docs/basic-features/data-fetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ function Profile() {

Take a look at the following examples to learn more:

- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms)
- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) ([Demo](https://next-blog-datocms.now.sh/))

## Learn more

Expand Down
2 changes: 1 addition & 1 deletion docs/basic-features/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ We've discussed two forms of pre-rendering for Next.js.

Take a look at the following examples to learn more:

- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms)
- [DatoCMS Example](https://github.com/zeit/next.js/tree/canary/examples/cms-datocms) ([Demo](https://next-blog-datocms.now.sh/))

## Learn more

Expand Down
4 changes: 4 additions & 0 deletions examples/cms-datocms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This example showcases Next.js's [Static Generation](/docs/basic-features/pages.md) feature using [DatoCMS](https://www.datocms.com/) as the data source.

## Demo

### [https://next-blog-datocms.now.sh/](https://next-blog-datocms.now.sh/)

## How to use

### Using `create-next-app`
Expand Down

0 comments on commit 745494a

Please sign in to comment.