Joe Haddad
f17d435166
Ensure all examples are MIT licensed ( #16691 )
2020-08-29 22:32:35 -04:00
Greg Rickaby
58c7265ba0
Update DatoCMS Example ( #13008 )
...
👋🏻 This PR updates the Datocms example:
- [x] Next.js 9.4 absolute import and aliases support
- [x] Next.js 9.4 native `.env` support
- [x] Tailwind 1.4 native PurgeCSS support
- [x] Chore: bump other dependencies, like React, Remark, and DateFNS
I've tested this PR here:
- 💻 https://github.com/gregrickaby/datocms-next-js-blog-demo-2392
- 👀 https://datocms-next-js-blog-demo-2392.now.sh/
2020-05-19 23:13:35 +00:00
Willian Justen
18dc1f66c6
Remove isomorphic-unfetch
from examples ( #12948 )
...
Since 9.4 release, fetch is pollyfilled by default from #12353 ,
so the import is not needed anymore.
2020-05-15 22:23:55 +02:00
Shu Uesugi
a63ac3e715
CMS TakeShape Example ( #11038 )
...
* TakeShape Example
* Fix preview logic
* Update README
* Fix broken link
* Be more clear with the relationship field
* Use latest next.js for cms examples
* Only show enabled items
* Ignore current slug
* Fix queries
* Add takeshape demo
* Added link to blog-starter
Co-authored-by: Luis Alvarez D <luis@zeit.co>
2020-03-19 17:30:37 -05:00
Shu Uesugi
b596c2167d
Upgrade next.js version on datocms example ( #11039 )
...
* Remove unused files
* Update next
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-03-13 15:03:29 -04:00
Shu Uesugi
bf0ea49b02
DatoCMS Example ( #10891 )
...
* Copy cms-datocms
* Update package.json
* Desktop design
* Tablet support
* Mobile styles
* Update titles
* Add article page
* Minor tweaks
* Fix height issue
* Improve text colors
* Extract Alert and Footer components
* Extract avatar
* Add Date
* Extract container
* Fix capitalization
* Make it work with no backend
* Add paragraph styles
* Extract PostPreview
* Extract h2
* Extract more stories
* Refactor into more components
* Update tags
* Add missing key
* Add custom document for lang="" support
* Add dotenv
* Load data for the index page
* Limit posts
* Show post page
* Add markdown processing
* Forgot margin
* Add links
* Remove files and add fallback
* Add og:image
* Add favicon
* Add aria-label
* Fix prerender
* Learn more → read documentation
* Fix links and footer
* Desaturate using imgix
* Add preview secret
* Add preview support
* Fix preview code
* Exit preview mode
* Extract getAllPostsWithSlug
* Extract getAllPostsForHome
* Extract getPreviewPostBySlug
* Extract getPostAndMorePosts
* Extract constants
* Extract markdownToHtml
* Fix markdown styles
* Fix imgix for author
* Add README
* Add links to docs
2020-03-09 11:51:08 +01:00