Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to @prismicio/client and docs to make theme command launch with content #25

Merged
merged 6 commits into from
Feb 22, 2021

Conversation

pvpg
Copy link
Contributor

@pvpg pvpg commented Jan 21, 2021

  • Added documents for the theme command
  • Changed the README and package.json description/info
  • Updated prismic-javascript to @prismicio/client
  • Updated toolbar script

@pvpg pvpg changed the title Updated to @prismicio/client Updated to @prismicio/client and added docs for theme command Feb 5, 2021
@pvpg pvpg changed the title Updated to @prismicio/client and added docs for theme command Updated to @prismicio/client and docs to make theme command launch with content Feb 6, 2021
README.md Outdated
@@ -1,42 +1,39 @@
# Prismic Next.js Blog Site Example
> [Next.js](https://nextjs.org/) example blog project with content managed in [Prismic](https://prismic.io)
# Prismic & NextJS Example Blog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's "Next.js", not "NextJS".

Copy link
Contributor

@levimykel levimykel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PaulinaVPG I left a couple of comments here. And it appears that there is a conflict that needs to be fixed before this can be merged.

README.md Outdated

This software is licensed under the Apache 2 license, quoted below.

Copyright 2019 Prismic (https:https://prismic.io).
Copyright 2021 [Prismic](http:https://prismic.io).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use https for the Prismic site

@@ -3,7 +3,7 @@ import { apiEndpoint } from 'prismic-configuration'
const PrismicScript = () => {
const [, repoName] = apiEndpoint.match(/https?:\/\/([^.]+)?\.(cdn\.)?.+/);
return (
<script async defer src={`"https://static.cdn.prismic.io/prismic.min.js?repo=${repoName}&new=true"`} />
<script async defer src={`"https://static.cdn.prismic.io/prismic.js?new=true&repo=${repoName}"`}></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use a self closing tag if there are no children in JSX: />

@phillysnow phillysnow merged commit d80410e into prismicio-community:master Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants